I'm trying to wrap my head around exactly how Back/Next buttons work, and the
right way to wire them together. In my installer UI, I have two dialogs:
WelcomeEula Dialog and Keycode Dialog. I declare them both in my
InstallUISequence as follows:
<Show Dialog="WelcomeEulaDlg" Before="KeycodeEntryDlg">NOT Installed</Show>
<Show Dialog="KeycodeEntryDlg" Before="ProgressDlg">NOT Installed</Show>
Simply by doing this, the Next button on my WelcomeEulaDlg seems to
automatically progress to the KeycodeEntryDlg (it seems this is because it has
some other dialog calls within its series of publish actions). But the back
button on the second dlg doesn't automatically work. It seemed the way this
gets solved was with the following code:
<Control Id="Back" Type="PushButton" X="146" Y="169" Width="56" Height="17"
Text="!(loc.WixUIBack)" >
<Publish Event="NewDialog" Value="WelcomeEulaDlg">1</Publish>
</Control>
This succeeded and getting the back button to work, but now there's a different
issue. If I go back, then the Next button no longer takes me to the
KeycodeEntryDlg, but instead takes me past it to the install. I could
seemingly solve this by adding an explicit call in the Next button on
WelcomeEulaDlg to move to the KeycodeEntryDlg (something I don't have right
now) but that seems to defeat the purpose of the InstallUISequence being
sequenced! So, my question is what is the right way to make these dialog
transitions happen in both directions, and code them in the right way?
Thanks for the help!
-Dan
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users