PackageInfo Class
Default implementation of «see T:WixToolset.Mba.Core.IPackageInfo» .
Methods
Section titled “Methods”| Method | Description |
|---|---|
| GetCacheTypeAttribute(node, attributeName) | Parse the cache type attribute. |
| GetPackageTypeAttribute(node, attributeName) | Parse the package type attribute |
| GetRelatedBundleAsPackage(id, relationType, perMachine, version) | Create «see T:WixToolset.Mba.Core.IPackageInfo» from a related bundle. |
| GetUpdateBundleAsPackage(id) | Create «see T:WixToolset.Mba.Core.IPackageInfo» from an update bundle. |
| ParsePackagesFromXml(root) | Parse packages from BootstrapperApplicationData.xml. |
Properties
Section titled “Properties”| Property | Description |
|---|---|
| CacheType | |
| CustomData | |
| Description | |
| DisplayInternalUICondition | |
| DisplayName | |
| Id | |
| InstallCondition | |
| Permanent | |
| PrereqLicenseFile | |
| PrereqLicenseUrl | |
| PrereqPackage | |
| PrimaryPackageType | |
| ProductCode | |
| RepairCondition | |
| Type | |
| UpgradeCode | |
| Version | |
| Vital | |
WixToolset.Mba.Core.dll version 4.0.5+b9b2f1b4c69a1b509d487dc950b30b4ec9b0d040 |
GetCacheTypeAttribute(node, attributeName) Method
Section titled “GetCacheTypeAttribute(node, attributeName) Method”Parse the cache type attribute.
Declaration
Section titled “Declaration”public static System.Nullable<WixToolset.Mba.Core.BOOTSTRAPPER_CACHE_TYPE> GetCacheTypeAttribute( System.Xml.XPath.XPathNavigator node, string attributeName)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| node | System.Xml.XPath.XPathNavigator | Package node |
| attributeName | string | Attribute name |
Return value
Section titled “Return value”System.Nullable<WixToolset.Mba.Core.BOOTSTRAPPER_CACHE_TYPE> The cache type
GetPackageTypeAttribute(node, attributeName) Method
Section titled “GetPackageTypeAttribute(node, attributeName) Method”Parse the package type attribute
Declaration
Section titled “Declaration”public static System.Nullable<WixToolset.Mba.Core.PackageType> GetPackageTypeAttribute( System.Xml.XPath.XPathNavigator node, string attributeName)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| node | System.Xml.XPath.XPathNavigator | Package node |
| attributeName | string | Attribute name |
Return value
Section titled “Return value”System.Nullable<WixToolset.Mba.Core.PackageType> The package type
GetRelatedBundleAsPackage(id, relationType, perMachine, version) Method
Section titled “GetRelatedBundleAsPackage(id, relationType, perMachine, version) Method”Create «see T:WixToolset.Mba.Core.IPackageInfo» from a related bundle.
Declaration
Section titled “Declaration”public static IPackageInfo GetRelatedBundleAsPackage( string id, RelationType relationType, bool perMachine, string version)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| id | string | Package id |
| relationType | RelationType | Relation type |
| perMachine | bool | Whether the related bundle is per-machine |
| version | string | The related bundle’s version |
Return value
Section titled “Return value”IPackageInfo The package info
GetUpdateBundleAsPackage(id) Method
Section titled “GetUpdateBundleAsPackage(id) Method”Create «see T:WixToolset.Mba.Core.IPackageInfo» from an update bundle.
Declaration
Section titled “Declaration”public static IPackageInfo GetUpdateBundleAsPackage( string id)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| id | string | Package id |
Return value
Section titled “Return value”IPackageInfo The package info
ParsePackagesFromXml(root) Method
Section titled “ParsePackagesFromXml(root) Method”Parse packages from BootstrapperApplicationData.xml.
Declaration
Section titled “Declaration”public static System.Collections.Generic.IDictionary<System.String,WixToolset.Mba.Core.IPackageInfo> ParsePackagesFromXml( System.Xml.XPath.XPathNavigator root)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| root | System.Xml.XPath.XPathNavigator | The root node. |
Return value
Section titled “Return value”System.Collections.Generic.IDictionary<System.String,WixToolset.Mba.Core.IPackageInfo> A dictionary of the packages by Id.
CacheType Property
Section titled “CacheType Property”Declaration
Section titled “Declaration”public BOOTSTRAPPER_CACHE_TYPE CacheType { get; set; }CustomData Property
Section titled “CustomData Property”Declaration
Section titled “Declaration”public System.Object CustomData { get; set; }Description Property
Section titled “Description Property”Declaration
Section titled “Declaration”public string Description { get; set; }DisplayInternalUICondition Property
Section titled “DisplayInternalUICondition Property”Declaration
Section titled “Declaration”public string DisplayInternalUICondition { get; set; }DisplayName Property
Section titled “DisplayName Property”Declaration
Section titled “Declaration”public string DisplayName { get; set; }Id Property
Section titled “Id Property”Declaration
Section titled “Declaration”public string Id { get; set; }InstallCondition Property
Section titled “InstallCondition Property”Declaration
Section titled “Declaration”public string InstallCondition { get; set; }Permanent Property
Section titled “Permanent Property”Declaration
Section titled “Declaration”public bool Permanent { get; set; }PrereqLicenseFile Property
Section titled “PrereqLicenseFile Property”Declaration
Section titled “Declaration”public string PrereqLicenseFile { get; set; }PrereqLicenseUrl Property
Section titled “PrereqLicenseUrl Property”Declaration
Section titled “Declaration”public string PrereqLicenseUrl { get; set; }PrereqPackage Property
Section titled “PrereqPackage Property”Declaration
Section titled “Declaration”public bool PrereqPackage { get; set; }PrimaryPackageType Property
Section titled “PrimaryPackageType Property”Declaration
Section titled “Declaration”public PrimaryPackageType PrimaryPackageType { get; set; }ProductCode Property
Section titled “ProductCode Property”Declaration
Section titled “Declaration”public string ProductCode { get; set; }RepairCondition Property
Section titled “RepairCondition Property”Declaration
Section titled “Declaration”public string RepairCondition { get; set; }Type Property
Section titled “Type Property”Declaration
Section titled “Declaration”public PackageType Type { get; set; }UpgradeCode Property
Section titled “UpgradeCode Property”Declaration
Section titled “Declaration”public string UpgradeCode { get; set; }Version Property
Section titled “Version Property”Declaration
Section titled “Declaration”public string Version { get; set; }Vital Property
Section titled “Vital Property”Declaration
Section titled “Declaration”public bool Vital { get; set; }