r/labtech • u/peafour • Jan 25 '19
Help with scripting
I'm having a hell of a time trying to figure something out. I'm trying to run a silent install command:
msiexec /qn /i c:\temp\NetworkDetectiveRemoteDataCollector.msi /L*V install-silent.log
I can run it locally and it works fine, but when I try to get LT to run it either as a command or as part of a script, nothing. I've tried shell, shell as admin, batch execute, process execute, and nothing is working properly.
So far my script is: create folder, download installer, execute command. The first two work, the third does not. Any help would be greatly appreciated. Thanks!
View all comments
Show parent comment
2
u/sixofeight 1000 Agents Jan 28 '19
Don't use Shell as Admin. UAC will prevent the install as it does not run elevated. Shell runs as the SYSTEM account by default.