Comparison with exit code 0 does not work

Got a problem you cannot solve? Try here.
thohoff
Posts: 2
Joined: Wed Jan 13, 2010 10:23 am

Comparison with exit code 0 does not work

Postby thohoff » Wed Jan 13, 2010 10:40 am

My script code is the following:

Code: Select all

Set Variable SUCCESS_ADDIN to 1
Run Program $TARGETDIR$\\Setup-NitOutlookToDocuWare\\setup.exe /q (WAIT, get result into variable SUCCESS_ADDIN)
if Variable SUCCESS_ADDIN Equals 0
   MessageBox: $TITLE$, SUCCESS_ADDIN is Zero
else
   MessageBox: $TITLE$, SUCCESS_ADDIN is not Zero
end


The if statement never enters the IF block but always enters the ELSE block, though the Setup exit code seems to be zero. What can I do?

Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 49 guests