Archive: Automated testing


Automated testing
NSIS Developers,

Finally have installer creation integrated with our predominently UNIX based nightly build environment.

Great work, great tool, love it.

One request though... Is it / will it be possible in the future, to install the installer from the command line specifying the sections to install. This would be truly fantastic because then we can test the install product with our nightly automated test scripts.


You can pass arguments to the installer and then parse them in the script and enable/disable the sections accordingly. I think this will work, someone more knowledgable will no doubt correct me if not ;)


You can use the GetParameters function on the NSIS Archive, and then use different String Manipulation functions to get each chunk of command-line parameters, and you can enable/disable sections using the code on my post in this topic.

-Stu