.bat script not working when trying to deploy Google Chrome (StandaloneEnterprise64)
My .bat script do not work when trying to deploy Google Chrome (StandaloneEnterprise64). Can you guys please help me out?
I have only worked with applications 4 months or so.. Might be me that is the problem :D
This is the .bat script that is not working:
msiexec /qb /norestart /i "%~dp0googlechromestandaloneenterprise64.msi"
if exist "c:\Program Files\Google\Chrome\Application\" copy /y "%~dp0master_preferences" "C:\Program Files\Google\Chrome\Application\"
if exist "c:\Program Files (x86)\Google\Chrome\Application\" copy /y "%~dp0master_preferences" "C:\Program Files (x86)\Google\Chrome\"
reg add HKLM\Software\Policies\Google\Update /f /v AutoUpdateCheckPeriodMinutes /d 0
del "C:\Users\Public\Desktop\Google Chrome.lnk"
Answer Chosen by the Author
1. Always add logging to an MSI installation. If anything goes wrong, without a log, you'll waste a lot of time trying to determine what went wrong.
2. Similarly, I always use Robocopy to copy files and folders because it too has logging