由于Windows 7自带了.NET Framework 3.5 SP1, 所以在安装VS 2008 SP1的时候会发生fatal error during installation的错误, 网上找来解决办法是需要将SP1中一个配置文件关于 3.5 的部分删除掉。

于是将SP1的ISO文件解压缩出来, 找到ParameterInfo.xml文件, 定位到

<Exe Name="dotnetfx35.exe" URL="http://go.microsoft.com/fwlink/?LinkId=119353&amp;clcid=0x409" DownloadSize="242743296" SystemDriveSize="859390404" InstalledProductSize="0" InstallCommandLine="/q /norestart /lang:ENU" UninstallCommandLine="/q /uninstall" CanonicalTargetName="#(loc.dotnetfx35sp1)" ExeType="Cartman" LogFileHint="%temp%\dd_dotnet*.txt|%temp%\dd_net_framework*.txt|%temp%\dd_depcheck*.txt|%temp%\..\dd_dotnet*.txt|%temp%\..\dd_net_framework*.txt|%temp%\..\dd_depcheck*.txt" HashValue="0582515BDE321E072F8673E829E175ED2E7A53E803127C50253AF76528E66BC1">
      <ApplicableIf>
        <GreaterThan LeftHandSide="3.5.30729.01" BoolWhenNonExistent="true">
          <RegKeyValue Location="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5\Version" />
        </GreaterThan>
      </ApplicableIf>
    </Exe>

删除该节点。 如果是中文的visual studio, 还有语言包。保存文件,最后再次运行SPInstall.exe。测试通过!Windows 7 安装VS2008 SP1 失败

哈哈!

相关文章:

  • 2022-12-23
  • 2022-02-04
  • 2021-08-04
  • 2021-11-04
  • 2021-06-18
  • 2021-04-29
  • 2022-12-23
  • 2021-07-19
猜你喜欢
  • 2022-03-03
  • 2021-07-12
  • 2021-09-17
  • 2021-11-21
  • 2021-08-18
  • 2022-12-23
  • 2021-12-27
相关资源
相似解决方案