Windows 安裝程式支援的平台和跨平台部署Windows Setup Supported Platforms and Cross-Platform Deployments

本主題說明針對 Windows 安裝程式執行所支援的平臺和部署案例。This topic describes the supported platforms and deployment scenarios for running for Windows Setup.

當您部署不同類型的電腦時,您可以使用 Windows 安裝程式,透過 Windows 安裝程式使用者介面,在您的映射之間進行選擇,以選取特定的映射。When you’re deploying different types of PCs, you can use Windows Setup as a way to choose between your images through the Windows Setup user interface to select a specific image. 您可以包含各種硬體平臺的映射 (例如 BIOS 和 UEFI、32位和64位電腦) ,以及不同版本的 Windows (,例如 Windows 8.1、Windows Server 2012 R2 和 Windows 7) 。You can include images for a variety of hardware platforms (such as BIOS and UEFI, 32-bit and 64-bit PCs), and across different versions of Windows (such as Windows 8.1, Windows Server 2012 R2, and Windows 7).

您也可以透過腳本來執行 Windows 安裝程式。You can also run Windows Setup through a script. 將電腦開機以 Windows PE,然後使用setup.exe 檔案的 \ 來源 \ 來指定您的映射。Boot the PC to Windows PE, and then use the \sources\setup.exe file to specify your image.

固件考慮: BIOS 與 UEFIFirmware considerations: BIOS vs. UEFI

若為支援開機至 UEFI 或舊版 BIOS 模式的 UEFI 型電腦,請先確定您的電腦開機進入正確的固件模式,再開始 Windows 安裝程式。For UEFI-based PCs that support booting into either UEFI or legacy BIOS modes, make sure your PC is booted into the correct firmware mode before starting Windows Setup. 否則,Windows 安裝程式可能會不正確地設定硬碟磁碟分割,如果硬碟已預先設定,則可能會中止安裝。Otherwise, Windows Setup may set up the hard drive partitions incorrectly, or may abort the installation if the hard drives are preconfigured. 如需詳細資訊,請參閱 WinPE:以 UEFI 或舊版 BIOS 模式啟動For more information, see WinPE: Boot in UEFI or legacy BIOS mode.

固件: BIOS 32 位和64位Firmware: BIOS 32-bit and 64-bit

若要設定可將 Windows 部署至32位和64位 BIOS 電腦的單一環境或腳本集,請使用32位版本的 Windows PE 和32位版本的 Windows 安裝程式。To set up a single environment or set of scripts that can deploy Windows to both 32-bit and 64-bit BIOS PCs, use a 32-bit version of Windows PE and a 32-bit version of Windows Setup.

64位版本的 Windows 安裝程式不會在32位版本的 Windows PE 上執行。The 64-bit version of Windows Setup does not run on the 32-bit version of Windows PE.

若要從32位版本的 Windows PE 安裝64位版本的 Windows:To install a 64-bit version of Windows from a 32-bit version of Windows PE:

  1. 使用32位版本的 Windows PE 來啟動電腦。Boot the PC using the 32-bit version of Windows PE.

  2. 使用下列任何一種技術來安裝64位版本的 Windows:Use any of the following techniques to install a 64-bit version of Windows:

    • 執行 Windows 安裝程式的32位版本,並使用 /InstallFrom 命令列選項來選取64位 Windows 映像:Run a 32-bit version of Windows Setup, and use the /InstallFrom command-line option to select a 64-bit Windows image:

      X:\windows\system32> D:\setup /InstallFrom:"N:\Windows_64-bit\sources\install.wim"
      

      -或--or-

    • 執行 Windows 安裝程式的32位版本,並使用 Microsoft-Windows-Setup\ImageInstall\OSImage\ InstallFrom unattend.xml 設定來選取64位 Windows 映像。Run a 32-bit version of Windows Setup, and use the Microsoft-Windows-Setup\ImageInstall\OSImage\InstallFrom unattend setting to select a 64-bit Windows image.

      X:\windows\system32> D:\setup /unattend:"D:\unattend_install_64-bit.xml"
      

      -或--or-

    • 使用映射捕獲工具將64位版本的 Windows 套用至電腦。Use image-capturing tools to apply a 64-bit version of Windows to the PC.

      Dism /Apply-Image /ImageFile:"Fabrikam_64-bit_image.wim" /Index:1 /ApplyDir:D:\
      

      如需詳細資訊,請參閱 使用 DISM 套用影像For more information, see Apply Images Using DISM.

警告Warning
此程式不支援部署 Windows 7。This procedure does not support deploying Windows 7.

使用 Windows 安裝程式安裝舊版 WindowsUsing Windows Setup to Install Previous Versions of Windows

您可以使用 Windows 8.1 和 Windows Server 2012 R2 版本的 Windows 安裝程式來安裝舊版的 Windows:You can use the Windows 8.1 and Windows Server 2012 R2 versions of Windows Setup to install previous versions of Windows:

主機作業系統Host Operating System Windows 8.1 安裝程式支援Windows 8.1 Setup Support

Windows 8.1Windows 8.1

Yes

Windows Server 2012 R2Windows Server 2012 R2

Yes

Windows 8Windows 8

Yes

Windows Server 2012Windows Server 2012

Yes

Windows 7Windows 7

Yes

Windows Server 2008 R2Windows Server 2008 R2

Yes

Windows VistaWindows Vista

No

Windows Server 2008Windows Server 2008

No

Windows XP (含 SP3)Windows XP with SP3

No

Windows Server 2003 R2 和舊版Windows Server 2003 R2 and previous versions

No

Windows XP SP2 與舊版Windows XP with SP2 and previous versions

No

您也可以從 Windows 預先安裝環境 (Windows PE) 中執行 Windows 安裝程式。You can also run Windows Setup from the Windows Preinstallation Environment (Windows PE). 下表列出支援的 Windows PE 環境:The following table lists the supported Windows PE environments:

Windows 安裝程式的版本Version of Windows Setup Windows PE 5.0 (Windows 8.1) Windows PE 5.0 (Windows 8.1) Windows PE 4.0 (Windows 8) Windows PE 4.0 (Windows 8) Windows PE 3.0 (Windows 7) Windows PE 3.0 (Windows 7) Windows PE 2.0 (Windows Vista) Windows PE 2.0 (Windows Vista)

Windows 8.1 設定Windows 8.1 Setup

Yes

Yes

Yes

No

Windows 8 設定Windows 8 Setup

No

Yes

Yes

Yes

Windows 7 安裝程式Windows 7 Setup

No

No

Yes

Yes

Windows Vista 安裝程式Windows Vista Setup

No

No

No

Yes

跨平臺部署Cross-Platform Deployment

跨平臺部署是從不同架構的環境安裝特定 Windows 架構的程式。Cross-platform deployment is the process of installing a specific architecture of Windows from an environment of a different architecture. 例如,您可以從 Windows PE 的32位版本中,部署 Windows 8.1 或 Windows 8 的64位版本。For example, you can deploy a 64-bit edition of Windows 8.1 or Windows 8 from a 32-bit edition of Windows PE. 使用跨平臺部署解決方案的優點是,您不需要維護多個版本的 Windows PE 來安裝不同的 Windows 架構版本。The benefit of using a cross-platform deployment solution is that you don't have to maintain multiple versions of Windows PE for installing different architecture editions of Windows. 您可以建立單一 Windows PE 映射,以用來安裝32位和64位版本的 Windows。You can build a single Windows PE image that you can use to install both 32-bit and 64-bit editions of Windows.

當您從32位版本的 Windows PE 安裝 Windows 64 位版本時,您必須使用 Windows PE 2.0 或更新版本。When you install a 64-bit edition of Windows from a 32-bit version of Windows PE, you must use Windows PE 2.0 or a later version. 如需 Windows PE 版本的詳細資訊,請參閱 Windows 10 的 WinPEFor more information about Windows PE releases, see WinPE for Windows 10.

下表列出不同的 Windows 映像架構類型 (32 位或64位) 可安裝特定版本的 Windows 8.1 安裝程式。The following table lists the different architecture types of Windows images (32-bit or 64-bit) that a specific version of Windows 8.1 Setup is able to install.

64位 Windows 8.1 映射64-Bit Windows 8.1 image 32位 Windows 8.1 映射32-bit Windows 8.1 image 64位 Windows 8 映射64-Bit Windows 8 image 32位 Windows 8 映射32-bit Windows 8 image

64位 Windows 8.1 安裝程式64-bit Windows 8.1 Setup

Yes

No

Yes

No

32位 Windows 8.1 安裝程式32-bit Windows 8.1 Setup

Yes

Yes

No

Yes

跨平臺部署的限制Limitations of cross-platform deployment

不支援這些跨平臺部署案例:These cross-platform deployment scenarios aren't supported:

  • 在32位電腦上安裝64位 Windows 映像。Installing a 64-bit Windows image on a 32-bit computer.

  • 從64位預先安裝環境部署32位 Windows 映像。Deploying a 32-bit Windows image from a 64-bit preinstallation environment.

  • 使用32位版本的 Windows 安裝程式升級64位作業系統。Using a 32-bit version of Windows Setup to upgrade a 64-bit operating system.

  • 使用32位版本的 Windows 8 安裝程式來部署64位版本的 Windows 7 作業系統。Using a 32-bit version of Windows 8 Setup to deploy a 64-bit version of the Windows 7 operating system.

    例如,您必須使用64位版本的 Windows 8 安裝程式來部署64位版本的 Windows 7。For example, you must use a 64-bit version of Windows 8 Setup to deploy a 64-bit version of Windows 7. 在舊版中,Windows 安裝程式版本必須符合您要部署的作業系統。In previous releases, the version of Windows Setup version had to match the operating system that you would deploy. 例如,您必須使用 Windows 7 Setup.exe 安裝 Windows 7。For example, you had to use the Windows 7 Setup.exe to install Windows 7.

  • 在跨平臺部署案例中使用 Microsoft Internet SCSI (iSCSI) 的開機磁片。Using Microsoft Internet SCSI (iSCSI) boot disk in a cross-platform deployment scenario.

    例如,不支援將 Windows (64 位版本從跨平臺媒體) (例如 Windows PE (32 位版本) )安裝至 iSCSI 開機磁片。For example, installing Windows (64-bit version) from cross-platform media, such as Windows PE (32-bit version), to an iSCSI boot disk is unsupported. 當您將 Windows 部署至 iSCSI 開機磁片時,您必須使用與目標部署架構相同的 Windows PE 架構。You must use the same architecture for Windows PE as the target deployment architecture when you deploy Windows to an iSCSI boot disk.

  • 在整合可延伸韌體介面 (UEFI) ,從32位版本的 Windows PE 部署64位版本的 Windows。On Unified Extensible Firmware Interface (UEFI), deploying a 64-bit edition of Windows from a 32-bit version of Windows PE. 在某些 UEFI 電腦上,您無法在 BIOS 相容模式中安裝 Windows,且必須切換至 UEFI 相容性模式。On some UEFI computers, you can't install Windows in BIOS-compatibility mode and must switch to UEFI-compatibility mode. 如需詳細資訊,請參閱 開機至 UEFI 模式或舊版 BIOS 模式For more information, see Boot to UEFI Mode or Legacy BIOS mode.

  • 在 BIOS 上:On BIOS:

    • 執行跨平臺部署(全新安裝的一部分除外),或執行 Windows 部署服務部署。Performing cross-platform deployments, except as part of a clean installation, or performing a Windows Deployment Services deployment.

    • 為使用者提供跨平臺安裝媒體以進行復原。Providing cross-platform installation media to users for recovery.

      若要防止使用者在電腦架構中安裝錯誤的 Windows 版本,請不要為使用者提供跨平臺安裝媒體以進行修復或重新安裝。To prevent users from installing the wrong edition of Windows for the architecture of their computer, don't provide cross-platform installation media to users for recovery or reinstallation. 此外,媒體中所包含的 Windows 修復環境 (Windows RE) 功能只適用于32位 Windows 安裝。Also, the Windows Recovery Environment (Windows RE) feature that's included on the media applies only to 32-bit Windows installations.

建立多個架構類型的 .wim 檔案Creating a .wim file for multiple architecture types

如果 .wim 檔案同時包含32位和64位的 Windows 版本,您必須選取要安裝的 Windows 映像。If a .wim file contains both 32-bit and 64-bit Windows editions, you must select the Windows image that you want to install. 一般而言,Windows 安裝程式會使用您在設定中指定的產品金鑰 ProductKey 來決定要安裝的 Windows 映像。Typically, Windows Setup uses the product key that you specify in the ProductKey setting to determine which Windows image to install. 但是,如果檔案包含相同 Windows 版本的兩個版本(例如 Windows 8.1 Pro),您必須使用 MetaData 回應檔案中的設定,以指定要安裝的版本。But if the file contains 2 editions of the same Windows version, like Windows 8.1 Pro, you must use the MetaData setting in an answer file to specify the edition to install.

若要選擇影像,請指定對應于映射索引、名稱、描述或架構類型的中繼資料。To choose an image, specify metadata that corresponds to the image index, name, description, or architecture type. 若為架構類型的中繼資料,請使用0表示32位版本,並使用9代表64位版本。For the metadata for architecture type, use 0 for 32-bit editions and 9 for 64-bit editions. 如需詳細資訊,請參閱 MetaData 金鑰 設定。For more info, see the MetaData Key setting.

回應檔案必須包含處理器特定的元件。The answer file must include processor-specific components. WindowsPE設定階段中的回應檔案設定必須符合預先安裝環境的架構類型。The answer-file settings in the windowsPE configuration pass must match the architecture type of the preinstallation environment. 適用于 Windows 映像的設定必須符合映射的架構類型。The settings that apply to the Windows image must match the architecture type of the image. 例如,如果您建立從32位預先安裝環境部署64位映射的回應檔案,windowsPE 設定階段的回應檔案中的所有元件都必須包含 x86 的 processor 屬性類型。For example, if you create an answer file that deploys 64-bit images from a 32-bit preinstallation environment, all components in the answer file for the windowsPE configuration pass must include the processor attribute type of x86. 要套用於 特殊化oobeSystem或其他設定階段的設定必須包含 amd64 的 processor 屬性類型。Settings to be applied in the specialize, oobeSystem, or other configuration passes must include the processor attribute type of amd64.

安裝64位驅動程式Installing 64-bit drivers

Windows 隨附的所有驅動程式都會經過簽署。All drivers that are included with Windows are signed. 在跨架構部署中,您可以使用現成可用的設備磁碟機。In cross-architecture deployments, you can use an out-of-box device driver. 但是,如果您使用的不帶正負號的現成設備磁碟機在64位安裝中開機很重要,則安裝可能會變成無法使用。But if you use an unsigned out-of-box device driver that's boot critical in a 64-bit installation, the installation may become unusable.

您可以使用下列其中一種方式,在 Windows 安裝程式期間安裝 Windows 映像的64位驅動程式:You can install 64-bit drivers for a Windows image during Windows Setup in either of these ways:

  • 在 [手動安裝] 中,您可以按 F6 或按一下 Windows 安裝程式之 [ 磁片 設定] 頁面上的 [ 載入驅動程式 ] 按鈕。In attended installations, you can press F6 or click the Load Driver button on the Disk Configuration page of Windows Setup.

  • 在自動安裝中,您可以使用回應檔案中的 Microsoft-windows-pnpcustomizationswinpe 或 Microsoft-windows-pnpcustomizationsnonwinpe 元件來指定驅動程式路徑。In unattended installations, you can use the Microsoft-Windows-PnpCustomizationsWinPE or Microsoft-Windows-PnpCustomizationsNonWinPE component in an answer file to specify a driver path. 如需如何自動執行安裝的詳細資訊,請參閱 自動化 Windows 安裝程式For more information about how to automate your installation, see Automate Windows Setup.

硬體考慮:加密的硬碟 (e 磁片磁碟機) Hardware considerations: Encrypted Hard Drives (e-Drives)

我們新增了加密硬碟裝置的支援, (也稱為 Windows 8、Windows Server 2012 和 Windows PE 4.0 的電子磁片磁碟機) 。We added support for Encrypted Hard Drive Devices (also known as E-Drives) in Windows 8, Windows Server 2012, and Windows PE 4.0.

若要安裝舊版的 Windows (範例: Windows 7 或 Windows Vista) 至加密的硬碟裝置,請使用 Windows PE 4.0 或更新版本。To install a previous version of Windows (examples: Windows 7 or Windows Vista) to an Encrypted Hard Drive Device, use Windows PE 4.0 or later.

如需詳細資訊,請參閱 加密的硬碟裝置指南For more information, see Encrypted Hard Drive Device Guide.

相關主題Related topics

WinPE:以 UEFI 或舊版 BIOS 模式開機WinPE: Boot in UEFI or legacy BIOS mode

Windows 安裝程式案例和最佳作法Windows Setup Scenarios and Best Practices

Windows 安裝程式安裝程式Windows Setup Installation Process

Windows 安裝程式自動化總覽Windows Setup Automation Overview

Audit 模式總覽Audit Mode Overview

Windows 安裝程式設定階段Windows Setup Configuration Passes