英語で読む

次の方法で共有


MsiTokenAttribute Class

Definition

Defines a token string for the MSI installer.

C++
public ref class MsiTokenAttribute sealed : Attribute
Inheritance
MsiTokenAttribute
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)

Creates an MsiTokenAttribute object.

Properties

Name

Returns the MsiTokenAttribute name.

Value

Returns the MsiTokenAttribute value.

Applies to

製品 バージョン
Visual Studio SDK 2015, 2017, 2019, 2022