Office 自定义工具概述Overview of the Office Customization Tool

Office 自定义工具可创建用于在大型组织中部署 Office 的配置文件。The Office Customization Tool creates the configuration files that are used to deploy Office in large organizations. 使用这些配置文件,可以更好地控制 Office 安装:可以定义安装的应用程序和语言,应如何更新这些应用程序以及应用程序首选项。These configuration files give you more control over an Office installation: you can define which applications and languages are installed, how those applications should be updated, and application preferences. 创建配置文件后,可以将其与 Office 部署工具结合使用来部署自定义版本的 Office。After creating the configuration files, you can use them with the Office Deployment Tool to deploy a customized version of Office.

备注

Office 自定义工具是在数百或数千台计算机上安装 Office 的部署过程的一部分。The Office Customization Tool is part of the deployment process for installing Office on hundreds or thousands of computers. 若要以端到端方式执行此过程,建议完成 Office 部署的评估规划阶段。To follow this process end-to-end, we recommend completing the assessment and planning phases for your Office deployment. 如果你不是企业管理员,而且希望在家或企业中安装 Office 365,请参阅使用 Office 365 安装 OfficeIf you're not an enterprise administrator and are looking to install Office 365 in your home or business, see Install Office with Office 365.

入门Get started

若要使用该服务,请转到 Office 自定义工具,然后选择想要配置的产品、语言和应用程序设置。To work with the service, go to Office Customization Tool and choose the products, languages, and application settings you want to configure. 例如,可以创建一个下载 64 位英文版 Office 365 专业增强版的配置文件,也可以创建一个安装 64 位英文版和德文版 Office(不需要 Access 和 Publisher)的文件,并且自动接受 EULA。For example, you can create a configuration file that downloads the 64-bit English version of Office 365 ProPlus, or you can create a file that installs the 64-bit English and German version of Office without Access and Publisher and with the EULA automatically accepted. 完成后,导出配置文件,然后可与 Office 部署工具或其他软件分发解决方案结合使用,以便在组织中部署 Office。When you're done, you export the configuration file, which you can then use with the Office Deployment Tool or another software distribution solution to deploy Office in your organization.

备注

如果使用 Microsoft Endpoint Configuration Manager (Current Branch) 来部署 Office,建议使用配置管理器控制台中的 Office 365 安装程序向导。If you use System Center Configuration Manager (Current Branch) to deploy Office, we recommend using the Office 365 Installer wizard in the Configuration Manager console. 该向导包括自定义版本的 Office 自定义工具。That wizard includes a customized version of the Office Customization Tool. 有关详细信息,请参阅使用 Microsoft Endpoint Configuration Manager (Current Branch) 部署 Office 365 专业增强版For more details, see Deploy Office 365 ProPlus with System Center Configuration Manager (Current Branch).

创建配置文件Create a configuration file

请按照以下步骤创建一个配置文件,使其可以由 Office 部署工具或其他软件分发解决方案用于安装 Office。Follow these steps to create a configuration file that can be used by the Office Deployment Tool or another software distribution solution to install Office.

备注

我们建议在云中保存和管理配置文件。We recommend saving and managing your configuration files in the cloud. 为此,请在创建配置文件之前登录 Office 365 客户端配置服务。To do so, sign in to the Office 365 Client Configuration Service before you create your configuration file. 有关更多详细信息,请参阅在云中保存和管理配置文件For more details, see Save and manage configuration files in the cloud.

  1. 转到 Office 自定义工具Go to Office Customization Tool.
  2. 在“产品和版本”**** 部分,选择想要部署的体系结构。In the Product and releases section, choose the architecture you want to deploy. 每个配置文件只能部署一个体系结构。Each configuration file can only deploy one architecture. 有关要选择的体系结构的详细信息,请参阅选择 32 位或 64 位版本的 OfficeFor details on which architecture to choose, see Choose the 32-bit or 64-bit version of Office.
  3. 选择要部署的产品和应用程序。Choose the products and applications you want to deploy.
  4. 选择要部署的更新通道。Choose the update channel you want to deploy. 更新通道可确定客户端设备更新新功能的频率。The update channel determines how frequently your client devices are updated with new features. 有关最佳做法的建议,请参阅步骤 3 - 选择更新通道For best practice recommendations, see Step 3 - Choose your update channels.
  5. 选择要部署的版本。Choose which version you want to deploy. 除非需要某特定版本,否则建议选择最新版本。Unless you require a particular version, we recommend choosing the latest. 有关早期版本的详细信息,请参阅 Office 365 专业增强版的更新历史记录For details on previous versions, see Update history for Office 365 ProPlus.
  6. 在“语言”**** 部分,选择要包括何种语言。In the Language section, choose which languages to include. 可以包含多种语言,并且可以选择“匹配操作系统”**** 以自动安装客户端设备上使用的相同语言。You can include multiple languages and you can select Match operating system to automatically install the same languages that are in use on the client device. 有关详细信息,请参阅在 Office 365 专业增强版中部署语言的概述For more details, see Overview of deploying languages in Office 365 ProPlus.
  7. 在“安装”**** 部分,选择是直接从云还是从网络上的本地源安装 Office 文件。In the Installation section, choose whether to install the Office files directly from the cloud or from a local source on your network. 有关详细信息,请参阅选择如何部署For more details, see Choose how to deploy.
  8. 选择是否向最终用户显示安装,以及是否将 Office 图标固定到任务栏。Choose whether to display the installation to your end users and whether to pin the Office icons to the taskbar. 有关这些选项的详细信息,请参阅 Display 元素PinIconsToTaskBar 属性For more details on these options, see Display element and PinIconsToTaskBar property.
  9. 在“更新与升级”**** 部分,选择是直接从云、从网络上的本地源,还是使用配置管理器安装更新。In the Update and upgrade section, choose whether to install updates directly from the cloud, from a local source on your network, or with Configuration Manager. 若要自动更新客户端设备,请选择“CDN”**** 和“自动检查更新”****。If you want to update your client devices automatically, choose CDN and Automatically check for updates. 有关最佳做法的建议,请参阅选择更新通道For best practice recommendations, see Choose your update channels.
  10. 选择是否自动删除所有 MSI 版本的 Office,以及是否自动安装与已删除的 MSI 版本 Office 相同的语言。Choose whether to automatically remove all MSI-versions of Office, and whether to automatically install the same language as the removed MSI-version of Office. 有关详细信息,请参阅安装与以前的 MSI 安装相同的语言For more details, see Install the same languages as a previous MSI installation.
  11. 如果要部署批量许可版本的 Office、Visio 或 Project,请在“许可和激活”**** 设置中指定相应的许可证密钥。If you are deploying a volume-licensed version of Office, Visio, or Project, specify the appropriate license key in Licensing and activation settings. 请注意,Office 365 专业增强版不是批量许可版本,不需要 KMS 或 MAK 激活。Note that Office 365 ProPlus is not volume licensed and does not require a KMS or MAK activation. 有关详细信息,请参阅 Office 批量激活概述For more details, see Overview of volume activation of Office.
  12. 在“常规”**** 部分,键入组织名称和此特定配置是说明。In the General section, type your organization name and a description for this particular configuration. 例如,你可能想要使用该文件为财务部门安装 64 位版本的 Office。For example, you might want to use this file to install the 64-bit version of Office for your finance department.
  13. 选择是否自动接受 EULA。Choose whether to automatically accept the EULA.
  14. 选择是否启用共享计算机激活。Choose whether to enabled shared computer activation. 有关详细信息,请参阅 Office 365 专业增强版的共享计算机激活概述For more details, see Overview of shared computer activation for Office 365 ProPlus.
  15. 在“应用程序首选项”**** 部分,选择部署 Office 时要应用的设置。In the Application preferences section, choose what settings to apply when deploying Office. 可以搜索设置、按 Office 应用筛选设置,并通过单击它和查看详细描述了解关于每个设置的详细信息。You can search for a setting, filter the settings by Office app, and learn more about each setting by clicking it and reviewing the detailed description.
  16. 单击“完成”****,查看右侧窗格中配置的设置,然后单击“导出”****。Click Finish, review the configured settings in the righthand pane, and then click Export.
  17. 接受许可协议中的条款,命名配置文件,然后单击“导出”,或者,如果要将配置文件保存到云,请单击“完成”。Accept the terms in the license agreement, name the confguration file, and then click Export or, if you're saving the configuration file to the cloud, click Done.
  18. 现在,可以通过 Office 部署工具或其他软件分发解决方案在部署工作流中使用配置文件。You can now use the configuration file in your deployment workflow with the Office Deployment Tool or another software distribution solution.

编辑现有配置文件Edit an existing configuration file

请按照以下步骤导入并编辑现有配置文件。Follow these steps to import and edit an existing configuration file.

  1. 转到 Office 自定义工具Go to Office Customization Tool.
  2. 单击“导入”****,然后选择要编辑的配置文件。Click Import, and then select the configuration file you want to edit.
  3. 更改所需的设置,然后导出更新后的文件。Change the settings you want, and then export the updated file.

在云中保存和管理配置文件Save and manage configuration files in the cloud

现在可以使用 Office 自定义工具在云中创建、保存和管理部署配置文件。You can now use the Office Customization Tool to create, save, and manage your deployment configuration files in the cloud. 你还可以在运行 Office 部署工具时直接引用这些基于云的文件。You can also refer to these cloud-based files directly when running the Office Deployment Tool.

若要使用云中的配置文件,请登录到 Office 365 客户端配置服务并转到“设备配置”页面。To work with configuration files in the cloud, sign in to the Office 365 Client Configuration Service and go to the Device Configuration page. 在此页面中,可以执行下列操作:From that page, you can do the following:

  • 若要创建新文件,请单击“创建”,创建配置文件,然后单击“完成”。To create a new file, click Create, create a configuration file, and then click Done. 配置文件将作为租户的一部分自动保存到云中。The configuration file is automatically saved to the cloud as part of your tenant.
  • 若要编辑现有文件,请单击该文件的名称,进行更改,然后单击“完成”。To edit an existing file, click the name of the file, make your changes, and then click Done.
  • 若要获取配置文件的链接,请选择该文件,单击“获取链接”,然后单击“复制”。To get a link to a configuration file, select the file, click Get Link, and then click Copy. 使用 Office 部署工具时,可以使用该链接来引用配置文件。You can use the link to refer to the configuration file when you use the Office Deployment Tool.

运行 Office 部署工具时,可通过在引号中包含链接来引用基于云的配置文件。When running the Office Deployment Tool, you refer to the cloud-based configuration file by including the link in quotes. 例如,若使用 ODT 进行部署,请使用 setup.exe /configure "link"To deploy with the ODT, for example, use setup.exe /configure "link".

你还可以从“设备配置”页面复制、上载或下载配置文件。You can also copy, upload, or download configuration files from the Device Configuration page. 例如,你可以创建一个基线配置文件,然后为自定义配置创建该基线的副本。For example, you can create a baseline configuration file and then create copies of that baseline for custom configurations.

定义应用程序首选项Define application preferences

作为 Office 自定义工具的一部分,可以定义 Office 365 专业增强版的应用程序首选项,包括 VBA 宏通知、默认文件位置和默认文件格式。As part of the Office Customization Tool, you can define application preferences for Office 365 ProPlus, including VBA macro notifications, default file locations, and default file formats. 定义这些首选项时,可以将它们作为部署 Office 的一部分应用,也可以将其应用于 Office 的现有安装,而无需更改任何其他部署设置。When you define these preferences, you can apply them as part of deploying Office or you can apply them to an existing installation of Office without changing any other deployment settings. 有关详细信息,请参阅应用应用程序首选项将应用程序首选项应用于 Office 的现有安装For more details, see Apply application prefences and Apply application preferences to an existing installation of Office.

注释Notes

创建配置文件时,Office 自定义工具中包含两个配置元素属性:用于标识部署方法的 ID 属性和用于标识已选择的部署选项的 Host 属性。When creating a configuration file, the Office Customization Tool includes two attributes for the Configuration element: The ID attribute, which identifies the deployment method, and the Host attribute, which identifies the deployment options that have been selected. 这两个属性不包含任何可识别的个人信息 (PII),但即点即用会将属性值发送至 Microsoft,以便我们更好地了解客户使用哪些配置来简化自定义。These attributes don't contain any personally identifiable information (PII), but Click-to-Run sends the attribute values to Microsoft so that we can better understand what configurations customers use and make customization even easier. 基于这些考虑,我们建议保留这两个属性。Because of these insights, we recommend keeping the attributes. 它们为可选属性,删除它们也不会影响部署。They are optional, however, and can be removed without affecting your deployment.