I've deployed an app out over SCCM with the script below but it's status is stuck saying "installing", although it is listing under installed software as being installed. I've check the AppEnfore.log and the last line is "waiting for process 3236 to finish. Timeout = 120 minutes". So it appears that the software is installed but wont finish and I assume it will fail when the deployment type timeout is reached.
@echo off
REM Process will be stopped
taskkill /im "process.exe" /f
REM Application will be installed
"%dp0install_app" /verysilent
Also, if I edit the detection method in the deployment type before deploying the app do I have to right-click on the deployment type and select 'update content' to ensure it is getting the new settings or should it do this automatically and running this option is just for revision history?
Thanks,