See my reply to your other post & try to keep your issues limited to one thread if they are the same topic (which these pretty obviously are) otherwise you're going to confuse yourself & others when you start getting replies to one thread advising you to do x when the other thread is advising you to do y.
Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -----Original Message----- From: gapearce [mailto:mr_gapea...@yahoo.com] Sent: 14 June 2010 16:14 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Dialogs out of order? More NOOB stuff follows: The following code doesn't run in the order that I would have expected, based on the "Order=" parameters. I would like to display the ConfigSQLDlg before the ConfigSMTPDlg, but this actually happens in the reverse order... SMTP is first, then SQL. Note that the checkboxes are checked by default, initially. Also note that the SQL checkbox is disabled. I display it on the dialog 'disabled' because it is a required configuration step, so the user must configure this before proceeding to the exit dialog. What am I doing wrong this time? Thanks, in advance... (again!) Greg <Property Id="SQL_CONFIG_SUCCEEDED" Value="0" /> <Property Id="SMTP_CONFIG_SUCCEEDED" Value="0" /> <Property Id="CONFIGSQL" Value="1" /> <Property Id="CONFIGSMTP" Value="0" /> <UI> <Dialog Id="ConfigDlg" Width="370" Height="270" Title="[ProductName] Configuration Options"> <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.WixUINext)" Cancel="yes"> <Publish Event="SpawnDialog" Value="ConfigSQLDlg" Order="1"> <![CDATA[CONFIGSQL = "1" AND SQL_CONFIG_SUCCEEDED = "0"]]> </Publish> <Publish Event="SpawnDialog" Value="ConfigSMTPDlg" Order="2"> <![CDATA[CONFIGSMTP = "1" AND SMTP_CONFIG_SUCCEEDED = "0"]]> </Publish> <Publish Event="NewDialog" Value="WixExitDlg" Order="3"> <![CDATA[CONFIGSMTP <> "1" AND CONFIGMYSQL <> "1"]]> </Publish> </Control> <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Disabled="no" Text="!(loc.WixUICancel)"> <Publish Event="SpawnDialog" Value="CancelDlg">1</Publish> </Control> <Control Type="CheckBox" Id="cbConfigSQL" Width="125" Height="17" X="20" Y="90" Text="Configure SQL (Required)" Property="CONFIGSQL" Disabled="yes" CheckBoxValue="1" /> <Control Type="CheckBox" Id="cbConfigSMTP" Width="213" Height="17" X="20" Y="112" Text="Configure SMTP (Optional)" Property="CONFIGSMTP" CheckBoxValue="1" /> </Dialog> </UI> -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Dialogs-ou t-of-order-tp5177864p5177864.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------ ------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users