The SelfUnregModules action unregisters all modules listed in the SelfReg table that are scheduled to be uninstalled. The installer does not self-register .EXE files.
The InstallValidate action must appear before the SelfUnregModules action in the sequence. If a SelfRegModules action is used it must appear after the SelfUnregModules action in the sequence. If a RemoveFiles action is used it must appear after the SelfUnregModules action in the sequence.
|Field||Description of action data|
|||Identifier of unregistered module file.|
|||Identifier of folder holding unregistered module file.|
The SelfUnregModules action attempts to call the DllUnregisterServer function of the module that is to be unregistered. This action runs with elevated privileges when the installation is being run with elevated privileges, such as during a per-machine installation. During a per-user installation, the installer runs this action with user privileges.
Note that you cannot specify the order in which the installer unregisters self-registering DLLs by using the SelfUnRegModules action.