在答案文件中配置的组件和设置Configure Components and Settings in an Answer File

以下过程介绍如何执行以下操作:The following procedure describes how to do the following:

  • 将组件添加到答案文件Add a component to an answer file
  • 自定义答案文件中的设置值Customize a setting value in an answer file
  • 将列表项添加到答案文件Add a list item to an answer file

列表项为可声明多个时间的设置,每个声明中包含不同的值。List items are settings that can be declared multiple times, and each declaration contains different values. 例如,Windows Internet Explorer FavoritesList设置用于指定多个收藏夹链接。For example, the Windows Internet Explorer FavoritesList setting is used to specify multiple Favorites links. 对于想要添加到 Internet 资源管理器中每个新的收藏夹链接,您添加一个新FavoritesList设置。For each new Favorites link that you want to add to Internet Explorer, you add a new FavoritesList setting.

将组件添加到答案文件Add a component to an answer file

  1. 打开 Windows 系统映像管理器 (Windows SIM)。Open Windows System Image Manager (Windows SIM).
  2. 打开 Windows 映像。Open a Windows image. 有关详细信息,请参阅打开 Windows 映像或编录文件For more information, see Open a Windows Image or Catalog File.
  3. 创建或打开答案文件。Create or open an answer file. 有关详细信息,请参阅创建或打开答案文件For more information, see Create or Open an Answer File.
  4. 在中Windows 映像窗格中,找到的组件或打包你想要添加到答案文件。In the Windows Image pane, locate the component or package that you want to add to the answer file.
  5. 右键单击该组件,然后选择配置阶段。Right-click the component, and then select a configuration pass.

将组件添加到答案文件中指定的配置阶段。The component is added to the answer file in the specified configuration pass.

备注

若要搜索整个 Windows 映像 (.wim) 文件,请按 Ctrl + F。To search the entire Windows image (.wim) file, press Ctrl+F.

自定义答案文件中的设置值Customize a setting value in 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. 创建或打开答案文件。Create or open an answer file. 有关详细信息,请参阅创建或打开答案文件For more information, see Create or Open an Answer File.
  4. 在中答案文件窗格中,查找配置传递包含你想要更改的设置的组件。In the Answer File pane, find the configuration pass that contains the component for the setting that you want to change.
  5. 选择组件的包,其中包含你想要更改的设置。Select the component or package that contains the setting that you want to change.
  6. 在中设置一部分属性窗格中,更改设置,以更新它的值。In the Settings section of the Properties pane, change the value of the setting to update it. 根据设置的类型,可以输入一个新的设置也可以从可能的设置下拉列表中选择。Depending on the type of setting, you can enter a new setting or select from a drop-down list of possible settings.

有关各种设置和属性的详细信息,请参阅组件设置和属性参考For more information about the various settings and properties, see Component Settings and Properties Reference.

将列表项添加到答案文件Add a list item to 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. 创建或打开答案文件。Create or open an answer file. 有关详细信息,请参阅创建或打开答案文件For more information, see Create or Open an Answer File.
  4. 在中Windows 映像窗格中,将组件添加或将设置为应答文件。In the Windows Image pane, add the component or setting to the answer file.
  5. 在中答案文件窗格中,右键单击列表项,然后单击插入In the Answer File pane, right-click the list item, and then click Insert. Windows SIM 将插入新列表项类型。Windows SIM inserts a new list-item type. 例如,右键单击DriverPaths设置,然后依次插入新 PathAndCredentialsFor example, right-click the DriverPaths setting, and then click Insert new PathAndCredentials. 一个新PathAndCredentials设置添加到答案文件。A new PathAndCredentials setting is added to the answer file.
  6. 若要添加多个列表项,请重复上一步。To add more list items, repeat the previous step.

重要

每个列表项应包含一个唯一密钥值来区分从同一类型的其他列表项的列表项。Each list item should contain a unique Key value to differentiate the list item from other list items of the same type.

Windows 系统映像管理器操作指南主题Windows System Image Manager How-to Topics

创建或打开答案文件Create or Open 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