Archive: My install.exe is caching install directory from somewhere


My install.exe is caching install directory from somewhere
Hi,
I've an install file that is caching the install directory from somewhere while I've this in my script:
InstallDir "$PROGRAMFILES\my program"

At the page to choose installation directory, another path is seleted by default. This path is a path I've used in
other program.

It also happens whith the shortcuts of programs menu.

¿Any help?

Thanks


Do you use the InstallDirRegKey command? If so, comment it out and recompile the installer.

-dandaman32


Yes I use it
Yes I use it, but the value of the key used with InstallDirRegKey isn`t the same the installer is showing. May be doesn't work correctly if the key doesn't exists.

Thanks


Or maybe your not showing the rest of the code as I told you on the spanish forums.

InstallDirRegKey works ok and either, you are using wrong registry path or you are not using it well...