PDA

View Full Version : Bug: Dialog navigation fails when using Hide - DialogNavIssue.sb5 (0/1)



NewsArchive
01-27-2005, 01:54 AM
[Wednesday, January 26, 2005 1:51 AM]

With the following dialogs defined:

Welcome
Select Setup Types [Standard]
Custom Install
Select Install Folder
Ready to Install

In loop wizard I hide Custom Install based on the install type.

In testing the script, roll through each dialog using Next until Ready to
Install displays. Click Back to return to Select Install Folder. Clicking
Back on that dialog exits that loop and jumps to the Finish dialog.

The attached script demonstrates this behavior.
--
Best regards,

Mark

NewsArchive
01-27-2005, 01:54 AM
[Wednesday, January 26, 2005 8:31 AM]

Mark,

We have already fixed this on last Friday. The new build will be available
later today. With the new build there is no need to hide your Custom
Install dialog if the Custom Type is selected (the installer can handle this
automatically).

Thank you for your time.

BTW, this is the current build #1028 history list:

IMPROVEMENT: Ready to Install dialog shows selected Setup Type
IMPROVEMENT: Installer can display a static background bitmap
IMPROVEMENT: Installer Background Text support font styles and effects
FIX : Internal installer decompression function prototype problem
FIX : Under certain circumstances the compiler generated a "buffer
overrun" error
FIX : A non-admin user that is a member of the Power Users group was
considered to have administrator rights
FIX : Script Editor keyboard PageUp/Down was not working as expected
FIX : Under certain circumstances the "Custom" Setup Type did not
auto-detect the Custom Install dialog
FIX : Possible Quick Launch folder detection problem
CHANGE : Select Setup Types [Standard] dialog can support 2 or 3 Setup
Types
CHANGE : Recompiled with Clarion 6.1 Production Release (9032)

Thanks,
Friedrich

--
Friedrich Linder
www.lindersoft.com
Fax: 1.954.252.3910

NewsArchive
01-27-2005, 01:55 AM
[Wednesday, January 26, 2005 8:50 AM]

>Mark,
>
>We have already fixed this on last Friday. The new build will be available
>later today. With the new build there is no need to hide your Custom
>Install dialog if the Custom Type is selected (the installer can handle this
>automatically).

Cool. Thanks.

--
Best regards,

Mark

NewsArchive
01-30-2005, 06:47 AM
[Saturday, January 29, 2005 6:10 PM]

>Mark,
>
>We have already fixed this on last Friday. The new build will be available
>later today. With the new build there is no need to hide your Custom
>Install dialog if the Custom Type is selected (the installer can handle this
>automatically).

It's partially fixed. The hide/show custom dialog is no longer needed, as you
described, but there is still a navigation issue.

In a script using Select Setup Types [Standard], both Typical and Minimal
have a problem. Going from script start to Ready To Install and using Back at
that dialog jumps directly to Finish. Back works correctly at any point up to
Ready To Install, and does not exhibit this behavior when Custom install is
selected.

--
Best regards,

Mark

NewsArchive
01-30-2005, 06:47 AM
[Sunday, January 30, 2005 1:28 PM]

Mark,

Do you have the "Handle Wizard Events" script item at the top of the Loop
Wizard?

Would it be possible to send me a demo script. Your "DialogNavIssue.sb5"
script seems to work fine here.

Thanks,
Friedrich

--
Friedrich Linder
www.lindersoft.com
Fax: 1.954.252.3910

NewsArchive
02-01-2005, 03:46 AM
[Sunday, January 30, 2005 5:48 PM]

>Mark,
>
>Do you have the "Handle Wizard Events" script item at the top of the Loop
>Wizard?

Yes, and at that point the loop had no other script in it.

>
>Would it be possible to send me a demo script. Your "DialogNavIssue.sb5"
>script seems to work fine here.

I'll put one together for you. BTW, the problem seems dependent on either the
number of dialogs present, or a specific combination of dialogs. At some
point I added the magic additional dialog and the problem disappeared.

--
Best regards,

Mark

NewsArchive
02-01-2005, 03:47 AM
[Sunday, January 30, 2005 6:09 PM]

>>Mark,
>>
>>Do you have the "Handle Wizard Events" script item at the top of the Loop
>>Wizard?
>
>Yes, and at that point the loop had no other script in it.

Friedrich, that's wrong. I had another script in mind.

There is a conditional hide dialog inside the loop, and it was before Handle
Wizard Events. I reversed the order and the navigation problem no longer
exists in the test script. So that bit was my bad.

I am confused about something. I have an entry dialog that should only
display for the Custom type when a specific feature is set, thus my use of
hide dialog inside a "if feature not selected" This must be the wrong way to
accomplish this as it does not work. How do I do that?

--
Best regards,

Mark

NewsArchive
02-01-2005, 03:47 AM
[Monday, January 31, 2005 12:54 PM]

Mark,

I have attached a demo script (will also be part of the new #1033 build).

Lets look at the relevant code snippet:

---

Define Wizard Dialog: #1 (Welcome)
Define Wizard Dialog: #2 (Select Setup Types [Standard])
Define Wizard Dialog: #3 (Custom Install)
Define Wizard Dialog: #4 (Edit Data)
Define Wizard Dialog: #5 (Select Install Folder)
Define Wizard Dialog: #6 (Ready to Install)
Hide Wizard Dialog #4


! The Wizard Loop displays the dialog screens that the user sees in the
installation
Loop Wizard
Handle Wizard Events()
If %_SB_DIALOGID% Equals "3" And %_SB_SETUPTYPEID% Equals "3" Then
If Feature "Test Feature 2" selected Then
Show Wizard Dialog #4
End
End
End

---

It only displays the Edit Data dialog if Custom type is selected and "Test
Feature 2" is set.

Does this help?

Thanks,
Friedrich

--
Friedrich Linder
www.lindersoft.com
Fax: 1.954.252.3910

NewsArchive
02-01-2005, 03:48 AM
[Monday, January 31, 2005 7:06 PM]

>Mark,
>
>I have attached a demo script (will also be part of the new #1033 build).
>
>Lets look at the relevant code snippet:

Yep, with one modification that did the trick. THe outter if... needs

else
Hide Wizard Dialog #4

Thanks very much, Friedrich.

--
Best regards,

Mark