PDA

View Full Version : Lock Install directory?



NewsArchive
08-30-2006, 12:12 AM
Hi All,

I used to be able to do this quite easily in SB 4.3. Is there a way in SB
5.5?

--
Ron Childs
C6.3 EE, ABC, Build 9053
Omega Business Systems

NewsArchive
08-31-2006, 08:54 AM
Ron,

Let's assume, your "Select Install Folder" is dialog #2, add:

If %_SB_DIALOGNEXTID% Equals "2" Then
Disable Control ID $DESTINATION_EDIT1$
Disable Control ID $DESTINATION_BROWSE$
End

For example:

! Wizard dialog definition(s)
Define Wizard Dialog "#1" (Welcome)
Define Wizard Dialog "#2" (Select Install Folder)
Define Wizard Dialog "#3" (Ready to Install)

! The Wizard Loop displays the dialog screens that the user sees in the
installation
Loop Wizard
Wizard Auto Break
If %_SB_DIALOGNEXTID% Equals "2" Then
Disable Control ID $DESTINATION_EDIT1$
Disable Control ID $DESTINATION_BROWSE$
End
End

Andrea

Sales and Support, Lindersoft
www.lindersoft.com
1.954.252.3910

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

NewsArchive
08-31-2006, 08:54 AM
Thanks Andrea,

This helps a lot.

--
Ron Childs
C6.3 EE, ABC, Build 9053
Omega Business Systems