none
如何配置AdminDeployment.xml来精简Visual Studio的安装? RRS feed

  • 问题

  • 最近想学习C/C++,所以想安装visual studio 2012,但是遗憾的是vs的组件实在多,我不想安装这么多,我找到了AdminDeployment.xml这个文件,通过这个文件可以自定义安装vs。但是我看不懂所有的配置,我怕装了一堆不想装的东西。所以请各位大神帮忙配置一下,我有几个要求:

    1.我需要C\C++编译,链接,调试的基本功能

    2.我需要git团队协作的功能

    3.我需要MFC,WPF这样的UI框架

    附上配置文件

    <?xml version="1.0" encoding="utf-8"?>
    <AdminDeploymentCustomizations xmlns="http://schemas.microsoft.com/wix/2011/AdminDeployment">
       <BundleCustomizations TargetDir="default" NoWeb="yes"/>

       <SelectableItemCustomizations>
         <SelectableItemCustomization Id="WebTools" Hidden="no" Selected="no"/>
         <SelectableItemCustomization Id="OfficeTools" Hidden="no" Selected="no"/>
         <SelectableItemCustomization Id="SharepointTools" Hidden="no" Selected="no"/>
         <SelectableItemCustomization Id="LightSwitch" Hidden="no" Selected="no"/>
         <SelectableItemCustomization Id="SilverLight_Developer_Kit" Hidden="no" Selected="no" />
         <SelectableItemCustomization Id="SQL" Hidden="no" Selected="no" />
         <SelectableItemCustomization Id="VC_MFC_Libraries" Hidden="no" Selected="yes" />
         <SelectableItemCustomization Id="Blend" Hidden="no" Selected="no" />

         <SelectableItemCustomization Id="BlissHidden" Selected="no" />
         <SelectableItemCustomization Id="HelpHidden" Selected="no" />
         <SelectableItemCustomization Id="IntelliTraceUltimateHidden" Selected="yes" />
         <SelectableItemCustomization Id="LocalDBHidden" Selected="yes" />
         <SelectableItemCustomization Id="NetFX4Hidden" Selected="yes" />
         <SelectableItemCustomization Id="NetFX45Hidden" Selected="yes" />
         <SelectableItemCustomization Id="PortableDTPHidden" Selected="no" />
         <SelectableItemCustomization Id="PreEmptiveDotfuscatorHidden" Selected="no" />
         <SelectableItemCustomization Id="PreEmptiveAnalyticsHidden" Selected="yes" />
         <SelectableItemCustomization Id="ProfilerHidden" Selected="yes" />
         <SelectableItemCustomization Id="ReportingHidden" Selected="yes" />
         <SelectableItemCustomization Id="RIAHidden" Selected="yes" />
         <SelectableItemCustomization Id="SDKTools3Hidden" Selected="yes" />
         <SelectableItemCustomization Id="SDKTools4Hidden" Selected="yes" />
         <SelectableItemCustomization Id="Silverlight5DRTHidden" Selected="yes" />
         <SelectableItemCustomization Id="SQLCEHidden" Selected="yes" />
         <SelectableItemCustomization Id="SQLCEToolsHidden" Selected="yes" />
         <SelectableItemCustomization Id="SQLCLRTypesHidden" Selected="yes" />
         <SelectableItemCustomization Id="SQLDACHidden" Selected="yes" />
         <SelectableItemCustomization Id="SQLDbProviderHidden" Selected="yes" />
         <SelectableItemCustomization Id="SQLDOMHidden" Selected="yes" />
         <SelectableItemCustomization Id="SQLSharedManagementObjectsHidden" Selected="yes" />
         <SelectableItemCustomization Id="StoryboardingHidden" Selected="yes" />
         <SelectableItemCustomization Id="TSQLHidden" Selected="yes" />
         <SelectableItemCustomization Id="VCCompilerHidden" Selected="yes" />
         <SelectableItemCustomization Id="VCCoreHidden" Selected="yes" />
         <SelectableItemCustomization Id="VCDebugHidden" Selected="yes" />
         <SelectableItemCustomization Id="VCDesigntimeHidden" Selected="yes" />
         <SelectableItemCustomization Id="VCExtendedHidden" Selected="yes" />
         <SelectableItemCustomization Id="WCFDataServicesHidden" Selected="yes" />
         <SelectableItemCustomization Id="WinJSHidden" Selected="yes" />
         <SelectableItemCustomization Id="WinSDKHidden" Selected="yes" />
      </SelectableItemCustomizations>

    </AdminDeploymentCustomizations>








    2016年11月9日 3:13

全部回复

  • 这样比较难折腾,现在硬盘很便宜,多装点组件,避免出现各种问题时的各种baidu或bing搜索,会节省很多时间。


    专注于.NET ERP/CRM开发框架,C/S架构,SQL Server + ORM(LLBL Gen Pro) + Infragistics WinForms

    2016年11月9日 6:49