EN
이 콘텐츠는 한국어로 제공되지 않아 영어 버전으로 표시됩니다.

MsiEmbeddedChainer Table

Use this table to author a multiple-package installation. Each row in the MsiEmbeddedChainer table references a different user-defined function that can be used to install multiple Windows Installer packages from a single package. The executable files for the user-defined functions are stored inside the Windows Installer package.

Windows Installer 4.0 or earlier:  Not supported. This table is available beginning with Windows Installer 4.5.

Windows Server 2008 R2 with the Remote Desktop Services role enabled:  Not supported. A multiple package installation using the MsiEmbeddedChainer table fails if the Remote Desktop Services role is enabled.

To install multiple packages from a single package, one of the user-defined functions listed in the MsiEmbeddedChainer table must have a conditional statment in the Condition field that evaluates to run the action. If more than one function has a condition that evaluates to run, only one function can run. This case is an error, and it cannot be guaranteed which function will run. If other custom actions are needed by the installation, these should be authored into the CustomAction table and sequence tables.

The functions must join the current installation by calling the MsiJoinTransaction function and must call the MsiEndTransaction function to commit the installation of multiple packages. If the functions return before calling MsiEndTransaction, the installer rolls back all installations.

The MsiEmbeddedChainer table has the following columns.

ColumnTypeKeyNullable
MsiEmbeddedChainer Identifier YN
Condition Condition NY
CommandLine Formatted NY
Source CustomSource NN
Type Integer NN

 

Columns

MsiEmbeddedChainer

The primary key for the table. This value is a unique identifier for the user-defined function described by this row.

Condition

A conditional statement for running the user-defined function. You can enable or disable the functions listed in the MsiEmbeddedChainer table using a transform that modifies property values evaluated by this field. For more information, see Using Properties in Conditional Statements.

CommandLine

The value in this field is a part of the command line string passed to the executable file identified in the Source column. The installer appends the value in this field to the transaction handle to generate the command line. If the value in this column is null, the command line consists of only the transaction handle.

Source

The location of the executable file for the user-defined function. If the value in the Type column is 2, this column can contain an external key into the Binary table. If the value in the Type column is 18, this column can contain an external key into the File table. If the value in the Type column is 50, this column can contain an external key into the Property table.

Type

The functions listed in the MsiEmbeddedChainer table are described using the following custom action numeric types. This column can contain the values for the following three numeric types only; any other combination of custom action flags is ignored.

Custom action typeCustom action flagsHexadecimalDecimal
Custom Action Type 2 msidbCustomActionTypeExe + msidbCustomActionTypeBinaryData0x0022
Custom Action Type 18 msidbCustomActionTypeExe + msidbCustomActionTypeSourceFile0x01218
Custom Action Type 50 msidbCustomActionTypeExe + msidbCustomActionTypeProperty0x03250

 

Remarks

The Windows Installer does not prevent the user-defined functions in this table from running during the advertisement of the application. You can use a conditional statement in the Condition column to prevent a function from being run during advertisement.

The Windows Installer also provides a non-embedded external UI handler to build a rich user interface on top of the Windows Installer package. For more information about using an external UI handler with the Windows Installer, see Monitoring an Installation Using MsiSetExternalUI.

The MsiPackageCertificate Table lists digital signature certificates used to verify the identity of the installation packages that make a multiple-package installation. You can use this table to reduce the number of times your multiple-package installation displays a User Account Control (UAC) prompt that requires a response by an administrator.

 

 

커뮤니티 추가 항목

추가
표시:
© 2014 Microsoft. All rights reserved.