谷歌浏览器Chrome升级出现如下错误的另类解决方法:
谷歌浏览器Chrome升级出现如下错误: 
无法获得更新服务器(错误:7) 
Update server not available (error 7) 
Google Update Installation failed with error 7 

在之前一篇文章:谷歌浏览器Chrome升级失败的解决方法中介绍了通过设置系统的环境变量TMP为默认值来解决升级Chrome时出现“错误:7”的办法。不过在最近谷歌发布的chrome_installer.exe安装包已经能够解决TMP被修改到其它位置的情况。

然后在最近升级到3.0.193.1版本的Chrome时“无法获得更新服务器(错误:7) ”的错误再次出现,尝试修改TMP变量为默认值仍旧无法升级成功。

经过一番折腾(主要是利用chrome_installer.exe –verbose-log生成的安装日志)经过成功升级。

解决办法:

将Chrome安装目录(C:\Documents and Settings\Administrator\Local Settings\Application Data\Google\Chrome\Application)中保留的旧版本的目录删除,如:3.0.195.1,3.0.193.1,只保留最新Chrome的版本的目录和“chrome.exe”、“First Run”文件,然后启动Chrome再次启动自动更新,或者使用下载版的chrome_installer.exe直接安装。

附chrome_installer.log:

——————————————————安装失败时的日志——————————————————————

[0717/153439:ERROR:move_tree_work_item.cc(46)] failed moving D:\Documents and Settings\Administrator\Local Settings\Application Data\Google\Chrome\Application\3.0.193.1 to P:\Temp\chrome_10416\3C9.tmp
[0717/153439:ERROR:work_item_list.cc(32)] list execution failed
[0717/153439:ERROR:install.cc(484)] Install failed, rolling back… 
[0717/153439:ERROR:install.cc(486)] Rollback complete. 
[0717/153439:ERROR:install.cc(514)] Install failed.

——————————————————-安装失败时的日志—————————————————————–

[0717/155714:INFO:setup_main.cc(618)] system install is 0
[0717/155714:INFO:install_util.cc(82)] Windows Version: 3, Service Pack: 2.0
[0717/155714:INFO:install_util.cc(72)] Existing Chrome version found 3.0.193.0
[0717/155714:INFO:setup_main.cc(670)] version on the system: 3.0.193.0
[0717/155714:INFO:install_util.cc(67)] No existing Chrome install found.
[0717/155714:INFO:setup_main.cc(327)] Archive found to install Chrome C:\Documents and Settings\Administrator\Local Settings\Temp\CR_3DA.tmp\CHROME.PACKED.7Z
[0717/155714:INFO:setup_main.cc(341)] created path C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\chrome_14853
[0717/155714:INFO:setup_main.cc(98)] Opening archive C:\Documents and Settings\Administrator\Local Settings\Temp\CR_3DA.tmp\CHROME.PACKED.7Z
[0717/155714:INFO:setup_main.cc(102)] Uncompressing archive to path C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\chrome_14853
[0717/155716:INFO:setup_main.cc(142)] Opening archive C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\chrome_14853\chrome.7z
[0717/155716:INFO:setup_main.cc(147)] Unpacking archive to path C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\chrome_14853\source
[0717/155717:INFO:setup_main.cc(355)] unpacked to C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\chrome_14853\source
[0717/155717:INFO:setup_util.cc(14)] Looking for Chrome version folder under C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\chrome_14853\source\Chrome-bin
[0717/155717:INFO:setup_util.cc(27)] directory found: .
[0717/155717:INFO:setup_util.cc(27)] directory found: ..
[0717/155717:INFO:setup_util.cc(27)] directory found: 3.0.193.1
[0717/155717:INFO:setup_main.cc(367)] version to install: 3.0.193.1
[0717/155717:INFO:install.cc(501)] install destination path: D:\Documents and Settings\Administrator\Local Settings\Application Data\Google\Chrome\Application
[0717/155717:INFO:create_dir_work_item.cc(32)] creating directory C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\chrome_14853
[0717/155717:INFO:create_dir_work_item.cc(32)] creating directory D:\Documents and Settings\Administrator\Local Settings\Application Data\Google\Chrome\Application
[0717/155717:ERROR:move_tree_work_item.cc(46)] failed moving D:\Documents and Settings\Administrator\Local Settings\Application Data\Google\Chrome\Application\3.0.193.1 to C:\Documents and Settings\Administrator\Local Settings\Temp\chrome_14853\3DB.tmp
[0717/155717:ERROR:work_item_list.cc(32)] list execution failed
[0717/155717:ERROR:install.cc(484)] Install failed, rolling back… 
[0717/155717:ERROR:install.cc(486)] Rollback complete. 
[0717/155717:ERROR:install.cc(514)] Install failed.
[0717/155717:INFO:create_reg_key_work_item.cc(47)] Software exists
[0717/155717:INFO:create_reg_key_work_item.cc(47)] Software\Google exists
[0717/155717:INFO:create_reg_key_work_item.cc(47)] Software\Google\Update exists
[0717/155717:INFO:create_reg_key_work_item.cc(47)] Software\Google\Update\ClientState exists
[0717/155717:INFO:create_reg_key_work_item.cc(47)] Software\Google\Update\ClientState\{8A69D345-D564-463c-AFF1-A69D9E530F96} exists
[0717/155717:INFO:set_reg_value_work_item.cc(77)] overwritten value for InstallerResult
[0717/155717:INFO:set_reg_value_work_item.cc(77)] overwritten value for InstallerError
[0717/155717:INFO:set_reg_value_work_item.cc(77)] overwritten value for InstallerResultUIString
[0717/155717:INFO:set_reg_value_work_item.cc(77)] overwritten value for InstallerSuccessLaunchCmdLine
[0717/155717:INFO:work_item_list.cc(39)] list execution succeeded
[0717/155717:INFO:setup_main.cc(423)] Deleting temporary directory C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\chrome_14853
[0717/155721:INFO:work_item_list.cc(39)] list execution succeeded
[0717/155721:INFO:google_chrome_distribution.cc(246)] Incremental installer failure key already set.
[0717/155721:INFO:google_chrome_distribution.cc(252)] Removing failure key from value 2.0-dev-full
 

———————————————————–安装成功的日志————————————————————-

见附件

 

附件:chrome_installer_03.log(8857 Byte)