Custom dialog - wizard value incorrect

Got a problem you cannot solve? Try here.
Post Reply
garethhayter
Posts: 5
Joined: Wed Jul 12, 2006 6:44 pm

Custom dialog - wizard value incorrect

Post by garethhayter »

I have created a custom dialog by copying, renaming and importing an existing dialog. The problem is that the value of WIZARD in the script is sometimes incorrect.

The scenario is: There are two existing dialogs A and B. A custom dialog X is inserted between them, so the sequence is now A -> X -> C. When clicking A.Next, X.Next, C.Next, or C.Back, X.Back, A.Back, everything works correctly. However, when clicking A.Next, X.Back, then the WIZARD value is NEXT, not BACK as expected. Similar behaviour is displayed when clicking C.Back, X.Next - WIZARD = BACK, not NEXT as expected.

I have verified that the button actions are set correctly.

Any ideas?

Thanks,
Gareth.
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

You have probably not bound the Display Dialog command for the dialog you injected in the middle to the WIZARD variable.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
garethhayter
Posts: 5
Joined: Wed Jul 12, 2006 6:44 pm

Post by garethhayter »

Thank-you, you are absolutely correct!
Post Reply