|
|
|
|
#1 |
|
Junior Member
Join Date: Jul 2003
Posts: 6
|
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. |
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Jun 2002
Location: Swindon, UK
Posts: 559
|
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
|
|
|
|
|
|
#3 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
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 |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|