Hi, CAQuietExec seems to hang when running a powershell script and does not exit out of the custom action. How can I exit out of the custom action after the script completes execution? Here is my custom action
<Property Id="POWERSHELLEXE"> <RegistrySearch Id="POWERSHELLEXE" Root="HKLM" Key="SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell" Name="Path" Type="raw" /> </Property> <CustomAction Id="CACmdLine" Property="RunScript" Execute="immediate" Return="check" Value=""[POWERSHELLEXE]" -ExecutionPolicy RemoteSigned -File "[INSTALLDIR]Setup.ps1" "[INSTALLDIR]|[PORT]|[ANSWERS]|[USERNAME]|[DOMAIN]|[USERLDIF]|[LOGS]"" /> <CustomAction Id="RunPSScript" Execute="deferred" BinaryKey="WixCA" DllEntry="CAQuietExec" Return="check" Impersonate="yes"/> thanks. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/CAQuietExec-hangs-when-running-powershell-script-tp5778807p5778807.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users