Hi, I'm trying to execute a PowerShell V3 script on installation using the following action
<SetProperty Id="InstallSetupSPConfigCustomAction" Before="InstallSetupSPConfigCustomAction" Sequence="execute" Value =""[POWERSHELLEXE]" -ExecutionPolicy ByPass -InputFormat None -Command "& '[#SetupSPConfig.ps1]' -i -v [ProductVersion] -fcUrl '[ACTIVITYSERVERURL]' ; exit $$($Error.Count)"" /> Is there any way I can get the output from the script to be logged to the log file if the script fails, I'm having a hard time to figure out why the script is failing, all I get in the log file is CAQuietExec64: 8??????????????!??????????????????????????????4?? ???????????????????9??++++??7?????????4????"??++++?????????????????~?++???????+++++>????????>?????????4????? ?+???????????????++????????????>?????????????!? ???????????????????????.?????????5????????????????????????? CAQuietExec64: ?????????????????????????????4????????????????????????++??????????????++??????????????+????????++++????????????????????????+???????????????????????????>? CAQuietExec64: Error 0x80070002: Command line returned an error. CAQuietExec64: Error 0x80070002: CAQuietExec64 Failed I cannot read that :( Although when running the commands generated by WIX from the command line on the target machine it works like a charm, just not during installation. Please can someone advice. Thank in advance Christoff le Roux This information is intended only for the person or entity to which it is addressed and may contain private, confidential, proprietary and/or privileged material and may be subject to confidentiality agreements. Any review, retransmission, dissemination, or any other use of or taking of any action in reliance upon this information, by persons or entities other than the intended recipient, is prohibited. If you received this in error, please contact the sender and delete the material from all storage media. FlowCentric is neither liable for proper, complete transmission of the information contained in this communication, any delay in its receipt or that the mail is virus-free. ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users