将 Office 365 专业增强版安装从 32-位更改为64位Change an Office 365 ProPlus installation from 32-bit to 64-bit

到目前为止, 如果你已在设备上安装了32位版本的 Office 365 专业增强版, 而你希望更改为64位版本, 则需要卸载现有的32位版本, 然后安装64位版本。Up to now, if you had the 32-bit version of Office 365 ProPlus installed on a device and you wanted to change to the 64-bit version, you needed to uninstall the existing 32-bit version and then install the 64-bit version. 你还需要考虑为该设备配置的所有其他部署设置, 如更新路径和已安装的语言, 以便在执行64位安装时包括这些设置。It also required that you account for all the other deployment settings configured for that device, such as the update path and the installed languages, so that those settings would be included when you did the 64-bit installation.

但现在, 为了更轻松地从32位更改为 Office 365 专业增强版的64位安装, Office 部署工具及其配置 xml 文件支持名为 MigrateArch 的可选属性。But now, to make it easier to change from a 32-bit to a 64-bit installation of Office 365 ProPlus, the Office Deployment Tool and its configuration.xml file supports an optional attribute named MigrateArch. 如果 MigrateArch 属性设置为 True, 则 Office 365 专业增强版的安装将更改为在 OfficeClientEdition 属性中指定的体系结构 (有时称为位数)。If the MigrateArch attribute is set to True, then your installation of Office 365 ProPlus will be changed to the architecture (sometimes referred to as the bitness) that is specified in the OfficeClientEdition attribute.

使用 MigrateArch, 您无需考虑所有已安装的产品和语言或其他部署设置。With MigrateArch, you don’t have to account for all the installed products and languages or other deployment settings. 迁移过程将在迁移过程中保留这些过程。The migration process will preserve those during the migration process. 但是, 如果你想要对已安装的产品和语言或其他部署设置进行任何更改, 你可以通过在 config.xml 文件中显式指定这些设置来作为迁移过程的一部分执行此操作。But, if you want to make any changes to the installed products and languages, or other deployment settings, you can do that as part of the migration process by explicitly specifying those settings in your configuration.xml file. 有关详细信息, 请参阅与 Office 部署工具一起使用的示例配置 .xml 文件For more information, see Sample configuration.xml file to use with the Office Deployment Tool.

使用 MigrateArch 属性的要求Requirements for using the MigrateArch attribute

若要使用 MigrateArch 属性, 您需要以下各项:To use the MigrateArch attribute, you need the following:

  • 在要更改位元的设备上安装的 Office 365 专业增强版的最低版本1902。At least Version 1902 of Office 365 ProPlus installed on the device that you want to change the bitness of.
  • Microsoft 下载中心的 Office 部署工具的最低版本16.0.11615.33602。At least version 16.0.11615.33602 of the Office Deployment Tool from the Microsoft Download Center.
  • 一个位置, 其中包含你要将安装更改到的体系结构的所有产品和语言文件。A location that contains all the product and language files for the architecture that you are changing the installation to.

在将迁移过程开始到其他位数之前, 必须在要更改其位的设备上安装版本1902或更高版本。Before starting the migration process to a different bitness, you must have Version 1902 or later installed on the device that you want to change the bitness of. 允许迁移到同一版本, 或迁移到任何更高版本, 但是在开始迁移过程之前, 必须在设备上安装了最低版本1902。Migration is allowed to the same version, or to any later version, but you must have at least Version 1902 installed on the device before beginning the migration process.

版本 1902 (或更高版本) 在每月频道和半年度频道 (定向) 中可用。Version 1902, or later, is available in Monthly Channel and Semi-Annual Channel (Targeted). 1902 2019 年7月的半年频道将提供版本。Version 1902 is expected to be available in Semi-Annual Channel in July 2019.

提供要与 MigrateArch 属性一起使用的源位置Providing a source location to be used with the MigrateArch attribute

使用 MigrateArch 属性时, 你需要一个位置, 其中包含要移动到的位数的安装源文件。When using the MigrateArch attribute, you need a location that contains the installation source files of the bitness that you’re moving to.

对于此位置, 如果网络带宽或 internet 连接不起问题, 我们建议你使用 Office 内容交付网络 (CDN), 因为 CDN 将始终具有你所需的最新程序和语言安装文件。For this location, if network bandwidth or internet connectivity is not an issue, we recommend that you use the Office Content Delivery Network (CDN), because the CDN will always have the most up-to-date program and language installation files that you need.

如果你使用的是本地网络上的位置, 请确保使用 Office 部署工具提前下载所有必需的产品和语言文件。If you are using a location that’s on your local network, be sure to use the Office Deployment Tool to download all the necessary product and language files ahead of time. 你可以将32位和64位安装文件下载到给定更新频道的同一共享。You can download the 32-bit and 64-bit installation files to the same share for a given update channel. 例如, 你可以将半年频道的32位和64位安装文件下载到\ \server01\sac。For example, you can download the 32-bit and 64-bit installation files for Semi-Annual Channel to \\server01\sac. 但是, 你需要将每月频道的安装文件下载到其他位置, 例如\ \server01\每月。But, you need to download the installation files for Monthly Channel to a different location, such as \\server01\monthly.

如果本地网络位置中不包含正确位数的文件, 则迁移将失败, 并且安装的位数将保持原样。If your local network location doesn’t contain files of the correct bitness, the migration fails and the bitness of the installation will remain as-is. 如果此位置不包含所有必需的语言源文件 (例如, 缺少法文语言文件), 则迁移将失败。If this location doesn’t contain all the necessary language source files – for example, the French language files are missing – the migration will fail. 为避免这种情况, 我们强烈建议你在 config.xml 文件中包括AllowCdnFallback = "True"To avoid this situation, we strongly recommend that you include AllowCdnFallback="True" in your configuration.xml file. 这将在 internet 上使用 Office 内容交付网络 (CDN) 作为安装语言文件的备份源。This will use the Office Content Delivery Network (CDN) on the internet as a backup source from which to install the language files.

与 Office 部署工具一起使用的示例 configuration.xml 文件Sample configuration.xml file to use with the Office Deployment Tool

以下是将 Office 365 专业增强版的现有32位安装更改为64位安装的示例配置 xml。The following is a sample configuration.xml that will change an existing 32-bit installation of Office 365 ProPlus to a 64-bit installation. 将保留所有现有产品、语言和其他部署设置 (如更新路径)。All existing products, languages, and other deployment settings, such as update path, will be preserved.

<Configuration>
  <Add OfficeClientEdition="64" MigrateArch="TRUE">
  </Add>
</Configuration>

然后, 在/configure 模式下运行 Office 部署工具并指定此 config.xml 文件, 以将32位的更改更改为64位。Then, run the Office Deployment Tool in /configure mode and specify this configuration.xml file to make the change from 32-bit to 64-bit. 将卸载32位版本, 然后安装64位版本。The 32-bit version will be uninstalled and then the 64-bit version will be installed.

如果你想要更改已安装的产品或语言, 或者想要更改其他部署设置, 你需要在配置 .xml 文件中指定这些设置。If you want to change the products or languages installed, or want to change other deployment settings, you need to specify those in your configuration.xml file. 例如, 如果你想要将 Office 365 专业增强版的64位安装更改为包含英语和德语的32位安装, 则更改更新路径, 并添加使用英语的 Visio, 你将使用类似于下面的配置 .xml 文件:下面的示例。For example, if you want to change a 64-bit installation of Office 365 ProPlus in English to a 32-bit installation that includes English and German, changes the update path, and adds Visio in English, you would use a configuration.xml file that looks similar to the following example.

<Configuration>
  <Add OfficeClientEdition="32" MigrateArch="TRUE">
    <Product ID="O365ProPlusRetail">
     <Language ID="en-us"/>
     <Language ID="de-de"/>
    </Product>
    <Product ID="VisioProRetail">
     <Language ID="en-us"/>
    </Product>
  </Add>
<Updates UpdatePath="\\server02\updates" Enabled="TRUE"/>
</Configuration>

有关使用 MigrateArch 属性的其他信息Additional information about using MigrateArch attribute

  • 在更改为其他体系结构之前, 尤其是在更改为64位时, 请确保现有加载项、宏和复杂的 Office 文件在新的体系结构上工作。Before changing to a different architecture, especially when changing to 64-bit, make sure that your existing add-ins, macros, and complex Office files work on the new architecture. 有关详细信息,请参阅使用 Readiness Toolkit 评估 Office 365 专业增强版的应用兼容性For more information, see Use the Readiness Toolkit to assess application compatibility for Office 365 ProPlus.

  • MigrateArch 属性可用于更改 Project 和 Visio 的订阅版本的体系结构。The MigrateArch attribute can be used to change the architecture of the subscription versions of Project and Visio. 例如, 如果您有一个设备, 其中仅安装有 Project Online 桌面客户端。For example, if you have a device that only has Project Online Desktop Client installed on it.

  • MigrateArch 属性不会迁移使用 Windows Installer (MSI) 安装的设备上的 Office 程序的位数。The MigrateArch attribute won’t migrate the bitness of Office programs on the device that were installed by using Windows Installer (MSI). 可以使用配置 .xml 文件中的RemoveMSI元素删除这些程序。Those programs can be removed by the using the RemoveMSI element in your configuration.xml file.

  • MigrateArch 属性仅可迁移通过 "即点即用" 安装的 Office 产品, 并具有以16.0 开头的版本号。The MigrateArch attribute can only migrate Office products installed by using Click-to-Run and have a version number that starts with 16.0. 例如, 如果 Visio Professional 2013 是通过 "即点即用" 安装在设备上的, 则不能使用 MigrateArch 属性, 因为2013版本的 Visio 的版本号以15.0 开头。For example, you can’t use the MigrateArch attribute if Visio Professional 2013 was installed on the device by using Click-to-Run, because the 2013 version of Visio has a version number that starts with 15.0. 通过转到 "控制面板" > **** > 中的 "程序和功能", 可以找到此版本信息。You can find this version information by going to Control Panel > Programs > Programs and Features. 如果设备上有任何 Office 产品是使用即点即用安装的, 并且其版本号从15.0 开始, 则迁移将失败。If there are any Office products on the device that were installed by using Click-to-Run, and whose version number starts with 15.0, then the migration will fail.

  • 如果你指定要移动的体系结构已是当前已安装产品的体系结构, 则当你运行 Office 部署工具时, 不会发生迁移。If the architecture that you specify to move to is already the architecture of the currently installed products, then no migration takes place when you run the Office Deployment Tool. 将不会删除和重新安装现有安装。Your existing installation will not be removed and reinstalled. 但是, 如果您的配置包含其他更改 (如添加语言), 则将实现这些更改。But if your configuration.xml includes other changes, such as adding a language, then those changes will be implemented.

  • 如果用户具有 Office 应用 (如 Word), 则在迁移过程开始时打开, 并且在配置 .xml 文件中将显示元素的Level属性设置为 "完全" 时, 系统将提示用户关闭该应用。If a user has an Office app, such as Word, open when the migration process begins, and the Level attribute is set to Full for the Display element in your configuration.xml file, then the user will be prompted to close the app. 如果他们取消了提示, 迁移将被取消。If they cancel the prompt, the migration is cancelled. 如果 Level 属性设置为 "无", 并且在设备上运行 Office 应用, 则迁移将失败。If the Level attribute is set to None, and Office apps are running on the device, then the migration will fail. 你可以在 config.xml 文件中使用FORCEAPPSHUTDOWN属性, 但这将关闭用户的应用, 而不会出现任何警告。You can use the FORCEAPPSHUTDOWN property in your configuration.xml file, but that will close the user’s apps without any warning.