Udostępnij za pośrednictwem


ISetupInstance Interface

Definition

Information about an instance of a product.

public interface class ISetupInstance
public interface class ISetupInstance
__interface ISetupInstance
[System.Runtime.InteropServices.Guid("B41463C3-8866-43B5-BC33-2B0676F7F42E")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface ISetupInstance
[<System.Runtime.InteropServices.Guid("B41463C3-8866-43B5-BC33-2B0676F7F42E")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type ISetupInstance = interface
Public Interface ISetupInstance
Derived
Attributes

Remarks

You can enumerate all properties of basic types by casting to an ISetupPropertyStore.

Methods

GetDescription(Int32)

Gets the description of the product installed in this instance.

GetDisplayName(Int32)

Gets the display name (title) of the product installed in this instance.

GetInstallationName()

Gets the unique name of the installation, often indicating the branch and other information used for telemetry.

GetInstallationPath()

Gets the path to the installation root of the product.

GetInstallationVersion()

Gets the version of the product installed in this instance.

GetInstallDate()

Gets the local date and time when the installation was originally installed.

GetInstanceId()

Gets the instance identifier (should match the name of the parent instance directory).

ResolvePath(String)

Resolves the optional relative path to the root path of the instance.

Applies to