raistlink
22nd November 2005 16:26 UTC
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
dandaman32
22nd November 2005 16:54 UTC
Do you use the InstallDirRegKey command? If so, comment it out and recompile the installer.
-dandaman32
raistlink
23rd November 2005 09:29 UTC
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
Joel
23rd November 2005 17:51 UTC
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...