Unregister Library Action

The UnRegister Library action allows for unregistering a COM assembly by using the regsvr32 application program interface.  To use this action, provide the path to the COM assembly that should be unregistered. Declare to use DllInstall, DllUnRegiserServer or use both.  The default action is to use DllUnRegisterServer. This action allows for defining whether the COM assembly being unregistered is a 32-bit or 64 bit assembly on 64-bit operating systems.

Please reference Microsoft’s documentation on RegSvr32.exe for more information.

The file action that places the assembly being registered must precede this action.

 

Prepare Stage

No action taken.

Execute Stage

This action calls RegSvr32.exe to unregister the library using the defined options.

Cleanup Stage

No action taken.

Rollback Stage

Attempts to call RegSvr32.exe to register the assembly using the defined settings.

 

Unregister Library Action Editor

 

Action description – Descriptive text that can be used to identify this particular action in the Actions list.

 

Target client folder – The folder on the client that contains the dll or ocx file.

 

Subdirectories – The directory below the designated client root folder that contains the dll or ocx that is to be registered.

 

Library to register – The name of the dll or ocx file.

 

Use DllRegisterServer/DllUnregisterServer, Use DllInstall, DllInstall command line, Supress dialogs – Parameters to the Regsrvr32 call.  See msdn for more information.

 

Expansion variables can be used to set the target client subdirectory property, Library to unregister name and the DllInstall command line.