Old 22nd November 2005, 16:26   #1
raistlink
Guest
 
Posts: n/a
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
  Reply With Quote
Old 22nd November 2005, 16:54   #2
dandaman32
Senior Member
 
dandaman32's Avatar
 
Join Date: Jan 2005
Location: Look behind you.
Posts: 209
Do you use the InstallDirRegKey command? If so, comment it out and recompile the installer.

-dandaman32

ExperienceUI for NSIS | Latest project: Enano CMS
Do not PM me on the Winamp forums, I hardly ever check my messages here; you are more likely to get my attention through the ExperienceUI forum.
dandaman32 is offline   Reply With Quote
Old 23rd November 2005, 09:29   #3
raistlink
Guest
 
Posts: n/a
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
  Reply With Quote
Old 23rd November 2005, 17:51   #4
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
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...


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump