Archive: InstallDir Ignored?


InstallDir Ignored?
I copied an existing and working NSI file to use as a basis for an installation for a new product. Everything seems to be working fine except that I can't change the default installation directory.

Originally, it appeared something like this:

InstallDir "$PROGRAMFILES\MyApp"

And I changed it to this:

InstallDir "$PROGRAMFILES\MyApp FREE EDITION"

But it still defaults to the old directory.

Any ideas?

Thanks!

Jonathan


Installer first checks InstallDirRegKey (NSIS User manual 4.8.1.22)