MSI Factory 2.3

COM Class Properties

COM Class Properties

Previous topic Next topic  

COM Class Properties

Previous topic Next topic  

MSI Factory

This dialog allows you to configure a COM class that should be registered for the file that you are editing. COM classes are registered in the registry under the key HKEY_CLASSES_ROOT\CLSID (and mirrored in HKEY_LOCAL_MACHINE\Software\Classes\CLSID).

Settings

Class ID (GUID):

The class identifier (GUID) of the COM class to register.

Threading model:

The threading model of the class. Choose from apartment, free, both, neutral, single or rental.

Associated AppID:

If you also define an AppID (DCOM) registration for this COM class, select it here. Choose the "Add New..." option to create a new AppID entry for the file.

Associated ProgID:

If you also define a ProgID registration for this COM class, select it here. Choose the "Add New..." option to create a new ProgID entry for the file.

Associated TypeLib:

If you also define a TypeLib registration for this COM class, select it here. Choose the "Add New..." option to create a new TypeLib entry for the file.

Description:

The class description.

Version:

The class version.

Advertise:

If checked, the class will be advertised. This means that the feature that contains the class will be installed on demand when the class is used on the user's system. In this case the entries for this class will be made in the installer database's Class table. If unchecked, the class will be registered using Registry entries. In this case the installer database's Registry table will be used. In general, it is recommended that you do not advertise COM classes unless you have specific reason to do so.

Insertable:

If checked, the class may be insertable.

Safe for scripting:

If checked, the class is marked as safe for scripting. Only available for non-advertised classes.

Relative path:

If checked, the bare file name can be used for COM servers. The installer registers the file name only instead of the complete path. This enables the server in the current directory to take precedence and allows multiple copies of the same component.

Safe for initializing:

If checked, the class is marked as safe for initializing. Only available for non-advertised classes.

Programmable:

If checked, the class may be programmable.

Context

LocalServer

If checked, the class is a 16-bit local server application (executable).

LocalServer32

If checked, the class is a 32-bit local server application (executable).

Argument:

Text that should be registered as the argument against the OLE server and is used by OLE for invoking the server. Only available if LocalServer or LocalServer32 are checked.

Handler:

The default inproc handler.  Choose from:

None - No InprocHandler will be written.

16-bit - Creates a 16-bit InprocHandler (appearing as the InprocHandler value).

32-bit - Creates a 32-bit InprocHandler (appearing as the InprocHandler32 value).

Both - Creates 16-bit as well as 32-bit InprocHandlers.

System File - A specified system file will serve as the 32-bit in-process handler.

System file:

The name of the system file that should be used as a 32-bit in-process handler. Only available if LocalServer or LocalServer32 are checked and "System File" is selected in the Handler field.

InprocServer

If checked, the class is a 16-bit in-process server DLL.

LocalServer32

If checked, the class is a 32-bit in-process server DLL.

Icon

Icon:

The local path and filename of the icon that should be associated with this class. The icon will be included in the installation in the Icon table. Only available if the class is advertised.

Icon Index:

The index of the icon to use from the file specified in the Icon field above.

More Information

MSDN Online: Class Table

WiX Help File: Class Element


Learn More: Indigo Rose Software - MSI Factory - Buy Now - Contact Us