brandner
22nd December 2003 21:32 UTC
Multiple programs, similar installers
Have some trouble wrapping my mind around these installs.
I have 240+ products, and all of them use a similar installer .nsi script. When I test installing more than one on a machine, there are a few problems. The biggest problem is that uninstalling one affects the other.
As well, after installing the first program, the default installation location for every install after defaults to the first.
I suspect that it could be due to a shared registry value, but I'm having trouble pinpointing it.
Has anyone had similar problems? Care to share ideas or solutions?
Thanks,
Tony
Joost Verburg
22nd December 2003 21:39 UTC
This setting doesn't seem to be correct:
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\makensis.exe"
brandner
23rd December 2003 00:59 UTC
Interesting... that's what HM NIS Edit suggested.
What would be a common format for that line?
What's wrong with it?
Tony
Vytautas
23rd December 2003 02:18 UTC
That define is used as the location where NSIS stores the program path for future reference, e.g. when reinstalling/uninstalling the program.
Therefore you should set a different value for each program, e.g. change makesis.exe to the name of you application.
You could also cahnge the 'App Paths' to the name of your company or you can even specify any registry path you wish.
Vytautas ;)
brandner
23rd December 2003 21:03 UTC
Thanks Vytautas!
:)
Tony