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?