解决VS2008安装正常,一安装SP1就失败的问题

 今天重装系统,在装完vs2008,升级sp1时报了个错,错误如下:
Exe (E:\GenPlan Company Project\VS2008SP1CHSX1512981\vs90sp1\VC_IA64Runtime.exe) succeeded.
[8/1/2009, 23:21:59] Action complete
[8/1/2009, 23:21:59] (IronSpigot::RegKeyT<class ATL::CRegKey>::Evaluate) RegKey: HKLM\SOFTWARE\Microsoft\VisualStudio\9.0 exists.
[8/1/2009, 23:21:59] Exists evaluated to true
[8/1/2009, 23:21:59] (IronSpigot::ExeInstallerBase::ExeInstallerBase) Created new ExePerformer for Exe item
[8/1/2009, 23:21:59] (IronSpigot::CartmanExeInstallerBase::CartmanExeInstallerBase) Created new CartmanExePerformer for Exe item
[8/1/2009, 23:21:59] (IronSpigot::CartmanExeInstaller::CartmanExeInstaller) In CartmanExeInstaller::CartmanExeInstaller
[8/1/2009, 23:21:59] (IronSpigot::CompositePerformerBaseT<class IronSpigot::MsiInstaller,struct IronSpigot::MspInstaller,struct IronSpigot::MultipleMspInstaller,class IronSpigot::ExeSelectingPerformer<class IronSpigot::ExeInstaller,class IronSpigot::CartmanExeInstaller> >::PerformAction) Created new ExePerformer for Exe item
[8/1/2009, 23:21:59] (IronSpigot::CartmanExeInstallerBase::PreCreateProcess) In PreCreateProcess
[8/1/2009, 23:21:59] (IronSpigot::CartmanExeInstallerBase::PreCreateProcess) m_pSetupWatcher->Connect succeeded
[8/1/2009, 23:21:59] (IronSpigot::ExeInstallerBase::Launch) Launching CreateProcess with command line = dotnetfx35langpack_x86zh-CHS.exe /q /norestart /progress CartmanSetupExeWatcher277306079
[8/1/2009, 23:21:59] (IronSpigot::CartmanExeInstallerBase::PostCreateProcess) PostCreateProcess succeeded
[8/1/2009, 23:22:26] (IronSpigot::ExeInstallerBase::EnsureExitCodeIsAnMSIErrorCode) Original exit code: E:\GenPlan Company Project\VS2008SP1CHSX1512981\vs90sp1\dotnetfx35langpack_x86zh-CHS.exe returned non-MSI error code: 0x1 - 函数不正确。
[8/1/2009, 23:22:26] (IronSpigot::ExeInstallerBase::PerformAction) Exe log file(s) :
[8/1/2009, 23:22:26] (IronSpigot::ExeInstallerBase::PerformAction) C:\Users\ADMINI~1\AppData\Local\Temp\dd_dotnetfx35error_lp.txt
[8/1/2009, 23:22:26] (IronSpigot::ExeInstallerBase::PerformAction) C:\Users\ADMINI~1\AppData\Local\Temp\dd_dotnetfx35install_lp.txt
[8/1/2009, 23:22:26] (IronSpigot::ExeInstallerBase::PerformAction) C:\Users\ADMINI~1\AppData\Local\Temp\dd_depcheck_NETFX_EXP_35.txt
[8/1/2009, 23:22:26] (IronSpigot::ExeInstallerBase::PerformAction) Exe (E:\GenPlan Company Project\VS2008SP1CHSX1512981\vs90sp1\dotnetfx35langpack_x86zh-CHS.exe) failed with 0x80070643 - 安装时发生严重错误 .
[8/1/2009, 23:22:26] (IronSpigot::ExeInstallerBase::PerformAction) Log File: dd_dotnetfx35error_lp.txt
[8/1/2009, 23:22:26] (IronSpigot::ExeInstallerBase::PerformAction) Log File: dd_dotnetfx35install_lp.txt
[8/1/2009, 23:22:26] (IronSpigot::ExeInstallerBase::PerformAction) Log File: dd_depcheck_NETFX_EXP_35.txt
[8/1/2009, 23:22:26] (IronSpigot::ExeInstallerBase::PerformAction) PerformOperation on exe returned exit code 1603 (translates to HRESULT = 0x80070643)
[8/1/2009, 23:22:26] Action complete
[8/1/2009, 23:22:26] (IronSpigot::LogUtils::LogFinalResult) Final Result: Installation failed with error code: (0x80070643), 安装时发生严重错误
[8/1/2009, 23:22:26] Action complete

这个错误可以看出是个dotnetfx35langpack_x86zh-CHS.exe中文包的问题,原来是vs2008 中文版的安装时已经安装了中文版,但是sp1补丁没这么聪明,所以重复了,就抱错了. 那怎么解决,试了删除不行,方法有两种:
办法一是改安装脚本ParameterInfo.xml绕过语言包的安装,办法二是安装到该包包时骗过安装程序返回成功结果就可以。

第二个办法比较简单:
首先把SP1的所有文件复制到硬盘上,打开vs90sp1文件夹,然后复制一份该文件夹下的VC_x86Runtime.exe改名dotnetfx35langpack_x86zh-CHS.exe替换该目录的dotnetfx35langpack_x86zh-CHS.exe,然后再运行SPInstaller.exe安装即可。

转载于:https://www.cnblogs.com/lichang1987/archive/2009/08/02/1536744.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值