When I try using 'asyncNoWait' I get:
error CNDL0038 : The CustomAction/@Return attribute's value, 'asyncNoWait', 
cannot be specified without attribute ExeCommand present.

What I don't understand is that I would think the SpawnWaitDialog would need to 
run in its own thread waiting on the condition to be met (hence the name spawn) 
allowing processing to continue and the CA to be called. But from all my tests 
so far it seems it will display the dialog if the condition has not initially 
been met but it does not allow processing to continue so it can be taken down.

Is there some simpler method to allow me to put up a Please wait dialog while a 
long CA is running and then have it taken down. I'm getting to the point of 
putting up the dialog in the CA itself but I would rather keep the GUI portion 
in the installer itself. If that is my only choice do you know how to get a 
hold of the Installer's window handle so I can make the dialog a child of it?

Thanks - Tom

-----Original Message-----
From: Bob Arnson [mailto:b...@joyofsetup.com] 
Sent: Saturday, October 31, 2009 2:53 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] UI Display question

Tom Crozier wrote:
> But from what I read in MSDN about the SpawnWaitDialog ControlEvent 
> http://msdn.microsoft.com/en-us/library/aa371864(VS.85).aspx it is for what I 
> am trying to do. Just display a Please wait message while the CA is running. 
> I am incorrect?
>   

Try asyncNoWait for your Return attribute. The problem is that you need 
to launch the CA, then spawn the wait dialog; the dialog doesn't return 
until the wait condition is true, so you can't show it then call the CA.

-- 
sig://boB
http://joyofsetup.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