Hello,

Can anyone give me a fast explanation? I am confused as how to pass command
line references in SB5.

If I put:

If %FROMINSTALLER% Equals "1" Then
Set Installer Flag $SB_REMOVEINSTALLER$ to 1
End


It won't compile saying I have to Declare the Variable.

The only way I know how to Declare a Variable in Setup Builder is to use the
"Set Variable".

Well, when I do that ... I delcare it as "0" so all it does it must be
overriding my passed command line 1 to a 0.

I am using:

myprogram.exe /V FROMINSTALLER 1

When I run it, it's always zero. How do you declare a variable so the
script compiles, but not overwrite the variable that is coming in from the
command line?

Seems like a catch-22 to me.

I must be missing the obvious

-Robert