Set compact setup type as default

Got a problem you cannot solve? Try here.
Post Reply
kaepteniglo
Posts: 16
Joined: Mon Apr 19, 2010 2:15 am
Location: Germany

Set compact setup type as default

Post by kaepteniglo »

Hi,

I have a problem to change the default setup type selection.

In the setup type dialog i set the checked option on "complete setup" to false and on "compact setup" to true. But if i run the installer, the "complete"-option is always preselected.

How can i change this?

Is this a bug or am i to "stupid" to set it up correctly?

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

Re: Set compact setup type as default

Post by MichaelNesmith »

Hi Thomas,

Changes in the dialog editor will be of no effect. What you really want to change are the script variable values. Find out what variables the dialog radios are bound to, and set them to their desired values before showing the dialog.

Not stupid at all, just a newbie question :) Welcome on board!
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
kaepteniglo
Posts: 16
Joined: Mon Apr 19, 2010 2:15 am
Location: Germany

Re: Set compact setup type as default

Post by kaepteniglo »

The "compact"-radio button will write set variable MINIMUM to true.

So before the dialog appears i set the variable MINIMUM to true, but nothing changed.

Here is my code:

Code: Select all

label: Setup Type
Set Variable MINIMUM to TRUE
Display Dialog: setuptype, wait for dialog to return (modal)
if Variable WIZARD Equals BACK
 GoTo Label: User Registration
else
 if Variable Wizard Equals CANCEL
  GoTo Label: Main Install
 end
end
What is still wrong?

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

Re: Set compact setup type as default

Post by MichaelNesmith »

Set COMPLETE to FALSE also.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Post Reply