Archive: Changing up a directory


Changing up a directory
I have a small app that gets distributed in a folder along with another app.

The main App (not compiled by me) once installed will call all exe's in a subdirectory called Plugins, where my mini app resides.

The problem is, when I launch the mini app I want the setup to be completely silent, AND install itself into the main app directory (up one directory from $EXEDIR ).

Does anyone know how this can be done?

Thanks for your help. BTW, this installer rocks!! I cant believe how easy and small it is...nice one!


So instead of "C:\Program Files\Main App\Plugins" you want to have "C:\Program Files\Main App".
Use the function GetParent from functions.htm in your NSIS dir.

-Hendri.


Originally posted by Smile2Me
So instead of "C:\Program Files\Main App\Plugins" you want to have "C:\Program Files\Main App".
Use the function GetParent from functions.htm in your NSIS dir.

-Hendri.
Thanks Hendri, I'll give it a go!