Old 1st August 2003, 08:53   #1
Surfboy
Junior Member
 
Join Date: Jul 2003
Posts: 6
Thumbs up 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.
Surfboy is offline   Reply With Quote
Old 1st August 2003, 12:16   #2
Sunjammer
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
Sunjammer is offline   Reply With Quote
Old 1st August 2003, 12:29   #3
Afrow UK
Moderator
 
Afrow UK's Avatar
 
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
Afrow UK is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump