win7 64位,在安装AutoCAD 2012时安装不了,具体看了一下是因为Framework4.0安装失败,因为本机已经安装了Framework4.5,
打开log日志最后一行如下:
.NET Framework Runtime 4.0 Failed Installation aborted, Result=1603
解决方法:
用记事本打开安装文件夹下的setup.ini
在DOTNET Begin下的每个子项最后面一行加上 IGNORE_FAILURE=YES
(表示忽略dotnet安装错误)
#============= DOTNET Begin ===============
[DOTNET4]
PLATFORM=ALL
PRODUCT_NAME=.NET Framework Runtime 4.0
EXE_PATH=3rdParty\NET\4\wcu\dotNetFramework\dotNetFx40_Full_x86_x64.exe
EXE_PARAM=/q
VC_FUNC=DotnetVerify
VC_SOURCE=Setup\SetupUi.dll
VC_PARAM=.NET Framework 4 Full
VC_DESCRIPTION=Detecting .NET 4.0 Runtime
DISKCOST=80000000
IGNORE_FAILURE=YES
[DOTNET4LANG]
PRODUCT_NAME=.NET Framework Runtime 4.0 Language Pack
EXE_PATH=3rdParty\NET\4\wcu\dotNetFramework\dotNetFx40LP_Full_x86_x64_%lang%.exe
EXE_PARAM=/q
EXE_LANGS=1036;1040;1031;1034;1046;1041;1042;2052;1028;1029;1038;1045;1049
DISKCOST=3000000
IGNORE_FAILURE=YES
[DOTNET20]
PLATFORM=NATIVE
PRODUCT_NAME=.NET Framework Runtime 2.0
EXE_PATH=3rdParty\%platform%\NET\2\NetFx20.exe
EXE_PARAM=/q:a /c:"install.exe /q"
VC_FUNC=DotnetVerify
VC_SOURCE=Setup\SetupUi.dll
VC_PARAM=.NET Framework 2.0
VC_DESCRIPTION=Detecting .NET 2.0 Runtime
DISKCOST=80000000
IGNORE_FAILURE=YES
[DOTNET]
PLATFORM=ALL
PRODUCT_NAME=.NET Framework Runtime 4.0
EXE_PATH=3rdParty\NET\4\wcu\dotNetFramework\dotNetFx40_Full_x86_x64.exe
VC_PARAM=4.0.30319
VC_DESCRIPTION=Detecting .NET 4.0 Runtime
IGNORE_FAILURE=YES
#============= DOTNET End ===============