Issue Running Script - error during deployment
I am having issues trying to get a batch file to execute against workstations. I get a package error when trying to execute it. I can take the same batch file and run it locally on a workstation and it works without any isssues. I am posting the script below. Can someone help me understand why this does not work when pushed through Desktop Central as a Computer Configuration. The script copies 2 files to the local workstation (this completes successfully) and then uninstalls an older software version and then installed the new version. The Configuration fails when it tries to execute line 5. Thanks for any assistance you can offer!
copy \\fileserver1\software\Distribution\Allscriptsv17\ClientPrereqWrapperSetup.exe c:\prereq
copy \\fileserver1\software\Distribution\TouchWorks19\ClientPrerequisiteWrapper\TouchWorksClientPrerequisiteWrapperSetup.exe c:\prereq
c:\prereq\ClientPrereqWrapperSetup.exe /X /S /v"/qn"
c:\prereq\TouchWorksClientPrerequisiteWrapperSetup.exe /S /v"/qn"