Does anyone know how to disable Google Chrome for being automatic update itself, it cause my web application always change?
I have tried these methods:
We automate the Chrome install and disable the auto update with Chef. When Chef tried to rename the entire Update directory, it failed with the "Access denied" error. Because Chef cannot click Yes when a security prompt comes up, the renaming of the entire Update directory does not work for us. We rename only the updater executable with
rename GoogleUpdate.exe GoogleUpdate_disabled.tmp
The entire Chef resource is
batch 'disable_chrome_update' do
code <<-EOF
cd "C:\\Program Files (x86)\\Google\\Update"
rename GoogleUpdate.exe GoogleUpdate_disabled.tmp
EOF
only_if {File.exists?("C:\\Program Files (x86)\\Google\\Update\\GoogleUpdate.exe")}
end