KNOWN ISSUE: Run script tasks fail in Automation when "Capture Script Output" is selected (DS 7.1 SP1a)
|Article:TECH168341|||||Created: 2011-08-29|||||Updated: 2011-08-29|||||Article URL http://www.symantec.com/docs/TECH168341|
Many script tasks (command, VBS, Powershell) fail in automation that used to work prior to the SP1a upgrade. The same scripts succeed if the option to "Capture Script Output" is deselected.
However, the same scripts worked prior to the upgrad even with the advanced option selected.
Task script execution added a file for the advanced feature of "Capture Script Output" to get around some known issues relative to capturing output when the script calls other applications, and re-routed the output capture into this new file. This file was added to production but did not make it into the Automation environment.
This is slated to be corrected in the next release of the product.
WorkAround / Manual Fix:
You'll need to find a copy of the file in production from an x86 / x64 system. The file will be in the Altiris Agent folder and is called "AeXAgentDesktop.exe". Copy this file into automation by copying it to the following folder (for x86):
\\server-name\deployment\Task Handler\bootwiz\oem\DS\winpe2\x86\Base\Program Files\Altiris\Altiris Agent
You will then need to recompile your preboot configurations to take advantage of the file.
This folder should be replicated out to your site servers automatically as a part of the OEM package, but it may be faster to do so manually, especially if you don't want to wait before submitting a command to recompile one of your automation environments.
Article URL http://www.symantec.com/docs/TECH168341