建立或開啟回應檔案Create or Open an Answer File

下列程序描述如何建立新的回應檔案,或使用 Windows® 系統映像管理員 (Windows SIM) 中開啟現有的回應檔案。The following procedure describes how to create a new answer file or open an existing answer file by using Windows® System Image Manager (Windows SIM).

您建立或開啟回應檔案之後,您可以新增給它的設定和套件。After you create or open an answer file, you can add settings and packages to it. 如需詳細資訊,請參閱設定的元件和回應檔案中的設定新增至回應檔案的套件For more information, see Configure Components and Settings in an Answer File and Add a Package to an Answer File.

建立回應檔案Create an answer file

  1. 開啟 Windows SIM。Open Windows SIM.
  2. 開啟 Windows 映像。Open a Windows image. 如需詳細資訊,請參閱 < 開啟 Windows 映像或類別目錄檔案For more information, see Open a Windows Image or Catalog File.
  3. 回應檔案窗格中選取最上層節點,然後再按一下滑鼠右鍵以選取新的回應檔案In the Answer File pane, select the top node, and then right-click to select New Answer File.

開啟現有的回應檔案Open an existing answer file

  1. 開啟 Windows SIM。Open Windows SIM.
  2. 以滑鼠右鍵按一下回應檔案窗格中,然後再按一下開啟回應檔案Right-click the Answer File pane, and then click Open Answer File. 開啟 對話方塊隨即出現。The Open dialog box appears.
  3. 瀏覽至現有的回應檔案,然後開啟Browse to the existing answer file, and then click Open.

回應檔案會出現在回應檔案窗格。The answer file appears in the Answer File pane.

注意

如果它仍在其原始位置,也會開啟產生的回應檔案的 Windows 映像檔案。The Windows image file that generated the answer file also opens if it is still in its original location.

疑難排解Troubleshooting

在某些情況下,開啟現有的回應檔案時 Windows sim 卡時,可能會顯示驗證錯誤。In some cases, Windows SIM might display validation errors when opening an existing answer file. 如果發生這種情況,請嘗試下列選項:If this happens, try the following options:

  • 回應檔案中的個別設定的問題會出現在 [訊息] 窗格中。Problems with individual settings in an answer file appear in the Messages pane. 您可以使用此資訊來找出並解決問題。Use this information to identify and address the problem.
  • 如果回應檔案隨即開啟,但為 「 不存在 」 訊息 窗格中,然後將您使用的檔案中列出所有的設定可能是錯誤的電腦架構 – 例如,x86,可能根據原始的回應檔案和您 Windows 目錄的檔案是 amd64。If the answer file opens, but all the settings are listed as “does not exist” in the Messages pane, then the file you’re using might be for the wrong PC architecture – for instance, your original answer file might be based on x86, and your Windows catalog file is amd64. 若要修正此問題,您可以尋找並取代 processorArchitecture ="x86"processorArchitecture ="amd64",並重新開啟檔案。To fix this, you can find and replace processorArchitecture="x86" for processorArchitecture="amd64" and re-open the file.
  • 如果 Windows SIM 根本無法開啟檔案時,這通常表示有一些格式不正確的 XML 回應檔案中。If Windows SIM can’t open the file at all, this often means there’s some malformed XML in the answer file. 您通常可以藉由回應檔案中,一次一個大型區塊的區段剪下一次嘗試重新開啟檔案縮小問題。You can often narrow down the problem by cutting out sections of the answer file, one large block at a time, and trying again to re-open the file.

Windows 系統映像管理員的如何主題Windows System Image Manager How-to Topics

設定回應檔案中的元件和設定Configure Components and Settings in an Answer File

驗證回應檔案Validate an Answer File

隱藏回應檔案中的機密資料Hide Sensitive Data in an Answer File

將裝置驅動程式路徑新增至回應檔案Add a Device Driver Path to an Answer File

將套件新增至回應檔案Add a Package to an Answer File

將自訂命令新增至回應檔案Add a Custom Command to an Answer File

在 Windows SIM 中尋找元件、 設定或套件Find a Component, Setting, or Package in Windows SIM