I think that you need to change the return value to asyncWait or check if you want the installer to wait for it.
-----Original Message----- From: Nagaraju Manduri (Sogeti) [mailto:v-na...@microsoft.com] Sent: Monday, December 22, 2008 4:35 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] CA Control Well, I have a problem in my WIX file. I have a custom action like this but, the MSI install completes before the Custom Action gets over. Please suggest me how to handle this situation. <CustomAction Id="RunMe" Directory="TARGETDIR" ExeCommand="[TARGETDIR]Test.cmd" Return="asyncNoWait" /> <InstallExecuteSequence> <Custom Action="RunMe" After="InstallFinalize">NOT Installed</Custom> </InstallExecuteSequence> The above CA works as expected, but MSI installation finishes before Test.cmd completes it tasks. Any information appreciated. Thanks & Regards Nagaraju ------------------------------------------------------------------------ ------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users