RegisterTypeLib Method

Top  Previous  Next

Lokas Software AWinstall Online Help
Start Page
Engine Functionality
Tasks and Actions
Installer Variables
Reading from Registry and Environment
Tips And Tricks
Frequently Asked Questions
Installer Actions
Extract Files with Folders
Register COM DLL
Register COM Type Library
Create Shortcuts and Start Menu Items
Register Fonts
Add Registry Keys
Add Keys from .reg file
Add Keys from System Registry
Run External Programs
Add Uninstall Shortcut
Setup Builder Interface
Main Windows
Property Pane
Project Tree
Event Log
Menu bar commands
File
Edit
View
Project
Task
Help
Toolbars
Standard
Actions
Extending your setups
Script Actions
Installer Object
AddRegKey Method
CancelInstall Method
CopyFile Method
CreateObject Method
CreateShortcut Method
RegisterFont Method
RegisterServer Method
RegisterTypeLib Method
RunProgram Method
ShowMessage Method
Variables Method
VersionMajor Property
VersionMinor Property
General Information
Product Registration
History of Changes
  download AWinstall

Registers a COM Type Library.

[VBScript]

Installer.RegisterTypeLib LibPath, HelpDir

 

[JScript]

Installer.RegisterTypeLib(LibPath, HelpDir);

Parameters

LibPath

Path to COM Type Library (.tlb) file.

HelpDir

Path to Type Library Help Directory.

Remarks

COM Type Libraries are binary files with .tlb extension. Usually this files contain information about COM interfaces and components. To use this information, type library must be registered on target system.

Installer variables are supported in LibPath and HelpDir parameters. To emit the value of installer variable MyVar, use the following form: ${MyVar}.

Uninstall support

This action supports automatic uninstallation.

Example (VBScript)

Installer.RegisterTypeLib "${ProductPath}\Dictionary.tlb""${ProductPath}"

Example (JScript)

Installer.RegisterTypeLib("${ProductPath}\\Dictionary.tlb""${ProductPath}");

© 2007 Lokas Software