zoukankan      html  css  js  c++  java
  • Microsoft Office 2010/2013安装组件预设


     

      日常维护中,多台电脑需要安装Office,可是Office包含的组件又很多(Excel/Word/PPT/OUTLOOK/ACCESS等),有些是不需要的,默认情况下Office都默认安装,一个一个调整过于麻烦,经过查找资料,找到了相应的解决办法。

    方法:

      用记事本打开安装目录下Microsoft_Office_2010ProPlus.wwconfig.xml文件,修改如下(默认只安装ExcelWordPPTOutlook)

    <Configuration Product="ProPlus">
    
        <Display Level="full" CompletionNotice="yes" SuppressModal="no" AcceptEula="yes" />
        
        <!-- <Logging Type="standard" Path="%temp%" Template="Microsoft Office Professional Plus Setup(*).txt" /> -->
    
        <!-- <USERNAME Value="Customer" /> -->
        
        <!-- <COMPANYNAME Value="MyCompany" /> -->
        
        <!-- <INSTALLLOCATION Value="%programfiles%Microsoft Office" /> -->
        
        <!-- <LIS CACHEACTION="CacheOnly" /> -->
        
        <!-- <LIS SOURCELIST="\server1shareOffice;\server2shareOffice" /> -->
        
        <!-- <DistributionPoint Location="\servershareOffice" /> -->
        
        <!-- <OptionState Id="OptionID" State="absent" Children="force" /> -->
        
        <OptionState Id="WORDFiles" State="Local" Children="force" />
        <OptionState Id="EXCELFiles" State="Local" Children="force" />
        <OptionState Id="OUTLOOKFiles" State="Local" Children="force" /> 
        <OptionState Id="PPTFiles" State="Local" Children="force" /> 
    
        <OptionState Id="ACCESSFiles" State="Absent" Children="force" />
        <OptionState Id="VisioPreviewerFiles" State="Absent" Children="force" />
        <OptionState Id="PubPrimary" State="Absent" Children="force" /> 
        <OptionState Id="OneNoteFiles" State="Absent" Children="force" /> 
         <OptionState Id="XDOCSFiles" State="Absent" Children="force" />
        <OptionState Id="GrooveFiles" State="Absent" Children="force" />
    
        <OptionState Id="SHAREDFiles" State="Local" Children="force" />
        <OptionState Id="TOOLSFiles" State="Local" Children="force" />  
    
        <!-- <Setting Id="SETUP_REBOOT" Value="IfNeeded" /> -->
        
        <!-- <Command Path="%windir%system32msiexec.exe" Args="/i \serversharemy.msi" QuietArg="/q" ChainPosition="after" Execute="install" /> -->
    
    </Configuration>

    通过观察,不难发现,关键在State,Local为默认安装,Absent为不安装。

    下面附上Office 2013的配置文件

    <Configuration Product="ProPlus">
    
        <Display Level="full" CompletionNotice="yes" SuppressModal="no" AcceptEula="yes" /> 
        
        <!-- <Logging Type="standard" Path="%temp%" Template="Microsoft Office Professional Plus Setup(*).txt" /> -->
    
        <!-- <USERNAME Value="Customer" /> -->
        
        <!-- <COMPANYNAME Value="MyCompany" /> -->
        
        <!-- <INSTALLLOCATION Value="%programfiles%Microsoft Office" /> -->
        
        <!-- <LIS CACHEACTION="CacheOnly" /> -->
        
        <!-- <LIS SOURCELIST="\server1shareOffice;\server2shareOffice" /> -->
        
        <!-- <DistributionPoint Location="\servershareOffice" /> -->
        
        <!-- <OptionState Id="OptionID" State="absent" Children="force" /> -->
        <OptionState Id="WORDFiles" State="Local" Children="force" />
        <OptionState Id="EXCELFiles" State="Local" Children="force" />
        <OptionState Id="OUTLOOKFiles" State="Local" Children="force" /> 
        <OptionState Id="PPTFiles" State="Local" Children="force" /> 
    
        <OptionState Id="ACCESSFiles" State="Absent" Children="force" />
        <OptionState Id="VisioPreviewerFiles" State="Absent" Children="force" />
        <OptionState Id="PubPrimary" State="Absent" Children="force" /> 
        <OptionState Id="OneNoteFiles" State="Absent" Children="force" /> 
         <OptionState Id="XDOCSFiles" State="Absent" Children="force" />
        <OptionState Id="GrooveFiles2" State="Absent" Children="force" />
        <OptionState Id="LyncCoreFiles" State="Absent" Children="force" />>
    
    
        <OptionState Id="SHAREDFiles" State="Local" Children="force" />
        <OptionState Id="TOOLSFiles" State="Local" Children="force" />  
        
        <!-- <Setting Id="SETUP_REBOOT" Value="IfNeeded" /> -->
        
        <!-- <Command Path="%windir%system32msiexec.exe" Args="/i \serversharemy.msi" QuietArg="/q" ChainPosition="after" Execute="install" /> -->
    
    </Configuration>
    View Code
  • 相关阅读:
    Linux------环境配置(CentOS 7) 安装JDK Tomcat Nginx MySQL
    ssm实战(8)-----支付模块开发,订单模块
    ssm实战(7)------收货地址管理
    ssm实战(6)------购物车管理
    ssm实战(4,5)------分类管理,商品管理
    ssm实战(3)------用户模块
    Mybatis(1)——映射文件,缓存,整合
    ssm实战(2)------pom.xml文件 和 mybatis-generator git
    7.1Servlet ---手写Servlet
    为什么有些资源要显示的close关闭
  • 原文地址:https://www.cnblogs.com/wubian/p/4244535.html
Copyright © 2011-2022 走看看