Not able to get a batch file to run properly
10/04/2017 1283 views
I've got a script created in my K1000.
Set to use domain admin credentials.
I have a batch file as a dependency but I've tried without it listed. It shouldn't be needed as you will see below.
I have Verify section blank... I have "On Success" section with "Launch \\server\share\setup\mybatch.bat" with params ""
Other sections like Remediation etc are blank.
When I run the script a command prompt window opens for a second, and then closes. In the event log a MSI installer transaction is started and then another event says it is finished. It's like it immediately fails to continue the msi.
The weird thing is, I can log into the pc locally as the same credentials (domain admin) and browse to the \\server\share\setup\mybatch.bat and double click that batch file and it runs just fine and installs the software...
What is the issue?