Επεξεργασία

Κοινή χρήση μέσω


Installer.FeatureUsageDate property

The FeatureUsageDate property is a read-only property that returns the date the specified feature was last used.

This property is read-only.

Syntax

propVal = Installer.FeatureUsageDate

Property value

Remarks

Use of the UseFeature, ProvideComponent or ProvideQualifiedComponent methods or their API equivalents on the specified feature sets this property.

The date is in the MS-DOS date format as shown in the following table.

Bits Contents
0-4 Day of the month (1-31)
5-8 Month (1 = January, 2 = February, and so on)
9-15 Year offset from 1980 (add 1980 to get actual year)

 

Requirements

Requirement Value
Version
Windows 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
DLL
Msi.dll
IID
IID_IInstaller is defined as 000C1090-0000-0000-C000-000000000046

See also

MsiGetFeatureUsage