Custom dialog - wizard value incorrect

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

Custom dialog - wizard value incorrect

Postby garethhayter » Wed Jul 19, 2006 12:37 am

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:

Postby MichaelNesmith » Wed Jul 19, 2006 4:31 am

You have probably not bound the Display Dialog command for the dialog you injected in the middle to the WIZARD variable.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

garethhayter
Posts: 5
Joined: Wed Jul 12, 2006 6:44 pm

Postby garethhayter » Wed Jul 19, 2006 5:56 am

Thank-you, you are absolutely correct!


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 151 guests