So after much troubleshooting, I am stumped. I am trying to update Salesforce on our user machines. The application that I have created includes 2 dependencies that are checked before the job is ran. The job itself runs a .cmd file that kills Outlook & the Salesforce application, then runs the .msi in the folder.
The job works perfectly fine IF Salesforce is not on the system, however if it's on there, it fails.
The software change returned error code 0x87D00324(-2016410844).
Below is the AppEnforce.log. Maybe it isn't a dependency issue, but I think it may be.
Image may be NSFW.
Clik here to view.
If I run the .msi manually it updates.
Here's are the lines that are being ran for the application.
@echo off REM Killing Salesforce and Outlook taskkill.exe /f /im sfdcmsol.exe taskkill.exe /f /im outlook.exe REM Installing Salesforce msiexec.exe /i "%~dp0SalesforceForOutlook.msi" /q REM Exit Code exit /B %EXIT_CODE%