Typelib attributes

Reference information
Project page COM Classes and Typelibs
Related topics Working with attribute panes

Introduction

A Typelib object represents a type library registration or unregistration. A typelib object contains one or more type library versions, each of which contains one or more localizations.

registration or unregistration of a type library is controlled by its component and its versions. The details differ somewhat between Tarma Installer and Windows Installer.

Situation Tarma Installer Windows Installer
Not linked to a component The type library is registered if any of its versions are registered*.

The type library is registered if any of its localizations are registered.

Each typelib localization must be linked to a typelib file; it is the installation of that file that controls the registration of the typelib localization, its parent version, and its grandparent typelib.

The typelib's own component, if any, is ignored.

Linked to a component The type library is registered if its component is installed, or if any of its versions are registered*.

*Typelib version registration in turn depends on the localizations of each version.

The Tarma Installer approach allows you to register a type library either implicitly, if one of its versions or localizations is installed, or explicitly, for example if it doesn't have any versions. See COM Classes and Typelibs for more information.

Attributes

This pane contains the following attributes and options.

Attribute Description
GUID Enter the GUID (Globally Unique IDentifier) of the type library.