Quantcast
Channel: Configuration Manager 2012 - Application Management forum
Viewing all articles
Browse latest Browse all 4762

Batch file runs fine manually but fails to install when deployed as a package

$
0
0

When i run the following batch file as an administrator everything installs correctly. When its deployed as a package from sccm 2012 r2, the command are processed but nothing happens. In the event viewer I see the windows installer begin event 1040, and within the same second it ends with with event id 1042. I have verbose logging turned on for windows installer but no logs are even created. 

start /wait msiexec /i "\\server\Software\Quick Time\v7.75\AppleApplicationSupport.msi" /q

start /wait msiexec /i "\\server\Software\Quick Time\v7.75\quicktime.msi" DESKTOP_SHORTCUTS=NO /q

mkdir C:\Users\Default\AppData\locallow

mkdir "C:\Users\Default\AppData\locallow\apple computer"

mkdir "C:\Users\Default\AppData\locallow\apple computer\quicktime"

copy "\\server\Software\Quick Time\v7.75\quicktime.qtp" "C:\Users\Default\AppData\locallow\apple computer\quicktime"

exit 0


Viewing all articles
Browse latest Browse all 4762

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>