ProductInstallation Class

DTF API

Copy image CopyHover image
Deployment Tools Foundation ProductInstallation Class
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerProductInstallation
Represents a unique instance of a product that is either advertised, installed or unknown.
Declaration Syntax
C# Visual Basic Visual C++ F#
public class ProductInstallation : Installation
Public Class ProductInstallation
	Inherits Installation
public ref class ProductInstallation : public Installation
type ProductInstallation =  
    class
        inherit Installation
    end
Members
All Members Constructors Methods Properties



Icon Member Description
ProductInstallation(String)
Creates a new object for accessing information about a product installation on the current system.

ProductInstallation(String, String, UserContexts)
Creates a new object for accessing information about a product installation on the current system.

AdvertisedLanguage
Product language.

AdvertisedPackageCode
Identifier of the package that a product is installed from.

AdvertisedPackageName
Name of the installation package for the advertised product.

AdvertisedPerMachine
True if the product is advertised per-machine; false if it is per-user or not advertised.

AdvertisedProductIcon
Primary icon for the package.

AdvertisedProductName
Human readable product name.

AdvertisedTransforms
Transforms.

AdvertisedVersion
Version of the advertised product.

AllProducts
Enumerates all product installations on the system.

CollectUserInfo()()()()
Obtains and stores the user information and product ID from an installation wizard.

Context
Gets the user context of this product or patch installation.
(Inherited from Installation.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Features
Gets the set of published features for the product.

Finalize()()()()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
GetComponentState(String)
Gets the installed state for a product component.

GetFeatureState(String)
Gets the installed state for a product feature.

GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetProducts(String, String, UserContexts)
Enumerates product installations based on certain criteria.

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.

GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
HelpLink
The support link.

HelpTelephone
The support telephone.

InstallDate
Date and time the product was installed.

InstallLocation
The installation location.

InstallSource
The installation source.

IsAdvertised
Gets a value indicating whether this product is advertised on the current system.

IsElevated
Checks whether the product is installed with elevated privileges. An application is called a "managed application" if elevated (system) privileges are used to install the application.

IsInstalled
Gets a value indicating whether this product is installed on the current system.
(Overrides Installation.IsInstalled.)
Item[([( String])])
Gets information about an installation of a product.
(Overrides Installation.Item[([( String])]) .)
LocalPackage
The local cached package.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
PrivilegedPatchingAuthorized
True if the advertised product can be serviced by non-administrators without elevation.

ProductCode
Gets the ProductCode (GUID) of the product.

ProductId
The product identifier.

ProductName
The installed product name.

ProductVersion
The product version.

Publisher
The publisher.

RegCompany
The company that is registered to use the product.

RegOwner
The owner who is registered to use the product.

SourceList
Gets the source list of this product installation.
(Overrides Installation.SourceList.)
ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
UrlInfoAbout
URL about information.

UrlUpdateInfo
The URL update information.

UserSid
Gets the user security identifier (SID) under which this product or patch installation is available.
(Inherited from Installation.)
Inheritance Hierarchy
Object
Installation
  ProductInstallation

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)