Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit editor mode

MsiSummaryInfoSetPropertyA function (msiquery.h)

Feedback

In this article

TheMsiSummaryInfoSetProperty function sets a single summary information property.

Note  The meaning of the property value depends on whether the summary information stream is for an installation database (.msi file), transform (.mst file) or patch (.msp file). SeeSummary Property Descriptions andSummary Information Stream Property Set for more information about summary information properties.
 

Syntax

UINT MsiSummaryInfoSetPropertyA(  [in] MSIHANDLE hSummaryInfo,  [in] UINT      uiProperty,  [in] UINT      uiDataType,  [in] INT       iValue,  [in] FILETIME  *pftValue,  [in] LPCSTR    szValue);

Parameters

[in] hSummaryInfo

Handle to summary information.

[in] uiProperty

Specifies the property ID of the summary property being set. This parameter can be a property ID listed in theSummary Information Stream Property Set. This function does not set values for PID_DICTIONARY OR PID_THUMBNAIL property.

[in] uiDataType

Specifies the type of property to set. This parameter can be a type listed in theSummary Information Stream Property Set.

[in] iValue

Specifies the integer value.

[in] pftValue

Specifies the file-time value.

[in] szValue

Specifies the text value.

Return value

TheMsiSummaryInfoSetProperty function returns the following values:

Remarks

Note

The msiquery.h header defines MsiSummaryInfoSetProperty as an alias that automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, seeConventions for Function Prototypes.

Requirements

RequirementValue
Minimum supported clientWindows Installer 5.0 on Windows Server 2012, Windows 8, Windows Server 2008 R2 or Windows 7. Windows Installer 4.0 or Windows Installer 4.5 on Windows Server 2008 or Windows Vista. Windows Installer on Windows Server 2003 or Windows XP
Target PlatformWindows
Headermsiquery.h
LibraryMsi.lib
DLLMsi.dll

See also

Summary Information Property Functions

Summary Information Stream Property Set

Summaryinfo.Property


Feedback

Was this page helpful?

YesNoNo

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?

  • Last updated on

In this article

Was this page helpful?

YesNo
NoNeed help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?