When I am going to deploy a software package by running a batch (.bat) file in Manage Software Distribution Dashboard. The software is getting installed but, the action is getting hung at wait run.bat. Its status is showing as ‘Running’ in BigFix Console.
The same software package is working fine in SCCM with installation command “cmd.exe /c install.bat”
I am using the installation commands
“install.bat” /qn
install.bat /qn
cmd.exe /c install.bat
Still the action is getting stuck at Running wait run.bat.
That implies that the batch file or the installer itself is pausing, probably trying to display a dialog and prompt you for information. As the BES Client is running as a service, it cannot display such a window to you.
The best method I’ve found for testing silent installers in the context of the SYSTEM account, is to run a command prompt through psexec (www.microsoft.com/sysinternals). psexec -s -i cmd.exe