Archive: Install dir


Install dir
Hi,

I have made a small installer nsi file which basically extracts a dll and then registers it. The install folder is right now set to $PROGRAMFILES etc. This is causing some security problems in some of the computers in my office because users dont have permission to create/write in the Program files folder. I am trying to change the InstallDir folder to something like "c:\tempo\" or $WIN etc but in all cases it defaults to c:\program files\myapp . Any clues? I even tried using DefaultDir, but I don't think NSIS 1.8 supports that anymore. What else can I do?

Thanks


InstallDir "C:\MyApp"

From the docs...

-Hendri.