MsiTokenAttribute MsiTokenAttribute MsiTokenAttribute MsiTokenAttribute Class

Definition

Defines a token string for the MSI installer.

public ref class MsiTokenAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)]
public sealed class MsiTokenAttribute : Attribute
type MsiTokenAttribute = class
    inherit Attribute
Public NotInheritable Class MsiTokenAttribute
Inherits Attribute
Inheritance
MsiTokenAttributeMsiTokenAttributeMsiTokenAttributeMsiTokenAttribute
Attributes

Remarks

The regpkg.exe tool searches for these attributes on a package class to identify custom replacement tokens when generating registry scripts for the Microsoft Installer. Possible token names vary, but regpkg.exe supports the following tokens:

$ComponentPath : the path to the component.

SystemFolder : the path to the OS system folder (%systemroot%\system32)

For more information, see Registering VSPackages.

Constructors

MsiTokenAttribute(String, String) MsiTokenAttribute(String, String) MsiTokenAttribute(String, String) MsiTokenAttribute(String, String)

Creates an MsiTokenAttribute object.

Properties

Name Name Name Name

Returns the MsiTokenAttribute name.

Value Value Value Value

Returns the MsiTokenAttribute value.

Applies to