SelfUnregModules Action

Windows Installer

SelfUnregModules Action

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.

Sequence Restrictions

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.

ActionData Messages

Field Description of action data
[1] Identifier of unregistered module file.
[2] Identifier of folder holding unregistered module file.

 

Remarks

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.

See Also

Specifying the Order of Self Registration

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.