View Single Post
Old 19th January 2011, 15:33   #6
Junior Member
Join Date: Jan 2010
Posts: 39
Originally Posted by 820815 View Post
use the /argument=1 then StrCmp $R0 1
My flag name is argument1, but that doesn't mean I'm parsing the last 1 from the argument.
Maybe I have choosed a bad name for the argument.

My point is that if you want to have just a flag to be passed as the argument, when you pass as argument a string that begins with your flag the NSIS will consider the flag present it's like the argument you are passing is somehow truncated.

isawen is offline   Reply With Quote