共用方式為


Add a Package to an Answer File

Applies To: Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

The following procedures describe how to add a package to an answer file by using Windows® System Image Manager (Windows SIM).

You can add a package to an answer file by using one of three options: from the Insert menu, from the Windows Image pane, or from an open distribution-share folder in the Distribution Share pane.

To add a package from the Insert menu

  1. Open Windows SIM.

  2. Create or open an answer file. For more information, see Create or Open an Answer File.

  3. Open a distribution share. For more information, see Create or Open a Distribution Share.

  4. On the Insert menu, click Package(s).

    The Select Package(s) to Insert window opens.

  5. Browse to the package that you want to add, and then click Open.

  6. In the Properties pane, under Settings, select one of the following values for Action: Install, Remove, Configure, or Stage.

To add a package from the Windows Image pane

  1. Open Windows SIM.

  2. Create or open an answer file. For more information, see Create or Open an Answer File.

  3. Open a distribution share. For more information, see Create or Open a Distribution Share.

  4. In the Windows Image pane, select the Packages node. Expand the node, right-click the package that you want to add to the answer file, and then click Add to Answer File.

  5. In the Properties pane, under Settings, choose one of the following values for Action: Install, Remove, Configure, or Stage.

To add a package from a distribution share

  1. Open Windows SIM.

  2. Create or open an answer file. For more information, see Create or Open an Answer File.

  3. Open a distribution share. For more information, see Create or Open a Distribution Share.

  4. Right-click the package that you want to add to the distribution share packages directory, and then click Add to Answer File.

    The package is added to the answer file in the packages section.

  5. In the Properties pane, under Settings, choose one of the following values for Action: Install, Remove, Configure, or Stage.

See Also

Tasks

Create or Open an Answer File
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 Custom Command to an Answer File
Find a Component, Setting, or Package in Windows SIM

Other Resources

Windows SIM How-to Topics