Archive: Options in Installer


Options in Installer
I know this may be a completely noobish question but...well...I am one when it comes to NSIS :) I really don't have much idea what I'm doing. Anyway, I was wandering if someone could help me make multiple options in a skin installer?

I need it to look like the installer here, although obviously with my own colour options rather than what they have.

I've attached the .nsi script file. I need it to always run the "#### Run ####" section, as well as running the "ExecWait '"$INSTDIR\ResHacker.exe" -script exe.dat'" line another time, each with a different .dat file, depending on which colour people chose in the options.

As I said, I know this might be a complete idiots question, but treat me as if I am one. :)


Use a custom InstallOptions page to let the user choose the color. Take a look at Examples\InstallOptions and Examples\Modern UI\InstallOptions.nsi for usage examples. There are also some examples in the website.