Here are the entries from Orca, The last column is the Order.
As you can see, I have them in the order you suggested. Is there something else 
I'm missing?

MainDlg TestButton      [RESULTS]       [RESULTS]       1       2
MainDlg TestButton      DoAction        TestLongAction2 1       1
MainDlg TestButton      SpawnWaitDialog ValidatingDialog        RESULTS <> 2    
3

As far as the async goes there are 2 synchronous methods for calling CA's Check 
and Ignore. And there are 2 async methods asyncWait and asyncNoWait. 
asyncNoWait is only allowed for an EXE action but I am allowed to use asyncWait 
which I have done in my tests. 

I also played around with the dialog properties SystemModal, Modeless and 
KeepModeless but none of those seemed to make it work.

Thanks - Tom

-----Original Message-----
From: Richard [mailto:legal...@xmission.com] 
Sent: Saturday, October 31, 2009 8:04 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:

> 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.

Well, *I* can't see them in Orca because I don't have your MSI.  Orca
shows them in *an* order, but the true order in which they are
executed is defined by the Order column.  If they all have the same
value for the Order column, then the order in which they are executed
is undefined.

> 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 install er. If I run the CA synchronously then the dialog is
> never displayed since the CA sets the property before the SpawnWaitDialog
> is made.

AFAIK, Windows Installer doesn't use threads for this stuff.  If you
want the action to be asynchronous, it has to be an EXE action.  It
will then spawn off in another process.
-- 
"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

Reply via email to