Reversable commands

When a package is uninstalled, the following commands are "reversed" automatically:

Command

Reverse

Copy

Delete

InstallFile

DeleteFileList

InstallFileList

DeleteFileList

MakeDir

RemoveDir

CreateFolder

RemoveFolder

CreateIcon

RemoveIcon

CreateInternetLink

RemoveLink

CreateLink

RemoveLink

AddPrinterConnection

Deletes the connection

InstallService

UninstallService

MSIInstallProduct

MSIUninstallProduct

RegLoad

Deletes the keys
(only if specified)

The following command is created by NetInstall Spy and can be reversed only under specific conditions:

Command

Action during uninstallation

AddINI

CONDITIONALLY REVERSIBLE…
…if the INI file resides in the Windows directory

The following rules apply:
- A section that already exists and has not been created by NetInstall will not be removed during uninstallation.
- A section that has been created by NetInstall will be removed as soon as the last NetInstall package is uninstalled (i.e. the last package that modified this section, for example by inserting the section, adding value names or changing values)

Background information: If the INI files resides in the Windows directory the Installer makes use of a reference counter for every section that AddINI modifies.

 

REVERSABLE…

…if the INI file does not reside in the  Windows directory.

Please note:
- New sections that were created by AddIni will be removed (including all values therein)
- If the INI file is empty after removing specified sections, the complete file will be deleted