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

Windows®安裝程式是安裝 Windows 或升級現有 Windows 安裝的程式。Windows® Setup is the program that installs Windows or upgrades an existing Windows installation. 它也是下列安裝和升級方法的基礎:It is also the basis for the following installation and upgrade methods:

  • 互動式設定Interactive Setup

  • 自動安裝Automated installation

  • Windows Deployment ServicesWindows Deployment Services

本主題內容:In this topic:

Windows 安裝程式安裝類型 Windows Setup Installation Types

Windows 安裝程式可以執行全新安裝和升級安裝。Windows Setup can perform both clean and upgrade installations. 但是,它不會執行電腦對電腦的遷移。However, it does not perform computer-to-computer migrations. 相反地,您必須使用 Windows 輕鬆傳輸、消費者狀態移轉工具 (USMT) 或另一個遷移工具,將資料從先前的安裝移至新的作業系統。Instead, you must use Windows Easy Transfer, the User State Migration Tool (USMT), or another migration tool to move data from a previous installation to the new operating system.

  • 自訂安裝。Custom installations. Windows 安裝程式可以執行自訂安裝(也稱為全新安裝),以儲存先前的 Windows 安裝,但不會遷移您的設定。Windows Setup can perform a custom installation, also known as a clean installation, which saves your previous Windows installation but does not migrate your settings. 在全新安裝之後,先前的 Windows 安裝將無法開機。The previous Windows installation will not boot after a clean installation.

  • 升級安裝。Upgrade installations. Windows 安裝程式所執行的安裝可以保留您的設定與喜好設定,同時又能升級作業系統。Windows Setup can perform an installation that retains your settings and preferences while upgrading your operating system.

Windows 安裝程式進程 Windows Setup Process

Windows 安裝程式會啟動和重新啟動電腦、收集資訊、複製檔案以及建立或調整組態設定。The Windows Setup program starts and restarts the computer, gathers information, copies files, and creates or adjusts configuration settings. 下表顯示 Windows 安裝程式的整個程序:The following table shows the overall process for Windows Setup:

Windows 安裝程式階段Windows Setup phase 設定動作Setup actions

自訂安裝和升級) 的下層 (Downlevel (for custom installations and upgrades)

- 或 -- or -

Windows PE (,以啟動 Windows DVD 或啟動自訂 Windows PE 映射) Windows PE (for booting the Windows DVD or booting a custom Windows PE image)

  1. 使用 Windows 安裝程式對話方塊來指定 Windows 安裝程式設定, (互動) 或回應檔案 (自動) ,或兩者的組合。Specify Windows Setup configurations by using either the Windows Setup dialog boxes (interactive) or an answer file (unattended), or a combination of the two. Windows 安裝程式設定包括新增產品金鑰和設定磁碟。Windows Setup configurations include adding a product key and configuring a disk.

  2. windowsPE 設定階段套用回應檔案設定,以設定安裝行為和使用者體驗。Apply answer file settings in the windowsPE configuration pass to configure the installation behavior and user experience.

  3. 設定磁碟。Configure the disk.

  4. 將 Windows 映像複製到磁碟。Copy the Windows image to the disk.

  5. 準備開機資訊。Prepare boot information.

  6. OfflineServicing設定階段中的處理回應檔案設定。Process answer file settings in the offlineServicing configuration pass. 這些設定會在 Windows 映像開機之前套用至 Windows 映像。The settings are applied to the Windows image before that Windows image boots. 電腦第一次開機時,系統會處理任何選用元件、驅動程式、更新或語言套件。When the computer first boots, any optional components, drivers, updates, or language packs are processed.

線上設定Online configuration

建立特定的設定,使 Windows 安裝獨一無二。Create specific configurations, making the Windows installation unique.

Windows 歡迎畫面Windows Welcome

  1. oobeSystem 設定階段套用回應檔案設定。Apply answer file settings in the oobeSystem configuration pass.

  2. 從 Oobe.xml 檔案套用內容檔案設定。Apply content file settings from the Oobe.xml file.

  3. 啟動 Windows 歡迎畫面。Start Windows Welcome.

相關主題Related topics

Windows 安裝程式技術參考Windows Setup Technical Reference

自動化 Windows 安裝程式Automate Windows Setup

自動 OOBE 的設定Settings for Automating OOBE

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

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

Audit 模式總覽Audit Mode Overview

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

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