部署 Office 2019 (適合 IT 專業人員)Deploy Office 2019 (for IT Pros)

若要為組織中的使用者設定及部署 Office 2019 的大量授權版本,包括 Project 和 Visio,您可以使用 Office 部署工具 (ODT)。To configure and perform deployments of volume licensed versions of Office 2019, including Project and Visio, for users in your organization, you use the Office Deployment Tool (ODT). 先前用於 Windows Installer (MSI) 的 Office 自訂工具 (OCT) 已無法使用。The Office Customization Tool (OCT) that you previously used for Windows Installer (MSI) is no longer used.

我們在網際網路的 Office 內容傳遞網路 (CDN) 上而非在大量授權服務中心 (VLSC) 提供 Office 2019 的安裝檔案。The installation files for Office 2019 are available on the Office Content Delivery Network (CDN) on the internet instead of on the Volume Licensing Service Center (VLSC). 您可以直接透過 Office CDN 安裝 Office 2019。You can install Office 2019 directly from the Office CDN. 或者,您可以透過 Office CDN 下載安裝檔案至區域網路上的位置,例如共用資料夾,並從該位置安裝 Office 2019。Or, you can download the installation files from the Office CDN to a location on your local network, such as a shared folder, and install Office 2019 from that location. 您可以對組織中的幾組不同電腦使用不同的方法。You can use different methods for different sets of computers in your organization. 無論您選擇的方法為何,您都會使用 ODT。Whichever method you choose, you use the ODT.

直接透過 Office CDN 安裝所需的系統管理工作量最少,並且是建議的方法。Installing directly from the Office CDN requires the least amount of administrative effort and is recommended. 但您可能會受到限制,而無法直接透過網際網路安裝。But you might have constraints that prevent you from installing directly from the internet. 例如,部分電腦可能沒有連線到網際網路,或您與網際網路之間的頻寬可能有限。For example, some computers might not have connectivity to the internet or you may have limited bandwidth to the internet.

從 Microsoft 下載中心下載 Office 部署工具Download the Office Deployment Tool from the Microsoft Download Center

Office 部署工具是可從 Microsoft 下載中心取得的免費下載項目。The Office Deployment Tool is a free download from the Microsoft Download Center. 我們建議您一律下載並使用最新版本的 ODT。We recommend that you always download and use the most current version of the ODT.

下載 Office 部署工具之後,按兩下 officedeploymenttool 可執行檔 (.exe) 來解壓縮 ODT 檔案。After you download the Office Deployment Tool, double-click on the officedeploymenttool executable (.exe) file to extract the ODT files. 完成時應該有數個檔案︰setup.exe 及一些範例 configuration.xml 檔案。When you are finished, you should have several files: setup.exe and some sample configuration.xml files. 針對 Office 2019 特定範例,請參閱用來搭配 Office 部署工具使用的範例 configuration.xml 檔案For an Office 2019-specific sample, see Sample configuration.xml file to use with the Office Deployment Tool.

setup.exe 檔案即是 ODT,並且是可支援下載及安裝 Office 2019 的命令列工具。The setup.exe file is the ODT and is a command-line tool that supports downloading and installing Office 2019. configuration.xml 檔案為範例檔案,用來協助您快速上手。The configuration.xml files are sample files to get you started. 您會使用 configuration.xml 檔案來為 ODT 提供下載或安裝 Office 2019 時要使用的設定。You use the configuration.xml file to provide settings for the ODT to use when downloading or installing Office 2019. configuration.xml 是簡單的 XML 檔案,您可以在 [記事本] 之類的任何文字編輯器中建立該檔案並加以編輯。The configuration.xml is a simple xml file that can be created and edited in any text editor, such as Notepad. 您可以將檔案命名為您要的任何名稱,只要檔案維持使用 XML 副檔名。You can name the file anything that you want, as long as it retains the xml file extension.

建立 configuration.xmlCreate the configuration.xml

取得一份 ODT 之後,您需要建立一個 configuration.xml 檔案。Once you have a copy of the ODT, you need to create a configuration.xml file. 您可以建立多個 configuration.xml 檔案來與 ODT 搭配使用。You can create multiple configuration.xml files to be used with the ODT. 例如,您會建立 configuration.xml 檔案來下載並安裝 64 位元版本的 Office 專業增強版 2019 英文版,以及建立另一個 configuration.xml 檔案來安裝 32 位元版本的 Visio 專業版 2019 法文版。For example, you would create a configuration.xml file to download and install the 64-bit version of Office Professional Plus 2019 in English and a different configuration.xml file to install the 32-bit version of Visio Professional 2019 in French. 從提升權限的命令提示字元中執行 ODT 時,您可以指定要使用的 configuration.xml 檔案。When you run the ODT from an elevated command prompt, you specify which configuration.xml file to use.

提示

不要使用文字編輯器來建立您的 configuration.xml,而是建議您使用 Office 自訂工具 (OCT)Instead of using a text editor to create your configuration.xml, we recommend that you use the Office Customization Tool (OCT). OCT 提供 Web 介面供您選取項目並建立您要用來搭配 Office 部署工具的 configuration.xml 檔案。The OCT provides a web-based interface for making your selections and creating your configuration.xml file to be used with the Office Deployment Tool. 如需詳細資訊,請參閱 Office 自訂工具概觀For more information, see Overview of the Office Customization Tool. 請注意,這與您過去可能曾用來安裝 Office 大量授權版本的 Office 自訂工具不同,該工具使用 Windows Installer (MSI) 做為安裝技術。Please note that this is different than the Office Customization Tool that you might have used in the past to install volume licensed versions of Office that used Windows Installer (MSI) as the installation technology.

configuration.xml 檔案中有一系列的設定,可供您設定以自訂 Office 2019 下載或安裝。There are a series of settings in the configuration.xml file that you configure to customize the Office 2019 download or installation. 下表列出可在 configuration.xml 檔案中設定的最常見設定。The following table lists the most common settings to configure in the configuration.xml file.

組態Configuration configuration.xml 設定configuration.xml setting 其他資訊Additional information
下載 Office 安裝檔案的位置,以及從中安裝 Office 的位置Where to download the Office installation files to and where to install Office from

例如,\\server\share (您的區域網路上的共用資料夾)For example, \\server\share (a shared folder on your local network)
SourcePathSourcePath 使用 ODT 來安裝 Office 時如果您未指定SourcePath,ODT 會尋找其所在資料夾中的安裝檔案。If you don’t specify a SourcePath when using the ODT to install Office, the ODT looks for the installation files in the folder it’s located in. 如果在該位置找不到 Office 安裝檔案,則會前往 Office CDN 來取得安裝檔案。If it doesn’t find the Office installation files there, it goes to the Office CDN to get the installation files.

如果網際網路連線和網路頻寬允許的話,建議您直接透過 Office CDN 安裝 Office。We recommend that you install Office directly from the Office CDN, if internet connectivity and network bandwidth make that possible.
要下載或安裝的產品Which products to download or install

例如,Office 專業增強版 2019For example, Office Professional Plus 2019
產品識別碼Product ID Office 2019 大量授權版本的有效值包括下列各項:Valid values for volume licensed versions of Office 2019 include the following:
- ProPlus2019Volume- ProPlus2019Volume
- Standard2019Volume- Standard2019Volume
- ProjectPro2019Volume- ProjectPro2019Volume
- ProjectStd2019Volume- ProjectStd2019Volume
- VisioPro2019Volume- VisioPro2019Volume
- VisioStd2019Volume- VisioStd2019Volume
使用多重啟用 (MAK) 來啟用 Office 2019Use Multiple Activation (MAK) to activate Office 2019 PIDKEYPIDKEY 輸入用於 MAK 啟用的產品金鑰。Enter the product key for MAK activation.

如果要使用金鑰管理服務 (KMS) 來啟用 Office 2019,則不需要使用 PIDKEY。You don’t need to use PIDKEY if you’re activating Office 2019 with Key Management Service (KMS).
要下載或安裝的語言Which languages to download or install

例如,英文 (en-us) 和法文 (fr-fr)。For example, English (en-us) and French (fr-fr).
語言識別碼Language ID 您可以在安裝 Office 2019 的同時安裝多個語言,也可以稍後再安裝。You can install multiple languages at the same time you’re Installing Office 2019, or you can install them later.

如需詳細資訊,請參閱部署 Office 2019 的語言For more information, see Deploy languages for Office 2019.
要安裝的校訂工具Which proofing tools to install 產品識別碼Product ID 產品識別碼為"ProofingTools",並且用來結合語言識別碼。The Product ID is "ProofingTools" and is used in combination with the Language ID.

如需詳細資訊,請參閱部署 Office 2019 的語言For more information, see Deploy languages for Office 2019.
要下載或安裝的 Office 2019 版本。Which edition of Office 2019 to download or install.

例如,64 位元版本。For example, the 64-bit version.
OfficeClientEditionOfficeClientEdition 有效的 XML 值為 "32" 和 "64"。Valid xml values are "32" and "64."

電腦上的所有 Office 產品必須具備相同架構。All Office products on the computer must be of the same architecture. 您不能在同一部電腦上同時安裝 32 位元和 64 位元的 Office 產品。You can’t have both 32-bit and 64-bit Office products installed on the same computer.

建議在具備 4 GB 以上記憶體的電腦上安裝 64 位元版本。We recommend 64-bit on computers that have 4 gb or more of memory. 但您應該評估應用程式相容性,以及可能會要求您使用 32 位元版本的其他因素。But you should assess application compatibility and other factors that might require you to use the 32-bit version.

如需詳細資訊,請參閱選擇 64 位元或 32 位元版的 OfficeFor more information, see Choose between the 64-bit or 32-bit version of Office.
要安裝的 AppWhich apps to install

例如,Publisher 以外的所有 App。For example, all apps except Publisher.
ExcludeAppExcludeApp 預設會安裝 Office 專業增強版 2019 中包含的所有 App。By default, all apps included in Office Professional Plus 2019 are installed.

例如,若不要安裝 Publisher,可以在您的 configuration.xml 中包含下一行:For example, to not install Publisher, you can include the following line in your configuration.xml:

<ExcludeApp ID="Publisher" /><ExcludeApp ID="Publisher" />

如需詳細資訊,請參閱 ExcludeApp 元素For more information, see ExcludeApp element.
要取得安全性和品質更新的位置。Where to get security and quality updates from.

例如,直接透過網際網路上的 Office CDN。For example, directly from the Office CDN on the internet.
UpdatePathUpdatePath 預設值是直接透過網際網路上的 Office CDN 取得更新。The default is to get updates directly from the Office CDN on the internet. 這是建議的方式,並且需要的系統管理工作量最少。This is recommended and requires the least amount of administrative effort.

但如果您需要更新未連線到網際網路的電腦,則可以指定 Office 從區域網路上的共用資料夾取得更新 (舉例來說)。But if you need to update computers that don’t have connectivity to the internet, you can specify that Office gets updates, for example, from a shared folder on your local network. 不過,這表示您必須透過 Office CDN 下載更新,並將更新檔案複製到共用資料夾。But this means that you must download the updates from the Office CDN and copy them to the shared folder.

如需詳細資訊,請參閱更新 Office 2019 (適合 IT 專業人員)For more information, see Update Office 2019 (for IT Pros).
要從中安裝並取得更新的更新通道Which update channel to install from and get updates from 通道Channel Office 使用更新通道的概念,來判斷所安裝的 Office 版本收到的更新項目。Office uses the concept of update channels to determine which updates an installed version of Office receives.

如需詳細資訊,請參閱 Office 2019 的更新通道For more information, see Update channel for Office 2019.
是否要在安裝 Office 2019 之前先移除先前的 Windows Installer (MSI) 版本 OfficeWhether to remove previous Windows Installer (MSI) versions of Office before installing Office 2019 RemoveMSIRemoveMSI 這是建議的做法。This is recommended.

如需詳細資訊,請參閱安裝 Office 2019 之前移除現有的 Office 版本For more information, see Remove existing versions of Office before installing Office 2019.

提示

如需這些 configuration.xml 設定的詳細資訊,請參閱此處:Office 部署工具的組態選項More information about these configuration.xml settings is available here: Configuration options for the Office Deployment Tool. 請注意,該文章中的資訊並不一定全都適用 Office 2019。Keep in mind that not all the information in that article applies to Office 2019. 例如,與共用電腦啟用相關的設定 (例如 SharedComputerLicensing 和 SCLCacheOverride),即不適用 Office 2019。For example, the settings related to shared computer activation, such as SharedComputerLicensing and SCLCacheOverride, don’t apply to Office 2019.

用來搭配 Office 部署工具使用的範例 configuration.xml 檔案Sample configuration.xml file to use with the Office Deployment Tool

以下是範例 configuration.xml 檔案,可用來使用您的區域網路上的共用資料夾下載或安裝 64 位元版本 Office 專業增強版 2019 英文版,並使用 MAK 來啟用。The following is a sample configuration.xml file that can be used to either download or install the 64-bit version of Office Professional Plus 2019 in English using a shared folder on your local network and activate by using MAK. 如果您使用此 configuration.xml 來安裝 Office 2019,則會隨著安裝程序先前的 Windows Installer (MSI) 版本 Office。If you’re using this configuration.xml to install Office 2019, previous Windows Installer (MSI) versions of Office are removed as part of the installation process. 同時,即使未在 configuration.xml 檔案中指定,更新也會自動啟用,並且設定為直接來自 Office CDN,因為這些是預設設定。Also, even though it’s not specified in the configuration.xml file, updates are automatically enabled and are configured to come directly from the Office CDN, because those are the default settings.

<Configuration>
  <Add SourcePath="\\Server\Share" OfficeClientEdition="64" Channel="PerpetualVL2019">
      <Product ID="ProPlus2019Volume"  PIDKEY="#####-#####-#####-#####-#####" >
         <Language ID="en-us" />
      </Product>
      <Product ID="ProofingTools">
        <Language ID="de-de" />
        <Language ID="ja-jp" />
      </Product>
  </Add>
  <RemoveMSI />
  <Display Level="None" AcceptEULA="TRUE" />  
</Configuration>

針對 PIDKEY,請將 #####-#####-#####-#####-##### 以您的 MAK 用戶端啟用金鑰取代。For the PIDKEY, replace #####-#####-#####-#####-##### with your MAK client activation key.

安裝 Office 2019 之前移除現有的 Office 版本Remove existing versions of Office before installing Office 2019

建議您在安裝 Office 2019 大量授權版本之前,先解除安裝任何舊版 Office。We recommend that you uninstall any previous versions of Office before installing volume licensed versions of Office 2019. 為協助您解除安裝使用 Windows Installer (MSI) 做為安裝技術的 Office 版本,您可以使用 Office 部署工具,並在您的 configuration.xml 檔案中指定 RemoveMSI 元素。To help you uninstall versions of Office that use Windows Installer (MSI) as the installation technology, you can use the Office Deployment Tool and specify the RemoveMSI element in your configuration.xml file.

安裝 Office 2019 的大量授權版本時,您有數個方式可以使用 RemoveMSI 元素。There are several ways that you can use the RemoveMSI element when installing volume licensed versions of Office 2019.

  • 解除安裝電腦上的所有 Office 產品。Uninstall all Office products on the computer.
  • 找出任何現有的語言資源 (例如語言套件),並安裝相同的語言。Identify any existing language resources, like language packs, and install the same languages.
  • 保留一些 Office 產品,並解除安裝電腦上的其他所有 Office 產品。Keep some Office products and uninstall all other Office products on the computer.

RemoveMSI 可用來解除安裝使用 Windows Installer (MSI) 安裝的 2010、2013 或 2016 版本 Office、Visio 或 Project。RemoveMSI can be used to uninstall 2010, 2013, or 2016 versions of Office, Visio, or Project that were installed using Windows Installer (MSI).

如需關於使用 RemoveMSI 的詳細資訊,請參閱升級至 Office 365 專業增強版時移除現有 MSI 版本的 OfficeFor more information about using RemoveMSI, see Remove existing MSI versions of Office when upgrading to Office 365 ProPlus. 雖然本文章是關於 Office 365 專業增強版,大部分資訊也適用 Office 2019 大量授權版本。Even though this article is about Office 365 ProPlus, most of the information also applies to volume licensed versions of Office 2019.

下載 Office 2019 安裝檔案Download the Office 2019 installation files

取得一份 ODT 並建立您的 configuration.xml 檔案之後,您就可以將 Office 2019 安裝檔案下載到您的區域網路。Once you have a copy of the ODT and have created your configuration.xml file, you can download the Office 2019 installation files to your local network. 若要執行該動作,請開啟提升權限的命令提示字元,前往儲存 ODT 和 configuration.xml 檔案所在的資料夾,然後輸入此命令:To do that, open an elevated command prompt, go to the folder where you saved the ODT and the configuration.xml file, and type this command:

    setup /download configuration.xml

如果您已將 configuration.xml 檔案儲存為不同的名稱,請在命令中使用該名稱。If you have saved the configuration.xml file with a different name, use that name in the command.

它看起來好像沒有做任何動作,但下載會在背景中進行。It will look as if nothing is happening, but the download is happening in the background. 下載完成後,您會回到命令提示字元。Once the download is complete, you are returned to a command prompt.

如果您想要檢查檔案下載中,請前往您在 configuration.xml 檔案中為 SourcePath 指定的位置。If you want to check that the files are downloading, go to the location you specified for your SourcePath in the configuration.xml file. 您應該會看到名為 "Office" 的資料夾,以及名為 "Data" 的子資料夾。You should see a folder named “Office” with a subfolder named “Data.” 也會有一個名為所下載版本號碼的資料夾。There will also be a folder named with the version number of the download. 例如,16.0.10336.20044。For example, 16.0.10336.20044. 您會看到的檔案和檔案的名稱,取決於您要下載的是 32 位元或 64 位元版本的 Office,以及要下載的語言而定。Which files you see and the names of the files depend on whether you are downloading the 32-bit or 64-bit version of Office and which languages you are downloading.

以下是下載 Office 2019 安裝檔案的一些其他詳細資料:Here some additional details about downloading Office 2019 installation files:

  • 您必須個別下載 32 位元和 64 位元版本。You must download the 32-bit and 64-bit versions separately.
  • 所有 Office 2019 的大量授權版本 (例如 Office 專業增強版 2019、Visio 專業版 2019 和 Project 專業版 2019) 均包含在相同下載項目中,而不論您在 configuration.xml 檔案中指定的產品為何。All volume licensed versions of Office 2019 – such as Office Professional Plus 2019, Visio Professional 2019, and Project Professional 2019 – are included in the same download, regardless of which products you specify in the configuration.xml file. 這有助於節省您的區域網路上的磁碟空間。This helps you save disk space on your local network. Office 2019 產品的核心檔案位於 stream.x86.x-none.dat 或 stream.x64.x-none-dat 檔案中,取決於它是 32 位元或 64 位元版本的 Office。The core files for the Office 2019 products are in the stream.x86.x-none.dat or stream.x64.x-none-dat file, depending if it’s the 32-bit or 64-bit version of Office.

使用 Office 部署工具來安裝 Office 2019Install Office 2019 by using the Office Deployment Tool

取得一份 ODT 並建立您的 configuration.xml 檔案 (並在必要時將 Office 2019 安裝檔案下載到您的區域網路) 之後,您可以安裝 Office 2019。Once you have a copy of the ODT and have created your configuration.xml file (and downloaded the Office 2019 installation files to your local network, if necessary), you can install Office 2019. 若要執行該動作,請開啟提升權限的命令提示字元,前往儲存 ODT 和 configuration.xml 檔案所在的資料夾,然後輸入下列命令:To do that, open an elevated command prompt, go to the folder where you saved the ODT and the configuration.xml file, and type the following command:

    setup /configure configuration.xml

如果您已將 configuration.xml 檔案儲存為不同的名稱,請在命令中使用該名稱。If you have saved the configuration.xml file with a different name, use that name in the command.

安裝完成後,您會回到命令提示字元,您便可以開啟您已安裝的 Office 2019 程式。Once the installation is complete, you are returned to a command prompt and you can go open Office 2019 programs you’ve installed.

使用 System Center Configuration Manager 安裝 Office 2019Install Office 2019 by using System Center Configuration Manager

您也可以使用 System Center Configuration Manager 來部署 Office 2019 大量授權版本。You can also use System Center Configuration Manager to deploy volume licensed versions of Office 2019. Configuration Manager (最新分支) 有一個精靈會引導您完成此程序,並為您建立 configuration.xml 檔案。Configuration Manager (Current Branch) has a wizard that steps you through the process and builds the configuration.xml file for you. 舊版的 Configuration Manager 要求您下載 ODT 並建立您自己的 configuration.xml 檔案。Earlier versions of Configuration Manager require you to download the ODT and create your own configuration.xml file.

  • Configuration Manager (最新分支): 如果您使用 Configuration Manager (最新分支),則可以使用 Office 365 用戶端安裝精靈來部署 Office 2019。Configuration Manager (Current Branch): If you’re using Configuration Manager (Current Branch), you can use the Office 365 Client Installation wizard to deploy Office 2019. 您至少必須使用版本 1710,但建議使用版本 1806。You must be using at least version 1710, but version 1806 is recommended. 您會在 Office 365 用戶端安裝精靈中看到 Office 專業增強版 2019 的一個項目。You’ll see an entry for Office Professional Plus 2019 in the Office 365 Client Installation wizard. 在該相同頁面上,您也可以選擇安裝 Project 和 Visio。On that same page, you can also select to install Project and Visio.

  • System Center 2012 R2 Configuration Manager: 如果您使用 System Center 2012 R2 Configuration Manager,則步驟不同且需要更加多的手動動作。System Center 2012 R2 Configuration Manager: If you’re using System Center 2012 R2 Configuration Manager, the steps are different and much more manual. 您必須先從 Microsoft 下載中心取得一份 ODT,並為您的部署建立適當的 configuration.xml 檔案。First you need to get a copy of the ODT from the Microsoft Download Center and create the appropriate configuration.xml file for your deployment. 接著,在 Configuration Manager 中,您會建立應用程式和部署類型。Then, in Configuration Manager, you create an application and a deployment type. 在那之後,您可以發佈應用程式,然後部署應用程式。After that you distribute the application and then deploy it.

部署 Office 2019 的語言Deploy languages for Office 2019

您可以使用 ODT 和 configuration.xml 檔案來安裝多個語言的 Office 2019 大量授權版本,包括 Project 和 Visio。You can use the ODT and the configuration.xml file to install volume licensed versions of Office 2019, including Project and Visio, in multiple languages. 如需詳細資訊,請參閱語言元素For more details, see Language element.

您也可以在 configuriation.xml 檔案中將產品識別碼指定為 "ProofingTools",加上適當的語言識別碼,以便只安裝校訂工具。You can also just install proofing tools by specifying the Product ID as "ProofingTools" in your configuriation.xml file along with the appropriate Language IDs. 校訂工具套件是 Office 2019 的新功能,其大小較完整語言套件小得多。Proofing tools packages, which are a new capability for Office 2019, are much smaller than full language packs. 當使用者會處理多個語言的文件,但不需要採用這所有語言的 Office 產品 UI 時,請考慮部署校訂工具。Consider deploying proofing tools in cases where users work with documents in multiple languages but don’t need the Office product UI in all those languages. 您可以在安裝 Office 2019 的同時安裝校訂工具,也可以稍後再安裝。The proofing tools can be installed at the same time you’re installing Office 2019, or you can install them later. 無論是否已安裝特定語言的語言套件,都可以安裝該工具。They can also be installed whether or not the language pack for a given language is installed.

如果您要從 Windows Installer (MSI) 版本的 Office 進行升級,您可以在部署 Office 2019 時安裝相同語言資源 (例如,語言套件、語言介面套件或校訂工具) 的「隨選即用」版本。If you're upgrading from a Windows Installer (MSI) version of Office, you can get Click-to-Run versions of the same language resources – for example, language packs, language interface packs, or proofing tools – installed when you deploy Office 2019. 如需詳細資訊,請參閱升級至 Office 365 專業增強版時移除現有 MSI 版本的 OfficeFor more information, see Remove existing MSI versions of Office when upgrading to Office 365 ProPlus. 雖然本文章是關於 Office 365 專業增強版,大部分資訊也適用 Office 2019 大量授權版本。Even though this article is about Office 365 ProPlus, most of the information also applies to volume licensed versions of Office 2019.