Page 1 of 1

Set compact setup type as default

Posted: Wed May 12, 2010 2:51 am
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

Re: Set compact setup type as default

Posted: Wed May 12, 2010 3:22 am
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!

Re: Set compact setup type as default

Posted: Wed May 12, 2010 4:58 am
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

Re: Set compact setup type as default

Posted: Wed May 12, 2010 5:09 pm
by MichaelNesmith
Set COMPLETE to FALSE also.