Strange behavior with setup type

Got a problem you cannot solve? Try here.
QooScho
Posts: 152
Joined: Fri Apr 15, 2011 1:02 am

Strange behavior with setup type

Postby QooScho » Fri Dec 21, 2012 6:45 am

Hello,
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

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Strange behavior with setup type

Postby FrancescoT » Fri Dec 21, 2012 11:32 am

Dear Hans,

by your code I am not able to find out what really happens on your site.

Could you please post the code in IA clipboard format? or post a minimal sample.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 101 guests