Archive: odd problem with installdir


odd problem with installdir
Hi,
I have been using NSIS for quite a while now and it has been working wonderfully. However today I found out that on some computers something strange happens.
On most computers, including my own, when I am prompted for the destination folder, I get "C:\Program Files\My application name v6", which is correct; on other computer, I end up with some other, completely random paths, as "C:\Program Files\SigmaTel\C-Major Audio" for example.
installdir is setup as

InstallDir"$PROGRAMFILES\\Myapplicationnamev6"

in the script, so I do not understand where is the random path name coming from.
Any idea?
Thanks in advance for your help, much appreciated.
Maurizio

Did you use InstallDirRegKey to retrieve the path of previous installation?


InstallDirRegKey in my script is set as

InstallDirRegKeyHKLM"${PRODUCT_DIR_REGKEY}"""

am i missing something?
this happens on computers which have never seen my application...so there is no previous installation path.

*runs to read docs on InstallDirRegKey*

Check the iffy computer to find out whether there is a regkey conflicts with your ${PRODUCT_DIR_REGKEY}.