Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   My install.exe is caching install directory from somewhere (http://forums.winamp.com/showthread.php?t=231668)

raistlink 22nd November 2005 15:26

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 15:54

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

-dandaman32

raistlink 23rd November 2005 08:29

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 16:51

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...


All times are GMT. The time now is 05:17.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.