[DllImport("msi.dll", CharSet=CharSet.Unicode)]
static extern Int32 MsiGetProductInfo(string product, string property, [out] StringBuilder valueBuf, ref Int32 len);
Declare Auto Function MsiGetProductInfo Lib "msi.dll" (ByVal product As String, ByVal property As String, ByVal valueBuf As StringBuilder, ByRef len As Long) As Int32
None.
Do you know one? Please contribute it!
None.
Please add some!
Int32 len = 512;
System.Text.StringBuilder builder = new System.Text.StringBuilder(len);
MsiGetProductInfo("{4B3334CE-06D9-4446-BBC5-EB4C9D75BFF6}", "InstallSource", builder , ref len);