Register Library Action

The Register Library action registers a COM assembly by using the regsvr32 application program interface.  To use this action, provide the path to the COM assembly on the deployed system to be registered.  You can also select to use DllInstall, use DllRegiserServer or use both.  The default action is to use DllRegisterServer.  This action allows for declaring whether the COM assembly should be registered as 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 register the library using the defined options.

Cleanup Stage

No action taken.

Rollback Stage

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

 

Register 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 subdiretory property, Library to register name and the DllInstall command line.