文章目录
目的
- vs安装冗余度过大,深度占用系统磁盘空间
- 用最小体积安装vs
步骤
- 修该 Setup\vs_setup.pdi(locdata.ini为说明文件) 中 [Complete Dependency List]/[Microsoft Visual Studio 2010…] 为:
gencomp15
gencomp784
gencomp16
gencomp387,{12CDA52C-7A8F-4785-8A22-53C87393FEE0}
gencomp384,{12CDA52C-7A8F-4785-8A22-53C87393FEE0}
gencomp43,{5883FD8F-CE63-48BC-8A02-D1633E41F6C3}
gencomp64,{12CDA52C-7A8F-4785-8A22-53C87393FEE0}
gencomp48,{12CDA52C-7A8F-4785-8A22-53C87393FEE0}
vs_setup.dll
gencomp478,{12CDA52C-7A8F-4785-8A22-53C87393FEE0}
gencomp108,{12CDA52C-7A8F-4785-8A22-53C87393FEE0}
gencomp49,{12CDA52C-7A8F-4785-8A22-53C87393FEE0}
- 修改 Setup\baseline.dat,将 [vs_setup.dll] 中 UseMediaFwlinks=1 后全部删除.(Framwork)
- 不要删除以下配置项:
- Microsoft Visual Studio Macro Tools
- Microsoft .NET Framework 4 Extended
//NET Framework 4扩展. 不能删除.
- Microsoft Visual C++ 开发组件包
Microsoft Visual C++ 2008 Redistributable
Microsoft Visual C++ 2008 Redistributable
Microsoft Visual C++ 2010 x64 Runtime
Microsoft Visual C++ 2010 x86 Runtime
Microsoft SQL Server Compact 3.5 SP2 CHS
//删除会影响IntelliSence, WCU\SSCE\SSCERuntime_x86-enu.msi
Microsoft SQL Server 2008 R2 Data-Tier Application Project//WCU\DAC\DACProjectSystemSetup_enu.msi
CrystalReports //WCU\Crystal Reports\CrystalReportsTemplates.msi-->右键-卸载.
- Microsoft .NET Framework 4 Client Profile
//优化.net客户端的运行. "可以删除,但不建议删除".
Microsoft .NET Framework 4 Multi-Targeting Pack//NET跨平台准备的东西. "可以删除,不建议删除".