Richard - Sorry I didn't see your post until now. The order they are declared in is the order they are assigned as can be seen in the ControlEvent table via Orca.
So I changed the order that I am performing the events in and if I run the CA in async mode it will not run until I cancel the dialog and cancel the installer. If I run the CA synchronously then the dialog is never displayed since the CA sets the property before the SpawnWaitDialog is made. Thanks - Tom -----Original Message----- From: Richard [mailto:legal...@xmission.com] Sent: Saturday, October 31, 2009 12:42 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] UI Display question In article <d91a1dd8a8f2ba459644b8f3b7e517ddac0ee4e...@exvmbx015-4.exch015.msoutlookonline.net>, Tom Crozier <tcroz...@rackwise.com> writes: > <!-- In the TestDlg I do the following--> > <Control Id="TestButton" Type="PushButton" X="100" Y="100" Width="66 " Height="18" Text="Test" TabSkip="no" Default="yes"> > <Publish Event="SpawnWaitDialog" Value="ValidatingDialog"><![CDATA [RESULTS <> 2]]></Publish> > <Publish Event="DoAction" Value="TestLongAction1">1</Publish> > <Publish Property="RESULTS" Value="[RESULTS]">1</Publish> > </Control> You are not specifying the order in which to publish these events. I don't know what WiX will do with this, whether or not it will create order numbers that are all the same, or create appropriate sequential ordering. Its best to be explicit, as I was in my blog: <Control Id="TestButton" Type="PushButton" X="100" Y="100" Width="66" Height="18" Text="Test" TabSkip="no" Default="yes"> <Publish Event="DoAction" Value="TestLongAction1" Order="1">1</Publish> <Publish Property="RESULTS" Value="[RESULTS]" Order="2">1</Publish> <Publish Event="SpawnWaitDialog" Value="ValidatingDialog" Order="3"> <![CDATA[RESULTS <> 2]]></Publish> </Control> This makes it explicitly perform the events in this order: 1. invoke the custom action 2. make sure Windows Installer recognizes the property change 3. spawn a wait dialog using the changed property. Assuming that WiX creates Order column values that increase in number following the order in which you gave them in your post, you still have the events in the wrong order. -- "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download <http://legalizeadulthood.wordpress.com/the-direct3d-graphics-pipeline/> Legalize Adulthood! <http://legalizeadulthood.wordpress.com> ------------------------------------------------------------------------------ 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 WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.423 / Virus Database: 270.14.24/2449 - Release Date: 10/31/09 07:53:00 ------------------------------------------------------------------------------ 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 WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users