Hi, I am using the following code to launch my exe. Now, I set Return="Check", so install shouldn't succeed in case of failure. Well, the install did succeed, but my exe is not doing what it is supposed to do. The only problem i can think of is setting CURRENT FOLDER path, as if I run my exe after the install it works fine.
So, how can I set current working folder before calling this custom action. or anyother thing, I am missing here. ---------------------------------------- <CustomAction Id="QtExecDeferredExampleWithProperty_Cmd" Property="QtExecDeferredExampleWithProperty" Value="" [INSTALLDIR]\dir1\dir2\test.exe" -param1 param2" Execute="immediate"/> <CustomAction Id="QtExecDeferredExampleWithProperty" BinaryKey="WixCA" DllEntry="CAQuietExec" Execute="deferred" Return="check" Impersonate="no"/> <InstallExecuteSequence> <Custom Action="QtExecDeferredExampleWithProperty_Cmd" After="CostFinalize">Not Installed</Custom> <Custom Action="QtExecDeferredExampleWithProperty" Before="InstallFinalize">Not Installed</Custom> </InstallExecuteSequence> ---------------------------------------- Thanks, Gulfam ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users