Chrome、Edge、Firefox离线安装包下载与禁用更新

谷歌Chrome浏览器

下载

windows

  1. 打开http://www.google.cn/chrome/browser/desktop/index.html
  2. 在网址最后加上:?standalone=1&platform=win64,回车键后打开的是 64位下载页面,点击“下载Chrome”按钮,得到的就是Google Chrome 64位离线安装包
    注释

其中 ?standalone=1 指离线安装包,platform=win64 指64位Windows 版本。
如果加上的只是“?standalone=1”可以用来下载32位的Chrome离线包。用“mac”替换“win”,就可以下载 Mac 版本的了。
可以选择不同的版本https://www.google.com/chrome/?system=true&standalone=1&platform=win64,建议选择企业版

linux(Centos7)

最新版本下载地址如下:
https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
安装流程如下:

 yum install -y lsb
 yum install -y libXScrnSaver 
 yum localinstall -y google-chrome-stable_current_x86_64.rpm

常用链接

  1. Google Chrome 策略配置
  2. macOS最新稳定版固定下载地址
    1. Chrome for macOS with Intel chip
    2. Chrome for macOS with Apple chip
  3. Linux最新稳定版固定下载地址
    1. Chrome for Linux – deb
    2. Chrome for Linux – rpm
  4. Windows System Setup最新稳定版固定下载地址,安装在Program Files文件夹下,需要管理员权限安装
    1. Google Chrome System Setup x86 - 32bit
    2. Google Chrome System Setup x64 - 64bit
  5. Windows User Setup,安装在Users文件夹下
  6. Windows版固定下载地址
    1. Download Google Chrome Offline Installer (32-bit)
    2. Download Google Chrome Offline Installer (64-bit)
    3. Google Chrome Offline Installer for All User Accounts (32-bit)
    4. Google Chrome Offline Installer for All User Accounts (64-bit)
    5. Download Google Chrome MSI Installer for Windows
    6. Download Google Chrome MSI Installer for Windows (Alternative Link)

禁止更新

Chrome 在 Windows 平台同时发布两个版本,分别是:

  1. 企业版即Windows System Setup,安装在Program Files文件夹下,需要管理员权限安装;
  2. 用户版即Windows User Setup,安装在Users文件夹下,不需要管理员权限,普通用户就可以安装

企业版

根据以下路径,手动禁用或者删除即可禁用自动更新

# 更新服务:
Google 更新服务 (gupdate)
Google 更新服务 (gupdatem)
Google Chrome Elevation Service (GoogleChromeElevationService)

# 任务计划:
GoogleUpdateTaskMachineCore
GoogleUpdateTaskMachineUA

# 安装路径:
x64
C:\Program Files\Google\Chrome\Application\chrome.exe
x86
C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

# GoogleUpdate.exe 路径:
x64 和 x86 版本相同
C:\Program Files (x86)\Google\Update\GoogleUpdate.exe

用户版

# 用户版安装路径:
C:\Users\用户名\AppData\Local\Google\Chrome\Application\chrome.exe

用户版不带自动更新程序

使用 PowerShell 禁用更新

打开PowerShell直接复制以下脚本运行一下更加方便:

if ([Environment]::Is64BitOperatingSystem -eq "True") {
    #Write-Host "64-bit OS"
    $PF=${env:ProgramFiles(x86)}
}
else {
    #Write-Host "32-bit OS"
    $PF=$env:ProgramFiles
}

if ($(Test-Path "$env:ProgramFiles\Google\Chrome\Application\chrome.exe") -eq "true") {
    # 结束进程
    taskkill /im chrome.exe /f
    taskkill /im GoogleUpdate.exe /f
    # Google Chrome 更新服务
    #这里也可以使用 sc.exe stop "service name"
    Stop-Service -Name "gupdate"
    Stop-Service -Name "gupdatem"
    Stop-Service -Name "GoogleChromeElevationService"
    # Windows 10 默认 PS 版本 5.1 没有 Remove-Service 命令
    # This cmdlet was added in PS v6. See https://docs.microsoft.com/en-us/powershell/scripting/whats-new/what-s-new-in-powershell-core-60?view=powershell-6#cmdlet-updates.
    #Remove-Service -Name "gupdate"
    #Remove-Service -Name "gupdatem"
    #Remove-Service -Name "GoogleChromeElevationService"
    # sc 在 PowerShell 中是 Set-Content 别名,所以要使用 sc.exe 否则执行后无任何效果
    sc.exe delete "gupdate"
    sc.exe delete "gupdatem"
    sc.exe delete "GoogleChromeElevationService"
    # 任务计划企业版
    schtasks.exe /Delete /TN \GoogleUpdateBrowserReplacementTask /F
    schtasks.exe /Delete /TN \GoogleUpdateTaskMachineCore /F
    schtasks.exe /Delete /TN \GoogleUpdateTaskMachineUA /F
    # 移除更新程序
    Remove-Item "$PF\Google\Update\" -Recurse  -Force
    Write-Output "Disable Google Chrome Enterprise x64 Auto Update Successful!"
}
elseif ($(Test-Path "${env:ProgramFiles(x86)}\Google\Chrome\Application\chrome.exe") -eq "true") {
    # 结束进程
    taskkill /im chrome.exe /f
    taskkill /im GoogleUpdate.exe /f
    # Google Chrome 更新服务
    #这里也可以使用 sc.exe stop "service name"
    Stop-Service -Name "gupdate"
    Stop-Service -Name "gupdatem"
    Stop-Service -Name "GoogleChromeElevationService"
    # Windows 10 默认 PS 版本 5.1 没有 Remove-Service 命令
    # This cmdlet was added in PS v6. See https://docs.microsoft.com/en-us/powershell/scripting/whats-new/what-s-new-in-powershell-core-60?view=powershell-6#cmdlet-updates.
    #Remove-Service -Name "gupdate"
    #Remove-Service -Name "gupdatem"
    #Remove-Service -Name "GoogleChromeElevationService"
    # sc 在 PowerShell 中是 Set-Content 别名,所以要使用 sc.exe 否则执行后无任何效果
    sc.exe delete "gupdate"
    sc.exe delete "gupdatem"
    sc.exe delete "GoogleChromeElevationService"
    # 任务计划企业版
    schtasks.exe /Delete /TN \GoogleUpdateBrowserReplacementTask /F
    schtasks.exe /Delete /TN \GoogleUpdateTaskMachineCore /F
    schtasks.exe /Delete /TN \GoogleUpdateTaskMachineUA /F
    # 移除更新程序
    Remove-Item "$PF\Google\Update\" -Recurse  -Force
    Write-Output "Disable Google Chrome Enterprise x86 Auto Update Successful!"
}
else {
    Write-Output "No Google Chrome Enterprise Installation Detected!"
}

微软Edge浏览器

下载

离线安装包下载地址:https://www.microsoft.com/zh-cn/edge/business/download

常用链接

  1. Microsoft Edge 策略配置
  2. Microsoft Edge企业版下载
    1. Windows
      1. Microsoft Edge X64.msi
      2. Microsoft Edge X86.msi
    2. macOS
      1. Microsoft Edge Universal (Apple Chip)
      2. Microsoft Edge 64-bit (Intel Chip)

禁止更新

Edge 在 Windows 平台同时发布两个版本,分别是:

  1. 企业版即Windows System Setup,安装在Program Files文件夹下,需要管理员权限安装;
  2. 用户版即Windows User Setup,安装在Users文件夹下,不需要管理员权限,普通用户就可以安装

企业版

根据以下路径,手动禁用或者删除即可禁用自动更新

# 服务:
Microsoft Edge 更新 服务 (edgeupdate)
Microsoft Edge 更新 服务 (edgeupdatem)
Microsoft Edge Elevation Service (MicrosoftEdgeElevationService)

# 任务计划:
MicrosoftEdgeUpdateBrowserReplacementTask
MicrosoftEdgeUpdateTaskMachineCore
MicrosoftEdgeUpdateTaskMachineUA

# 安装路径:
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
# 更新程序路径:
C:\Program Files (x86)\Microsoft\EdgeUpdate\MicrosoftEdgeUpdate.exe

无论64-bit还是32-bit的Edge都安装在Program Files (x86)目录下面(Chrome 没有这个问题)

用户版

用户版使用以下方法自动更新

# 任务计划:
MicrosoftEdgeUpdateTaskUser当前用户的SIDCore
MicrosoftEdgeUpdateTaskUser当前用户的SIDUA
# 例如:
MicrosoftEdgeUpdateTaskUserS-1-5-21-3860493963-3742860931-3732056798-500Core
MicrosoftEdgeUpdateTaskUserS-1-5-21-3860493963-3742860931-3732056798-500UA

# 用户版安装路径:
C:\Users\用户名\AppData\Local\Microsoft\Edge\Application\msedge.exe
# 自动更新程序路径:
C:\Users\用户名\AppData\Local\Microsoft\EdgeUpdate\MicrosoftEdgeUpdate.exe

使用PowerShell禁用更新

if ([Environment]::Is64BitOperatingSystem -eq "True") {
    #Write-Host "64-bit OS"
    $PF=${env:ProgramFiles(x86)}
}
else {
    #Write-Host "32-bit OS"
    $PF=$env:ProgramFiles
}

if ($(Test-Path "$PF\Microsoft\Edge\Application\msedge.exe") -eq "True") {
    # 结束进程
    taskkill /im MicrosoftEdgeUpdate.exe /f
    taskkill /im msedge.exe /f
    # Microsoft Edge 更新服务
    #这里也可以使用 sc.exe stop "service name"
    Stop-Service -Name "edgeupdate"
    Stop-Service -Name "edgeupdatem"
    Stop-Service -Name "MicrosoftEdgeElevationService"
    # Windows 10 默认 PS 版本 5.1 没有 Remove-Service 命令
    # This cmdlet was added in PS v6. See https://docs.microsoft.com/en-us/powershell/scripting/whats-new/what-s-new-in-powershell-core-60?view=powershell-6#cmdlet-updates.
    #Remove-Service -Name "edgeupdate"
    #Remove-Service -Name "edgeupdatem"
    #Remove-Service -Name "MicrosoftEdgeElevationService"
    # sc 在 PowerShell 中是 Set-Content 别名,所以要使用 sc.exe 否则执行后无任何效果
    sc.exe delete "edgeupdate"
    sc.exe delete "edgeupdatem"
    sc.exe delete "MicrosoftEdgeElevationService"
    # 任务计划企业版
    schtasks.exe /Delete /TN \MicrosoftEdgeUpdateBrowserReplacementTask /F
    schtasks.exe /Delete /TN \MicrosoftEdgeUpdateTaskMachineCore /F
    schtasks.exe /Delete /TN \MicrosoftEdgeUpdateTaskMachineUA /F
    # 移除更新程序
    Remove-Item "$PF\Microsoft\EdgeUpdate" -Recurse  -Force
    Write-Output "Disable Microsoft Edge Enterprise Auto Update Successful!"
}
elseif ($(Test-Path "$env:USERPROFILE\AppData\Local\Microsoft\Edge\Application\msedge.exe") -eq "True") {
    # 结束进程
    taskkill /im MicrosoftEdgeUpdate.exe /f
    taskkill /im msedge.exe /f
    # 用户版没有创建服务
    # 获取SID方法
    function Get-CurrentUserSID {
        [CmdletBinding()]
        param(
        )
        Add-Type -AssemblyName System.DirectoryServices.AccountManagement
        return ([System.DirectoryServices.AccountManagement.UserPrincipal]::Current).SID.Value
    }
    # 用户版任务计划
    schtasks.exe /Delete /TN \MicrosoftEdgeUpdateTaskUser$(Get-CurrentUserSID)Core /F
    schtasks.exe /Delete /TN \MicrosoftEdgeUpdateTaskUser$(Get-CurrentUserSID)UA /F
    # 移除更新程序
    Remove-Item  "$env:USERPROFILE\AppData\Local\Microsoft\EdgeUpdate" -Recurse  -Force
    Write-Output "Disable Microsoft Edge Users Setup Auto Update Successful!"
}
else {
    Write-Output "No Microsoft Edge Installation Detected!"
}

火狐FireFox浏览器

下载

离线安装包下载地址:http://www.firefox.com.cn/download/

禁止更新

方法1:使用策略文件

官方策略模板:https://github.com/mozilla/policy-templates/releases
创建策略文件:<Firefox 安装目录>\distribution\policies.json,内容如下

{
  "policies": {
    "DisableAppUpdate.": false
  }
}

方法2:使用注册表

  1. 手动
    HKEY_LOCAL_MACHINE\\Software\\Policies创建项Mozilla,再创建项Firefox创建完毕即HKEY_LOCAL_MACHINE\\Software\\Policies\\Mozilla\\Firefox
    在上述路径,右键点击空白处,新建一个DWORD (32-Bit) Value,名称为DisableAppUpdate
    双击创建的DisableAppUpdate,将值修改为1
  2. 直接使用注册文件
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Firefox]
"DisableAppUpdate"=dword:00000001
  1. 直接CMD指令
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Firefox" /v DisableAppUpdate /t REG_DWORD /d 1 /f