重装CS5时(无论是photoshop cs5还是illustrator cs5),特别是如果以前装过精简版、绿色版之类的,那么很有可能在重装官方版时出现错误,最后导致部分或全部安装失败。这种问题一般返回的错误码是6,比如下面就是出错的样子和对应的故障排除信息:
故障排除信息:
Exit Code: 6
————————————– Summary ————————————–- 0 fatal error(s), 5 error(s), 9 warning(s)
WARNING: Warning: {2F6B67F4-A2BB-45D7-A80C-25FF646CC1C5} Adobe Player for Embedding will not be repaired, due to updated patch of STI and one of the top level payload is being installed.
WARNING: Warning: {2EBE92C3-F9D8-48B5-A32B-04FA5D1709FA} Adobe XMP Panels CS5 will not be repaired, due to updated patch of STI and one of the top level payload is being installed.
……(省略一堆WARNING)
WARNING: Warning: {0D067D13-C3D7-4EA6-B346-740CD91FD547} Adobe Bridge CS5 will not be repaired, due to updated patch of STI and one of the top level payload is being installed.
ERROR: MsiConfigureProductEx failed with error: 1638
ERROR: Payload {1D913F51-28A4-11DF-91B7-0024E8692489} has an action "install" but no resultStateERROR: The following payload errors were found during install:
ERROR: – Microsoft_VC90_ATL_x86: Install failed
ERROR: – Microsoft_VC90_ATL_x86: Install failed
对于这种日志,一般从最后看起,因为那一般是第一个错误,而第一个错误可能就是问题的根源。可以看到是Microsoft_VC90_ATL_x86和Microsoft_VC90_ATL_x86两个包安装失败导致安装出错,不妨去安装包的payloads文件夹里面找找这两个安装包。如图,命名很清晰:
分别找到“Microsoft_VC90_ATL_x86.msi” 和 “Microsoft_VC90_MFC_x86.msi”。手动运行,结果提示“已安装该程序的另一个版本”无法继续。果然,这应该是以前安装时没卸载干净留下的问题,只需要把原来装的这2个东西删除就OK。
但是控制面板里找不到这两个软件包,所以还需要费点力,用注册表编辑器regedit搜索出问题的软件包名字,比如Microsoft_VC90_MFC_x86,直到找到其installer的名字为止。比如在我的机器上:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\B5DEF536D6C2EB94786EA7F6DC22CBA5\InstallProperties
这里有Microsoft_VC90_MFC_x86的安装信息,在右边的数据里继续找,可以发现installer的名字:
看到了吧,该软件包对应的installer 叫3d2fa1.msi,接下来只需要去c:\windows\installer文件夹中找到它,运行并卸载即可。用同样的方法卸载Microsoft_VC90_ATL_x86,然后重新运行ADOBE CS5安装程序,应该问题就解决了。