View Full Version : newbie: how to ask for multiple install dirs?
5th May 2002, 22:04
I dont seem to find a way of asking the user several times to give a directory.
I am writing an installer which installs plugins for several applications at once, and i want the user to be able to specify each location separatly, but i only see 1 installdir call.
Is this a limitation of the installer or can i do it?
6th May 2002, 05:07
You can use InstallOptions that comes with NSIS to ask a user for another Install dir.. I currently use this for one of my installers cause it also installs plugins for other programs.. Take a look at the docs for InstallOptions in the Contrib dir to learn how to use it.. Really easy..
8th May 2002, 23:18
Or, you can create a different installer for a different set of plugins. Like:
;normal installation stuff here
Section "MyApp main program"
Section "Mozilla Plugs"
ExecWait "open" $INSTDIR\mozplug-myapp.exe
Section "Internet Explorer Plugs"
ExecWait "open" $INSTDIR\ie-myapp.exe
Section "Opera Plugs"
ExecWait "open" opera-inst.exe
That way, the installation can many different install dirs. Also, remember to disable to need for a license because you have given them the ablity to it read before they installed your program.
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.