PDA

View Full Version : Password dialog properties



NewsArchive
06-11-2005, 08:59 AM
Friedrich,

1) Why is the dialog label forced into upper case? Is this the text on the
dialog or something else?

2) What does the "auto-verify password" mean?

The help is still a "to-do" on this dialog.

--
Russ Eggen
www.radfusion.com

NewsArchive
06-11-2005, 09:00 AM
Russ,

> 1) Why is the dialog label forced into upper case? Is this the text on
> the
> dialog or something else?

See attached screenshot. The dialog label names the specific dialog in the
source code. Very useful if you move up/down dialogs (changes the sequence
number).

> 2) What does the "auto-verify password" mean?
>
> The help is still a "to-do" on this dialog.

"Auto-verify password" means the installer engine will automatically check
(at run-time) if the entered password matches the password from
the "Protect Install with Password" entry. If it is not correct, the wizard
will not continue.

You can also do the following (in this case do not check "Auto-verify
password"). Very useful if you install different software editions based on
the password. For example, if it is "PasswordToInstallProfessional" then
install the Professional Edition of your software. Or
"PasswordToInstallStandard" to install the Standard Edition, etc., etc.

Define Wizard Dialog: RUSSELS_NEW_PASSWORD_DIALOG (Password)

Loop Wizard
If %_SB_DIALOGID% Equals "$RUSSELS_NEW_PASSWORD_DIALOG$" Then
If %_SB_PASSWORD% Equals "PasswordToInstallProfessional" Then
Set Variable %EDITION% to "Professional"
Break Loop
ElseIf %_SB_PASSWORD% Equals "PasswordToInstallStandard" Then
Set Variable %EDITION% to "Standard"
Break Loop
Else
Message Box "Wrong Password - Try again" -- "Wrong Password"
Cycle Loop
End
End
End

Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
1.954.252.3910

"point. click. ship" - that's SetupBuilder 5

NewsArchive
06-11-2005, 09:00 AM
By the way, in build #1158 the "Show/Hide Wizard Dialog" still displays
"Dialog Number ID Placeholder". Should read "Dialog Label". Fixed now.

Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
1.954.252.3910

"point. click. ship" - that's SetupBuilder 5