Provides information related to installed (MSI) package. Package consists of either a single application or a set of application modules (a.k.a. extensions). This class is compliant with general installation guidelines. It means that it's dependand on the package installation routine, and vice-versa. This class cannot be inherited.


The following tables list the members exposed by Package.

Public Constructors

Name Description
Public method Package Initializes a new instance of the Package class.
Top

Public Properties

Name Description
Public property Static Components Returns preinstalled package components (application modules).
Public property Static Credentials Returns package credentials settings.
Public property Static Debug Returns package debugger settings.
Public property Static Extensions Returns registered package extensions (custom application modules).
Public property Static Features Returns preinstalled package features (MSI).
Public property Static Folders Returns preinstalled package folders.
Public property Static Host Gets or sets application's host type.
Public property Static HostName Returns application's host name.
Public property Static Language Returns package language abbreviation.
Public property Static License Returns package license settings.
Public property Static LocalMachineKey Returns root HKEY_LOCAL_MACHINE path to the package registry key.
Public property Static Manufacturer Returns package manufacturer name.
Public property Static ManufacturerSupportUrl Returns package manufacturer's support URL address.
Public property Static ManufacturerUrl Returns package manufacturer's URL address.
Public property Static MaxCores Gets or sets maximum number of utilized cores. If less or equal than 0 then all available cores will be used.
Public property Static MaxErrors Gets or sets maximum number of errors being spawned.
Public property Static Organization Returns registered organization (company) name.
Public property Static PartialMenus Returns preinstalled package CUI partial menus.
Public property Static Platform Returns package target platform architecture.
Public property Static ProductCode Returns package product code (GUID).
Public property Static ProductName Returns package product name.
Public property Static ProductTitle Returns package product title.
Public property Static Proxy Returns package proxy server settings.
Public property Static Release Returns package release version.
Public property Static Resources Returns preinstalled package resources.
Public property Static Settings Returns current user's settings.
Public property Static Update Returns package update server settings.
Public property Static UserName Returns registered user name.
Public property Static UserNameSystem Returns OS current user name.
Top

Public Methods

Name Description
Public method Static EnsureHostInstance Returns True if no host application(s) interfere with running instance, otherwise returns False.
Public method Static EnsureSingleInstance Returns True if this application has no multiple instances running, otherwise returns False.
Public method Equals Determines whether the specified Object is equal to the current Object. (inherited from Object)
Public method GetHashCode Serves as a hash function for a particular type. (inherited from Object)
Public method Static GetHelpTopicUrl
Public method Static GetPackageStringValue Returns string value from package.ini file.
Public method GetType Gets the Type of the current instance. (inherited from Object)
Public method Static GetTypeInstance
Public method Static HasHost Overloaded. Returns True if application runs on specified host, otherwise returns False.
Public method Static Initialize Overloaded. Initializes this package.
Public method Static Initialize2
Public method Static InitializeInternals
Public method Static OpenHelpTopicUrl
Public method Static OpenUrl
Public method Static RunProcess Runs specified process within a package domain. Returns True if process ran fine, otherwise returns False.
Public method ToString Returns a String that represents the current Object. (inherited from Object)
Public method Static TryGetProcessOutput
Top

Public Events

Name Description
Public event Static ComponentLoaded Raised if preinstalled component gets successfully loaded.
Public event Static ComponentLoading
Public event Static ExtensionLoaded Raised if extension gets successfully loaded.
Public event Static ExtensionLoadingFailed Raised if extension loading fails.
Top

See Also