(Unattended Installation)

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

[Uninstall]

The [Uninstall] section contains entries for allowing users who upgrade to Microsoft Windows XP to remove the operating system if they encounter problems.

This section instructs Setup to create a backup file of the user’s existing operating system. You must specify this section to make the Uninstall feature available.

Consider the following restrictions with the Uninstall feature:

  • Setup does not support Uninstall if the number of partitions or the file system changes.

  • Setup supports Uninstall only for upgrades of Windows 98, Windows 98 Second Edition, or Windows Me.

  • Users who upgrade from Windows NT 4.0 or Windows 2000 to Windows XP Home Edition or Windows XP Professional cannot use the Uninstall feature.

  • Users who upgrade from Windows XP 64-Bit Edition cannot use the Uninstall feature.

  • Users can use the Uninstall feature if Setup does not complete successfully.

  • After Uninstall, some applications installed with or upgraded to Windows XP might not work. However, Uninstall does not affect any user data created with the new operating system.

Answer File Entries for the [Uninstall]] Section

Entry Description

DisableCompression

Specifies whether to compress the files in Backup.cab.

EnableBackup

Specifies whether to create a backup file (Backup.cab) for removing Windows XP Home Edition or Windows XP Professional.

PathForBackup

Specifies the location of the backup files of the previous Windows 98, Windows 98 Second Edition, or Windows Me.

DisableCompression

Specifies whether to compress the files in Backup.cab.

Syntax
DisableCompression = Yes | No | Auto
Value Description

Yes

Does not compress the backup files in Backup.cab, located in the folder specified by PathForBackup. This setting speeds up an upgrade to Windows XP Home Edition or Windows XP Professional.

No

Compresses the files in Backup.cab to approximately 40 percent of their original size.

Auto

Checks the available disk space. If there is sufficient disk space, it does not compress the backup files in Backup.cab. If there is not enough disk space for all of these uncompressed files, it compresses the files when storing them in Backup.cab.

Example
[Uninstall]
DisableCompression = Yes
Comments

The default value is Auto.

The [Uninstall.DiskSpaceEstimation] section in Win9xupg.inf controls the compression factor. If you use the entry EnableBackup = No, Setup ignores the DisableCompression entry.

EnableBackup

Specifies whether to create a backup file (Backup.cab) for removing Windows XP Home Edition or Windows XP Professional.

Syntax
EnableBackup = Yes | No
Value Description

Yes

Creates Backup.cab in the folder specified by PathForBackup.

No

Does not create Backup.cab.

Example
[Uninstall]
EnableBackup = No
Comments

The default value is Yes.

PathForBackup

Specifies the location of the backup files of the previous Windows 98, Windows 98 Second Edition, or Windows Me.

Syntax
PathForBackup = path_for_backup_files
Value Description

path_for_backup_files

Creates Backup.cab in the folder specified by PathForBackup.

Example
[Uninstall]
PathForBackup = "%systemdrive%\Backup"
Comments

The default value is systemdrive:\Undo.

Setup accesses these files if the user chooses to remove Windows XP Home Edition or Windows XP Professional. In the PathForBackup entry you must specify a location on the computer’s hard disk. You cannot specify a shared folder or a removable mass-storage device. Enclose path_for_backup_files in quotation marks if it is a long file name.

If you use the entry EnableBackup = No, Setup ignores the PathForBackup entry.