+ Reply to Thread
Results 1 to 6 of 6

Thread: Overview of Dialog Wizard

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Overview of Dialog Wizard

    Can you point me a simple explanation of how the Define Dialog Wizard/Loop Wizard works? (I hav read the PDF and the Learning SetupBuilder examples).

    For example. I just want to ask user to input a word. Not as part of a series of Dialogs, just this one dialog on its own).
    I used Define Wizard Dialog .... (Edit Data)
    but this is simply ignored when the installer runs.

    So I guess I need to put Loop Wizard just after The Define Wizard. This does then show the User Input dialog.

    But how does this interact with any other Dialogs I may also have elsewhere in the script? How does the Loop Wizard know which Dialog(s) to show?


    And (separate question). Is the above the best way to ask user to input a bit of text, or is there another script function I should consider?

  2. #2
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Overview of Dialog Wizard

    Hello,

    The Loop Wizard structure is used to display a series of wizard dialogs defined by Wizardefine Dialog. Of course, you can also use it to display only one dialog.

    The SetupScript language is completely from "top to bottom". What you see in the script is how it is executed.

    IMO, you should not use a single dialog solution here but display your input dialog as part of your "wizard".

    Friedrich

  3. #3

    Default Re: Overview of Dialog Wizard

    Thanks again Friedrich,
    but a couple of questions you failed to answer.
    1. how does Loop Wizard know which Dialog(s) to include?
    (ie. if there are several Loop wizards in the scripts)

    2. To get user to enter simple bit of text, is there a better method
    than Define Dialog?

  4. #4
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Overview of Dialog Wizard

    Chris,

    I have developed and uploaded a simple project.

    http://www.lindersoft.com/projects/Chris.zip

    This demo (see attached screenshot) displays three different "wizards". The first one is custom dialog one. If you click the Next button, the wizard closes and the next wizard is displayed (all from "top to bottom" in the script). This time it displays two dialogs. You can enter some text in the second dialog and the wizard displays (after you click Next) what you entered -- this is handled from within the second Loop Wizard statement. After that, the wizard closes and the Finish dialog (wizard) is displayed.

    You can use a standard dialog or a custom dialog (see Visual Dialog Editor) to let the user enter data.

    Does this help?

    Friedrich
    Attached Images Attached Images  

  5. #5

    Default Re: Overview of Dialog Wizard

    Thanks again. I appreciate your help.
    I see the working example, and I can GUESS what is happening.
    But I am asking for an explanation of how it works.

    Here is my guess.
    When the Loop Wizard runs, it displays all the Dialogs in the lines above, up to any previous Loop Wizard end.
    When this Loop Wizard ENDS, those dialogs above it are finished, and will not be considered by any Loop Wizard further down the page?
    Is this correct?

  6. #6
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Overview of Dialog Wizard

    Yes, this is correct.

    Friedrich

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •