Using the Setup Answer File

[This is preliminary documentation and subject to change.]

Setup passes the location of its answer file (UNATTEND.TXT) to your migration DLL in the MigrateUser9x, MigrateSystem9x, MigrateUserNT, and MigrateSystemNT functions.

Your migration DLL can modify this answer file during the Windows 95 and Windows 98 portion of the upgrade process by using the Win32 profile APIs (such as WritePrivateProfileString). Your DLL is permitted to change standard answer file settings and create private sections for its own use. Note that it may not modify the following sections of the UNATTEND.TXT file.

[Unattended]]
[MassStorageDrivers]
[DisplayDrivers]
[KeyboardDrivers]
[PointingDeviceDrivers]
[OemBootFiles]
[OEM_Ads]
[GuiUnattended]
[UserData]
[LicenseFilePrintData]
[Display]
[Modem]

Note This list will change before Beta 2.  Refer the reader to Win95upg.inf, [Answer File Restrictions] on the Windows NT compact disc.

For a detailed description of answer file parameters, search the Microsoft Knowledge Base at http://www.microsoft.com/kb/.

If you require a private section, your DLL should build the section name from the working directory passed to it by the Initialize9x function. The private section name may only contain alphanumeric characters (A-Z and 0-9). Spaces and other characters are not permitted because they prevent Windows NT Setup from starting the text-only portion of the installation.

During the Windows NT portion of the upgrade, your migration DLL must treat the UNATTEND.TXT file as a read-only file. You must not modify the answer file in any way.