Hi Nagaraju,

Set CustomAction/@Return to either "asyncWait" or "check" (if you want to check 
for error condition in your cmd file).

Alex


-----Original Message-----
From: Nagaraju Manduri (Sogeti) [mailto:v-na...@microsoft.com]
Sent: Monday, December 22, 2008 1: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

Reply via email to