Announcement

Collapse
No announcement yet.

newbie question about dialogbox

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • newbie question about dialogbox

    Hi,

    Maybe a stupid question but i hope that
    someone can help me out.

    I have added a "yes/no" dialog box. The purpose is that when a user clicks on yes a
    programme will be installed and this works
    fine, but when the user clicks on no,
    the programma is going to be installed too.
    What must i do to make sure that the
    program will not be installed when the user
    clicks on the no button of the "yes/no"
    dialogue box ?

  • #2
    Re: newbie question about dialogbox

    Hi,
    The main concept to remember when dealing with YES/NO dialog boxes is that they are used to set a variable. So if the user selects "yes" the variable is set to 'YES' and if the user selects "no" the variable is set to 'NO'. The default name of this variable is %MyVar%.
    So basically what you have to do is set up Boolean conditions based upon the users selection. So in your case you would give the EXECUTE PROGRAM action the Boolean condition: "%MyVar% = YES". Which means that the EXECUTE PROGRAM action will only occur if %MyVar% equals yes, which will only happen if the user selects "yes". So if the user selects "no" then the program will not be executed.

    mark.
    MSI Factory The Next Generation Intelligent Setup Builder

    Comment


    • #3
      Re: newbie question about dialogbox

      Thanks, it works !!!

      cu

      edto

      Comment

      Working...
      X