I am running the following task and preventing the Auto Reboot but still include the manual restart notification post install.
The following installs the application and prevents the auto reboot, however the job remains running in BigFix and does not offer the restart notification.
You wouldn’t run the msiexec command against a .EXE file, it only deals with .MSI files.
You’d also need to find the command lines to make the installation silent. For an MSI package that’s generally the /qn parameter but it can vary on EXE installers.
Likely msiexec is trying to present an error message to the effect of ‘the EXE file is not a valid Windows Installer package’, but because we run as LocalSystem the error message is not presented on the user’s screen. Now msiexec is stuck ‘running’ because it is waiting for a hidden error message to be acknowledged.
You’ll need to kill the ‘msiexec.exe’ process before the action can move on to Failed.