Step 4 - Creating a Basic Unattended Setup
An answer file is a way to script the answers for a series of graphical user interface (GUI) dialog boxes. An answer file also tells Setup how to interact with the $OEM$ distribution folders and files you create, and supplies Setup with all of the information that the end user would provide during a typical Windows Setup.
With the XP SP2 Deployment Tools you downloaded, simply extract them to a folder, or double click on the Cab file. The only files you will need is setupmgr.exe and ref.chm:
The Setup Manager (setupmgr.exe) is a wizard-based answer file creation utility, so you won't come across too much difficulty in using this application. To start you off, make the following choices:
- New or Existing Answer File: Create
- Type of Setup: Unattended
- Windows Product: Which ever version
you're preparing for
- User Interaction: Fully
- Distribution Share: Set up from CD
(ignore the message about IE customizations, they work actually!)
When you've finished, it creates a file called unattend.txt. Since we are going to run Setup from a CD we need to rename this to WINNT.SIF. Be sure that the file does not infact end up WINNT.SIF.TXT. It MUST not end in .TXT
» I want to manually control my partitioning and formatting options...
If you prefer to manually choose a partition during text-mode setup with full control on choice of file system, then make sure you have these lines set as they are under the [Data] and [Unattended] sections in winnt.sif:
[Data] AutoPartition=0 [Unattended] FileSystem=*
If you want to automate this process with exact specifics on drive letters, partition sizes and file systems, you may want to consider using Bart's PE and diskpart.
» Where does the winnt.sif file go?
Copy winnt.sif to the I386 directory within the local setup source folder you created in Step 1.
» Additional Information
Refer to the Reference page, or read through ref.chm to see how you can add extra options to your winnt.sif file, such as asking Setup not to install Windows Messenger 4.7 and MSN Explorer 7.