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