This has been discussed in the archives. Can't show a dialog from a control action.
-----Original Message----- From: Guillaume Chassigneux [mailto:[EMAIL PROTECTED] Sent: Friday, October 31, 2008 03:44 To: wix-users@lists.sourceforge.net Subject: [WiX-users] SpawnWaitDialog and immediate C# custom action Hi, I have a lengthy C# custom action launched on the Next button of a dialog. I want to display a wait dialog during the long action. I am trying to use SpawnWaitDialog but I do not achieve to make it work... I manage either to display the wait dialog but the action is not launched and installer stay blocked, or to run the action but the dialog is not shown. Has someone some experience using SpawnWaitDialog with custom action ? Here are the WiX fragment I am using : <CustomAction Id="VerifierConnexion" BinaryKey="MesCAs.dll" DllEntry="VerifierConnexion" Execute="immediate" /> ... <Publish Dialog="CustomWelcomeDlg" Control="Next" Event="DoAction" Value="VerifierConnexion" Order="3">1</Publish> <Publish Dialog="CustomWelcomeDlg" Control="Next" Event="SpawnWaitDialog" Value="WaitValiderConnexionDlg" Order="4"><![CDATA[VALIDER_CONNEXION_ENCOURS<>"1"]]></Publish> ... Thank you in advance for all ! Guim _________________________________________________ Ce message et les éventuels documents joints peuvent contenir des informations confidentielles. Au cas où il ne vous serait pas destiné, nous vous remercions de bien vouloir le supprimer et en aviser immédiatement l'expéditeur. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou publication, totale ou partielle et quel qu'en soit le moyen est formellement interdite. Les communications sur internet n'étant pas sécurisées, l'intégrité de ce message n'est pas assurée et la société émettrice ne peut être tenue pour responsable de son contenu. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users