Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Automated testing (http://forums.winamp.com/showthread.php?t=144331)

Surfboy 1st August 2003 08:53

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 12:16

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 12:29

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


All times are GMT. The time now is 18:06.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.