|
RegisterTypeLib Method |
Top Previous Next |
|
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}"); |