Surfboy
1st August 2003 09:53 UTC
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.
Sunjammer
1st August 2003 13:16 UTC
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 ;)
Afrow UK
1st August 2003 13:29 UTC
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