在 Windows 10 上安装 3D Stuido Max 2016 报错,无法正常安装,查看日志是 VC 运行时安装错误,经过分析发现在 Windows 10 上已经有这些运行时并且版本比安装包中自带的还要高,所以安装总是失败,分析安装程序配套的 setup.ini 文件,发现里面有运行时安装的配置信息,并且可以忽略错误,因此修改 setup.ini 文件,然后就可以顺利进行安装了,修改后的 setup.ini 文件如所示
#============= VCREDIST Begin =============== [VCREDIST2012X86] PLATFORM=ALL PRODUCT_NAME=Microsoft Visual C++ 2012 Redistributable (x86) EXE_PATH=3rdParty\x86\VCRedist\2012UPD4\vcredist_x86.exe EXE_PARAM=/install /quiet /norestart IGNORE_ERROR=5100 IGNORE_FAILURE=YES [VCREDIST2012X64] PLATFORM=x64 PRODUCT_NAME=Microsoft Visual C++ 2012 Redistributable (x64) EXE64_PATH=3rdParty\x64\VCRedist\2012UPD4\vcredist_x64.exe EXE_PARAM=/install /quiet /norestart IGNORE_ERROR=5100 IGNORE_FAILURE=YES [VCREDIST2010SP1X86] PLATFORM=ALL PRODUCT_NAME=Microsoft Visual C++ 2010 SP1 Redistributable (x86) EXE_PATH=3rdParty\x86\VCRedist\2010SP1\vcredist_x86.exe EXE_PARAM=/q /norestart VC_FUNC=VCx86RedisCheck VC_SOURCE=Setup\SetupUi.dll VC_PARAM={F0C3E5D1-1ADE-321E-8167-68EF0DE699A5} IGNORE_ERROR=5100 IGNORE_FAILURE=YES [VCREDIST2010SP1X64] PLATFORM=x64 PRODUCT_NAME=Microsoft Visual C++ 2010 SP1 Redistributable (x64) EXE64_PATH=3rdParty\x64\VCRedist\2010SP1\vcredist_x64.exe EXE_PARAM=/q /norestart VC_FUNC=VCx64RedisCheck VC_SOURCE=Setup\SetupUi.dll VC_PARAM={1D8E6291-B0D5-35EC-8441-6616F567A0F7} IGNORE_ERROR=5100 IGNORE_FAILURE=YES [VCREDIST2008SP1X86] PLATFORM=ALL PRODUCT_NAME=Microsoft Visual C++ 2008 SP1 Redistributable (x86) EXE_PATH=3rdParty\x86\VCRedist\2008SP1\vcredist_x86.exe EXE_PARAM=/q VC_FUNC=VCx86RedisCheck VC_SOURCE=Setup\SetupUi.dll VC_PARAM={1F1C2DFC-2D24-3E06-BCB8-725134ADF989} IGNORE_FAILURE=YES [VCREDIST2008SP1X64] PLATFORM=x64 PRODUCT_NAME=Microsoft Visual C++ 2008 SP1 Redistributable (x64) EXE64_PATH=3rdParty\x64\VCRedist\2008SP1\vcredist_x64.exe EXE_PARAM=/q VC_FUNC=VCx64RedisCheck VC_SOURCE=Setup\SetupUi.dll VC_PARAM={4B6C7001-C7D6-3710-913E-5BC23FCE91E6} IGNORE_FAILURE=YES #============= VCREDIST End ===============
添加红色部分,即可正常进行安装了;
时间: 2024-11-03 22:51:07