部署 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 2019 的安裝檔案可在 Office 內容傳遞網路 (CDN) 網際網路而不是在大量授權服務中心 (VLSC) 上。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. 您可以建立多個要與 ODT 搭配使用的 configuration.xml 檔案。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 可讓您選取項目,並建立您要搭配 Office 部署工具使用的 configuration.xml 檔案的 web 式介面。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 自訂工具,您可能會有用以在過去安裝大量授權版本的 Windows Installer (MSI) 做為安裝技術的 Office。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.

有一系列的您設定自訂的 Office 2019 下載或安裝在 configuration.xml 檔案中的設定。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 安裝檔案的位置和何處安裝 OfficeWhere 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,直接從 Office CDN,如果網際網路連線能力和網路頻寬使其成為可能。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.

您不需要使用 PIDKEY,如果您啟用 Office 2019 與金鑰管理服務 (KMS)。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-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.

如需詳細資訊,請參閱 < Deploy 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.

如需詳細資訊,請參閱 < Deploy 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.

我們建議 64 位元有 4 gb 或更多的記憶體的電腦上。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.

如需詳細資訊,請參閱 < Office 的 64 位元或 32 位元版本之間的選擇For more information, see Choose between the 64-bit or 32-bit version of Office.
若要安裝哪些應用程式Which apps to install

例如,Publisher 以外的所有應用程式。For example, all apps except Publisher.
ExcludeAppExcludeApp 根據預設,會安裝 Office 專業增強版 2019年中包含的所有應用程式。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 識別碼 ="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.
是否要移除先前的 Windows Installer (MSI) 版本的 Office 安裝 Office 2019 之前Whether 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,先前的 Office 的 Windows Installer (MSI) 版本會移除在安裝程序的一部分。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 安裝大量授權版的 Office 2019 之前。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 專業增強版時,移除 Office 現有的 MSI 版本For 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.

它看起來好像情形則是 nothing,但在背景中的情形下載。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 」 與名為 「 資料。 」 子資料夾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-無-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 專業增強版 2019 Office 365 用戶端安裝精靈] 中,您會看到一個項目。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. 然後,在 [設定管理員] 中,您建立的應用程式,部署類型。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

若要安裝大量授權版的 Office 2019,包括 Project 和 Visio 中,以多種語言,您可以使用 ODT 和 configuration.xml 檔案。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.

您也可以安裝校訂工具所指定的產品識別碼為"ProofingTools 」,以及適當的語言識別碼 configuriation.xml 檔案中。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. 如需詳細資訊,請參閱 <移除現有的 MSI 版本的 Office 升級至 Office 365 專業增強版時。For 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.