@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: The MsiCloseHandle function closes an open installation handle. !!!!C# Signature: [DllImport("msi.dll", CharSet=CharSet.Unicode)] static extern Int32 MsiGetProductInfo(string product, string property, [Out] StringBuilder valueBuf, ref Int32 len); !!!!VB Signature: Declare Auto Function MsiGetProductInfo Lib "msi.dll" (ByVal product As String, ByVal [property] As String, <MarshalAs(UnmanagedType.VBByRefStr)> ByRef valueBuf As String, ByRef len As Long) As Int32 !!!!User-Defined Types: None. !!!!Alternative Managed API: MSI interop library http://sourceforge.net/project/showfiles.php?group_id=40188&package_id=110212 !!!!Notes: None. !!!!Tips & Tricks: Please add some! !!!!Sample Code: Int32 len = 512; System.Text.StringBuilder builder = new System.Text.StringBuilder(len); MsiGetProductInfo("{4B3334CE-06D9-4446-BBC5-EB4C9D75BFF6}", "InstallSource", builder , ref len); return builder.ToString(0, len); !!!!VB Sample: result = New String(" ", 255) len = 255 MsiGetProductInfo("{4B3334CE-06D9-4446-BBC5-EB4C9D75BFF6}", "InstallSource", result, len) result = left$(result,len) Documentation: MsiGetProductInfo@msdn on MSDN
Edit msi.MsiGetProduct...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.