Big differences in Wizard Loop..why??

Got a problem you cannot solve? Try here.
ErikB
Posts: 10
Joined: Mon Mar 06, 2006 7:55 am

Big differences in Wizard Loop..why??

Postby ErikB » Mon Mar 20, 2006 8:46 am

Hi,

I am seeing big differences in the Wizard Loop of two installations, and for the life of me I cannot find out why. The two installations were built in the same InstallAware version (5.2), with the same wizard options. The one Loop looks like:

wizard loop
Display Dialog: welcome
[compiler if Variable BUILDMODE not Equals PATCH]
// Display Dialog: licensecheck
// Display Dialog: readme
// Display Dialog: registration
Display Dialog: destination
Display Dialog: startmenu
Display Dialog: dbconfig
Display Dialog: sfconfig
Display Dialog: smtpconfig
[compiler end]
Display Dialog: startinstallation
end
GoTo Label: Main Install

While the other looks like:

label: Welcome Dialog
Display Dialog: welcome
if Variable WIZARD Equals CANCEL
GoTo Label: Main Install
end
[compiler if Variable BUILDMODE not Equals PATCH]
label: License Check
// Display Dialog: licensecheck
if Variable WIZARD Equals BACK
GoTo Label: Welcome Dialog
else
if Variable WIZARD Equals CANCEL
GoTo Label: Main Install
end
end
label: ReadMe Information
// Display Dialog: readme
if Variable WIZARD Equals BACK
GoTo Label: License Check
else
if Variable WIZARD Equals CANCEL
GoTo Label: Main Install
end
end
label: User Registration
// Display Dialog: registration
if Variable WIZARD Equals BACK
GoTo Label: ReadMe Information
else
if Variable WIZARD Equals CANCEL
GoTo Label: Main Install
end
end
label: Setup Type
// Display Dialog: setuptype
if Variable WIZARD Equals BACK
GoTo Label: User Registration
else
if Variable WIZARD Equals CANCEL
GoTo Label: Main Install
end
end
// TO-DO: Customize your minimum setup here
if Variable MINIMUM Equals TRUE
Select Component: Colibri Premium Backend
else
if Variable COMPLETE Equals TRUE
Select Component: Colibri Premium Backend
end
end
label: Custom Setup
Display Dialog: componentstree (if variable PERSONALIZED is TRUE)
if Variable WIZARD Equals BACK
GoTo Label: Setup Type
else
if Variable WIZARD Equals CANCEL
GoTo Label: Main Install
end
end
label: Destination Directory
Display Dialog: destination
if Variable WIZARD Equals BACK
GoTo Label: Custom Setup
else
if Variable WIZARD Equals CANCEL
GoTo Label: Main Install
end
end
label: Start Menu
Display Dialog: startmenu
if Variable WIZARD Equals BACK
GoTo Label: Destination Directory
else
if Variable WIZARD Equals CANCEL
GoTo Label: Main Install
end
end
label: SMTP Server Setup
Display Dialog: smtpconfig
if Variable WIZARD Equals BACK
GoTo Label: Start Menu
else
if Variable WIZARD Equals CANCEL
GoTo Label: Main Install
end
end
label: SQL Server Setup
Display Dialog: dbconfig
if Variable WIZARD Equals BACK
GoTo Label: SMTP Server Setup
else
if Variable WIZARD Equals CANCEL
GoTo Label: Main Install
end
end
label: BES Server Setup
Display Dialog: besconfig
if Variable WIZARD Equals BACK
GoTo Label: SQL Server Setup
else
if Variable WIZARD Equals CANCEL
GoTo Label: Main Install
end
end
label: Connector Config
Display Dialog: colibriconfig
if Variable WIZARD Equals BACK
GoTo Label: BES Server Setup
else
if Variable WIZARD Equals CANCEL
GoTo Label: Main Install
end
end
[compiler end]
label: Start Installation
Display Dialog: startinstallation
if Variable WIZARD Equals BACK
[compiler if Variable BUILDMODE not Equals PATCH]
GoTo Label: Connector Config
[compiler else]
GoTo Label: Welcome Dialog
[compiler end]
else
GoTo Label: Main Install
end

I apologise for the long post, but this is puzzling me. The latter has my absolute preference as I believe it allows for far more fine-grained control.

It's probably something incredibly simple..

Thanks in advance,
Erik
PS. The two applications to be installed are different, hence the minor differences in the dialogs used..

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Mon Mar 20, 2006 3:23 pm

Hi Erik!

The Project Wizard creates the simpler loop if you say you will be disallowing custom setups in the Dialogs page.

Otherwise, most (if not all) the standard templates, along with the other options available in the Project Wizard, create the longer version.

You can just copy-paste code if you want to switch "styles" - nothing is hard-coded in your projects, so everything that is offered by the wizards/templates are just "baseline" suggestions.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 153 guests