How to disable Google Chrome auto update?

后端 未结 30 1422
一生所求
一生所求 2020-11-28 01:31

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:

30条回答
  •  盖世英雄少女心
    2020-11-28 02:24

    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
    

提交回复
热议问题