PDA

View Full Version : Best practice to repeat 'Select Install Folder'?



Unregistered
01-20-2013, 07:17 AM
What is the suggested way to cover the following requirement?

After the install folder has been selected in LOOP WIZARD, a specific file is version checked in the selected folder. If the version is incorrect the user has to repeat the selection of the install folder.

I currently use two LOOP WIZARDS in a LOOP, such as:

Define Wizard Dialog #1 (Welcome)
LOOP
Define Wizard Dialog #2 (Select Install Folder)
LOOP WIZARD
END
IF MyVersionCheck fails
CYCLE LOOP
END
Define Wizard Dialog #1 (Ready to Install)
LOOP WIZARD
END
BREAK CYCLE
END


Is there an easier way to repeat a single Wizard Dialog inside the Wizard loop?

Thanks for any help.

linder
01-20-2013, 09:00 AM
Hello,

Just use "Cycle Loop" and you are done. Similar to the "Dialog 2.sb7" example project (from the Examples Package). Do not use a nested loop here.

Does this help?

Friedrich