Previous Topic: How config.sys Is Modified at InstallationNext Topic: Modification Rules for win.ini and system.ini


How config.sys Is Modified at Removal

When an uninstallation job is executed, all entries in the ascnnnn.sxp file of the application to be uninstalled are removed from the target computer’s config.sys file, provided they are not needed by any other application installed on the target computer.

This Installer processes as follows lines that contain one of these commands, BUFFERS, STACKS, FILES, FCBS, LASTDRIVE, DEVICE, DEVICEHIGH, INSTALL, and SET:

BUFFERS, STACKS, FILES, and FCBS

If the ascnnnn.sxp file contains an entry with a BUFFERS, STACKS, FILES, or FCBS command, the Installer checks whether another application installed on the target computer needs the entry:

For example, if the config.sys file contains BUFFERS=50 and the installation file also contains BUFFERS=50; and if two other applications have the entries BUFFERS=40 and BUFFERS=30, BUFFERS=50 is replaced by BUFFERS=40.

LASTDRIVE

The LASTDRIVE command is handled the same way as the BUFFERS, STACKS, FILES, and FCBS commands.

DEVICE and DEVICEHIGH

The DEVICE and DEVICEHIGH commands are used to load drivers. The Installer defines the file name of the driver, such as EMM386.EXE, and compares this with the driver names used by the other installed applications. If another application is using this driver, the line in the config.sys file is not deleted.

Important! When the DEVICE and DEVICEHIGH commands are compared, only the driver name is considered; the exact command specified (DEVICE or DEVICEHIGH) is not important.

INSTALL

The modification rule for the INSTALL command corresponds to the modification rule for the DEVICE and DEVICEHIGH commands.

SET

You can optionally use the SET command, in the config.sys file, to assign a value to a variable. If you do so, and if the entry you specify is to be deleted by the uninstall job, the entry is deleted only if the variable named in the SET command is not used by another program on the target computer.