Results 1 to 4 of 4

Thread: Flow Control within Loop Wizard

  1. #1

    Default Flow Control within Loop Wizard

    I should know how to do this, but cannot recall how or find it in the help.

    After the users select the install folder, I check for the existence of a file before
    proceeding.
    Checking for the existence I can do, but how can I control the loop wizard dialogs so
    that they cannot proceed? I want them to try again with the "SELECTINSTALLFOLDER"

    Here are my Dialogs and Loop Wizard.

    ================
    [ User Interface ]
    ! Wizard dialog definition(s)
    Define Wizard Dialog "#1" (Welcome)
    Define Wizard Dialog "SELECTINSTALLFOLDER" (Select Install Folder) (%_SB_INSTALLDIR%)
    Define Wizard Dialog "TESTHERE" (Ready to Install) ()

    ! The Wizard Loop displays the dialog screens that the user sees in the installation

    Loop Wizard (Abort Dialog Active)
    If %_SB_DIALOGID% Equals "$SELECTINSTALLFOLDER$" Then
    Set Variable %CHECKFILE% to "%_SB_INSTALLDIR%\LMSAC13.DLL"
    If %CHECKFILE% File or Folder exists Then
    Display Message Box "OK Found LMS13AC.dll" -- "OKOK"
    Else
    Display Message Box "N B G\n" -- "NOT FOUND"
    /* How to set WIZARD BACK from here? HEY Wizard, GO BACK 1 */
    /* Show Wizard Dialog "$SELECTINSTALLFOLDER$" NOPE..... */
    End
    End

    End
    ==============

    JohnG

  2. #2

    Default Re: Flow Control within Loop Wizard

    John,

    Use "Cycle" after you displayed the "N B G\n" -- "NOT FOUND" message. The
    user can then select a new folder again.

    Friedrich

  3. #3

    Default Re: Flow Control within Loop Wizard

    Hi Friedrich

    Great, I'll do that.
    By the way, N B G = No Bloody Good :-) I use it a lot.

    John

  4. #4

    Default Re: Flow Control within Loop Wizard

    > By the way, N B G = No Bloody Good :-) I use it a lot.

    <G>. I like it

    Friedrich

Thread Information

Users Browsing this Thread

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

Posting Permissions

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