I am a little bit confused.
After my setup dialog I will check which setup type was selected. But if someone clicks on "Complete" the first message box after the dialog shows correct
"var minumum is false, var complete is true.."
But then it will never go to the
if Variable COMPLETE Equals True section
The message box "MessageBox: Complete, complete ist $COMPLETE$ " will be never shown.
It is always Minimum.
Why that?
Code: Select all
label: Setup Type
Set Variable MINIMUM to True
Set Variable COMPLETE to False
Set Variable PERSONALIZED to False
Display Dialog: setuptype, wait for dialog to return (modal)
if Variable WIZARD Equals BACK
GoTo Label: ReadMe Information
else
if Variable WIZARD Equals CANCEL
GoTo Label: Main Install
end
end
MessageBox: Der setup type, Die var minimum is $MINIMUM$$NEWLINE$$NEWLINE$Die var complete is $COMPLETE$$NEWLINE$$NEWLINE$Die var personalized is $PERSONALIZED$
if Variable MINIMUM Equals True
Set Variable QSETUPTYPE to MINIMUM
MessageBox: Minimum, minimum ist $MINIMUM$ und setup type ist $QSETUPTYPE$
end
if Variable COMPLETE Equals True
Set Variable QSETUPTYPE to COMPLETE
MessageBox: Complete, complete ist $COMPLETE$ und setup type ist $QSETUPTYPE$ //NEVER COMES TO THIS
end
if Variable PERSONALIZED Equals True
Set Variable QSETUPTYPE to PERSONALIZED
end
thanks a lot for help
kind regards
Hans