Prev Previous Post   Next Post Next
Old 19th January 2011, 11:20   #1
isawen
Junior Member
 
Join Date: Jan 2010
Posts: 39
Setup with a single command line argument

Hi again,

Probably this is how the actual ${GetOption} command works, but I wanted to be sure.
Let's assume my installer parses the command line arguments passed when executed and it searches for this flag option "/argument1".

code:

ClearErrors
${GetOptions} $cmdLineParams '/argument1' $R0
IfErrors +2 0



If I execute the installer and pass the /argument1234 it detects that /argument1 was passed. Is there a way to avoid this situation?

Thanks,
Isa

isawen is offline   Reply With Quote
 
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