@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: The MsiEnumRelatedProducts function enumerates products with a specified upgrade code. This function lists the currently installed and advertised products that have the specified UpgradeCode property in their Property table. !!!!C# Signature: [DllImport("msi.dll", CharSet = CharSet.Auto, SetLastError=true)] private static extern UInt32 MsiEnumRelatedProducts(string strUpgradeCode, int reserved, int iIndex, StringBuilder sbProductCode); !!!!User-Defined Types: None. !!!!Alternative Managed API: Do you know one? Please contribute it! !!!!Notes: None. !!!!Tips & Tricks: Please add some! !!!!Sample Code: StringBuilder sbProductCode = new StringBuilder(39); while(0 == MsiEnumRelatedProducts("{FFFFFFFF-FFFF-FFFF-GUID-STRINGFFFFFF}", 0, iIndex++, sbProductCode)) { // Do stuff with sbProductCode.ToString() } Documentation: MsiEnumRelatedProducts@msdn on MSDN
Edit msi.MsiEnumRelate...
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.