Deployment Tools Foundation
GetRelatedProducts Method (upgradeCode)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► ProductInstallation ► GetRelatedProducts(String)
Gets the set of all products with a specified upgrade code. This method lists the
currently installed and advertised products that have the specified UpgradeCode
property in their Property table.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static IEnumerable<ProductInstallation> GetRelatedProducts( string upgradeCode )
Public Shared Function GetRelatedProducts ( _ upgradeCode As String _ ) As IEnumerable(Of ProductInstallation)
public: static IEnumerable<ProductInstallation^>^ GetRelatedProducts( String^ upgradeCode )
Parameters
- upgradeCode (String)
- Upgrade code of related products
Return Value
Enumeration of product codes
Remarks
Win32 MSI API: MsiEnumRelatedProducts