Typelib Version attributes

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

Introduction

A Typelib Version object represents a specific type library version registration or unregistration. A typelib version object contains one or more typelib localizations.

Registration or unregistration of a typelib version is controlled by its component and its localizations. The details differ somewhat between Tarma Installer and Windows Installer.

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

The type library version 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 version's own component, if any, is ignored.

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

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

Attributes

This pane contains the following attributes and options.

Attribute Description
Version

Enter the version number of the typelib version as major.minor.

Description Enter the user-visible description of the typelib version. This description is displayed by some tools.
Help folder

Enter the path to the folder that contains the help files for the library version, or click ... (browse) to open the Select Installation Folder dialog box that allows you to browse for the desired folder.

Flags

Enter the flags for the type library version as a decimal number. This must be a combination of the Win32 API LIBFLAGS_xxx enumeration values.

MSI note The Flags attribute is not supported by Windows Installer.