Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Vista

Automating Installation : Using Windows SIM (part 2) - Creating an Answer File, Adding Files to Answer Files

- Windows 10 Product Activation Keys Free 2019 (All Versions)
- How To Bypass Torrent Connection Blocking By Your ISP
- How To Install Actual Facebook App On Kindle Fire
9/23/2012 5:49:23 PM

Creating an Answer File

You can use Windows SIM to create a new unattended setup answer file (Figure 4). The process of creating an answer file involves selecting an image, creating a catalog file to index image components (the catalog describes the available settings), selecting and configuring settings for these components, and saving the answer file in a location where it will be detected during setup.

Figure 4. Using Windows SIM to create an answer file.

Note

To correctly identify components in a Windows image, Windows SIM must use a catalog file. A catalog (.clg) file is a binary file that describes the settings and packages in a Windows image. Windows SIM automatically creates catalog files when you open an image. You can also manually create a catalog by clicking Create Catalog on the Tools menu in Windows SIM.


To create a new answer file
1.
Start Windows SIM. Click Start, point to All Programs, point to Microsoft Windows AIK, and then click Windows System Image Manager.

2.
Copy Install.wim from the product DVD to the local hard disk if you haven’t already copied the product media to a local folder.

3.
On the File menu, click Select Windows Image.

4.
In the Select A Windows Image dialog box, browse to the folder containing the Install.wim file, and then open the file.

5.
In the Select An Image dialog box, select the edition of Windows Vista that you intend to deploy, and then click OK.

6.
Click OK to create a new catalog file when prompted.

7.
On the File menu, click New Answer File.

8.
Choose Components in the Windows Image pane and choose settings to add in the Answer File pane. To add a setting to the answer file, right-click a setting in a component and choose a configuration pass from the menu.

9.
Verify your settings by clicking Validate Answer File on the Tools menu.

10.
Save the answer file by clicking File and then clicking Save Answer File. Save the answer file in your distribution share using a descriptive name.

How It Works: Where Do Answer Files Go?

Windows Setup looks in a number of places for an answer file named Autounattend.xml when starting each configuration pass. Table 2 describes each location in which you can put Autounattend.xml for Windows Setup to automatically find and use it during installation.

Table 2. Answer File Locations
OrderLocationDescription
1In the registry value HKLM\System\Setup\UnattendFile.Specifies the location of an answer file. The answer file is not required to be named Unattend.xml.
2%WINDIR%\panther\unattendThe name of the answer file must be Unattend.xml or Autounattend.xml.
3%WINDIR%\pantherWindows Setup caches answer files to this location. Do not overwrite any files found here.
4Removable read/write media in order of drive letter, at the root of the drive.The name of the answer file must be Unattend.xml or Autounattend.xml, and the answer file must be located at the root of the drive.
5Removable read-only media in order of drive letter, at the root of the drive.Removable read-only media in order of drive letter, at the root of the drive The name of the answer file must be Unattend.xml or Autounattend.xml, and must be located at the root of the drive.
6During windowsPE and offlineServicing passes in the Sources folder of the distribution media or share. For all other passes, Windows Setup looks in %WINDIR%\system32\sysprep.In the windowsPE and offlineServicing passes, the name of the answer file must be Autounattend.xml. For all other configuration passes, the file name must be Unattend.xml.
7%SYSTEMDRIVE%The answer file name must be Unattend.xml or Autounattend.xml.


To edit an existing answer file
1.
In Windows SIM, click Select Windows Image on the File menu.

2.
In the Select A Windows Image dialog box, browse to the folder containing the Install.wim image file, and then open it.

3.
In the Select An Image dialog box, choose the appropriate edition of Windows Vista, and then click OK.

4.
On the File menu, click Open Answer File.

Adding Files to Answer Files

Microsoft provides updates as packages that you can import into the installation project, as shown in Figure 5. You can also use Windows SIM to add device drivers.

Figure 5. Adding packages to an answer file.

In addition to packages, you can add device drivers to an answer file and specify a device driver path. This device driver path processes additional out-of-box device drivers during Windows Setup. You can copy out-of-box device drivers to a Windows image during the windowsPE configuration pass. In this configuration pass, you can add boot-critical drivers to a Windows image before that image is installed.

Note

You can also add additional drivers to the Windows installation during the auditSystem configuration pass.


When you select a driver path, you select a folder that contains one or more .inf-type device drivers. The folder path is added to the answer file and, during an unattended installation, is referenced to find all drivers in the path and install them. You can only use this procedure to add .inf drivers to a Windows image. Drivers packaged as .exe files or other file types must be installed on a running Windows operating system.

To add a package to an answer file by using the Insert menu
1.
Open Windows SIM.

2.
Open an image, distribution share, and answer file.

3.
On the Insert menu, click Package(s) to open the Select Package(s) To Insert dialog box.

4.
Open the folder containing the package to add, and then open the package file. Package files have the .cab file extension.

5.
In the Properties pane, under Settings, choose Install, Remove, Configure, or Stage.

To add a device driver path to an answer file
1.
Open Windows SIM.

2.
Open an image, distribution share, and answer file.

3.
On the Insert menu, select Driver Path.

4.
Choose the configuration pass in which you install the driver. This can be in the windowsPE pass, offlineServicing, or the auditSystem pass. By adding device driver paths to the windowsPE or offlineServicing configuration passes, you can add out-of-box device drivers to the Windows image before the system starts. This enables you to add boot-critical device drivers to a Windows image. Adding drivers to auditSystem enables you to add additional out-of-box drivers during audit mode. This enables you to maintain a simple Windows image, and then add only the drivers that are required for a specific hardware configuration.

Note

The device driver path you add to the answer file should be relative to the destination computer. If the destination computer must access the device drivers from a network share, for example, then the path should be the UNC path to the network share containing the device drivers.

5.
In the Select a Folder That Contains Driver Files dialog box, select the driver path to add to the answer file, and then click OK.

The driver path selected is added to the answer file under the configuration pass that you selected. Depending on the configuration pass that you selected, the driver path is included as a list item to one of the following components:

  • Microsoft-Windows-PnpCustomizationsWinPE for windowsPE

  • Microsoft-Windows-PnpCustomizationsWinPE for offlineServicing

  • Microsoft-Windows-PnpCustomizationsNonWinPE for auditSystem

Note

You can also drag drivers from an Out-of-Box Drivers folder in the Distribution Share pane to the Answer File pane and drop it in either the WinPE or auditSystem pass, or right-click to add it.

Other -----------------
- Dreamweaver CS5 : Working with Multimedia and Online Tools - Linking or Embedding Sound
- Dreamweaver CS5 : Working with Multimedia and Online Tools - Inserting a Flash Video
- Adobe Photoshop CS5 : The Essential Adjustments : Exposure
- Adobe Photoshop CS5 : Maximizing Filters - Getting the Best Results - Fade and Blend
- Security in Windows Vista : Architectural and Internal Windows Vista Security Improvements (part 2)
- Security in Windows Vista : Architectural and Internal Windows Vista Security Improvements (part 1)
- Adobe Fireworks CS5 : Extra Credit (part 2) - Stroking rendered text
- Adobe Fireworks CS5 : Extra Credit (part 1) - Applying blending modes for image correction
- Adobe Flash Catalyst CS5 : Grouping and transforming
- Adobe Flash Catalyst CS5 : Binding the Data to the Visual Component
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Popular tags
Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 windows Phone 7 windows Phone 8
programming4us programming4us
Celebrity Style, Fashion Trends, Beauty and Makeup Tips.
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server