Desktop Functions: Smart Device Functions:
|
MsiGetProperty (msi)
C# Signature:
[DllImport("msi.dll", CharSet=CharSet.Unicode)] Notes:MSIHANDLEs are unsigned longs regardless of platform; it maps to 32-bit ints. Tips & Tricks:Please add some! Sample Code:int handle; MsiOpenPackage(fileName, out handle); StringBuilder sb = new StringBuilder(); int stringSize = 256; int value = MsiGetProperty(handle, "ProductVersion", out sb, ref stringSize); Alternative Managed API:MSI interop library http://sourceforge.net/project/showfiles.php?group_id=40188&package_id=110212 Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|