Archive: Command Line Arguments


Command Line Arguments
Is there a way to parse command line arguments for the setup itself?

Meaning, if i have setup.exe /secret

it will do something else.

mainly the software i distribute to people and the software i use in house is the same. but for internal purposes i like to skip the eula stuff, etc.


$CMDLINE contains the command line. Use one of the following for parsing.

http://nsis.sourceforge.net/Category...Line_Functions
http://nsis.sourceforge.net/Docs/AppendixE.html#E.1.11
http://nsis.sourceforge.net/Docs/AppendixE.html#E.1.12