office 2016 只安装部分组件

编程入门 行业动态 更新时间:2024-10-26 08:24:42

office 2016 只提供了click to run的安装方法, 大多数用户估计只需要安装其中的word, power point, excel, onenote这些工具. 具体操作方法如下:

  1. 下载office 2016部署工具.
    点击click here.

    勾选 click here to accept:, 点击continue

    会释放一个压缩包, 选择存放路径:

    放到桌面后,可以看到这两个文件: 分别是 setup.exe 和 configuration.xml配置文件

  2. 配置
    打开configuration.xml可以看到默认的配置是这样的.

    其中需要修改的有:

    • officeClientEdition = “32” 修改为自己下载office版本对应的位数.
    • Channel= “Current” 修改为 office安装包所在路径, 一定是 setup.exe对应的路径.
    • 在 <\language…下放添加不安装的组件名称, 按照格式: ExcludeApp ID=”name”
      我修改后的配置如下:

      对应的是:
      <Configuration>
      <Add OfficeClientEdition="64" Channel="D:\迅雷下载\cn_visio_professional_2016_x86_x64_dvd_6970929\">
      <Product ID="O365ProPlusRetail">
        <Language ID="en-us" />
        <ExcludeApp ID="Access" />
        <ExcludeApp ID="Groove" />
        <ExcludeApp ID="Lync" />
        <ExcludeApp ID="Outlook" />
        <ExcludeApp ID="Publisher" />
        <ExcludeApp ID="SharePointDesigner" />
      </Product>
      <Product ID="VisioProRetail">
        <Language ID="en-us" />
      </Product>
      </Add>
      <!--  <Updates Enabled="TRUE" Channel="Current" /> -->
      <!--  <Display Level="None" AcceptEULA="TRUE" />  -->
      <!--  <Property Name="AUTOACTIVATE" Value="1" />  -->
      </Configuration>
  3. 运行

    • cd到桌面(configuration.xml 和setup.exe所在的位置)
    • 运行: setup.exe /configure configuration.xml
    • office 2016 开始自动安装, 可以看到, 仅安装了 word, ppt, excel, onenote, visio.

更多推荐

office 2016 只安装部分组件

本文发布于:2023-06-14 03:40:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1433946.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:组件   office

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!