C# Класс WixSharp.Bootstrapper.Bundle

Class for defining a WiX standard Burn-based bootstrapper. By default the bootstrapper is using WiX default WiX bootstrapper UI.
Наследование: WixProject
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Application WixStandardBootstrapperApplication
Chain List
DisableRollback bool?
DisableSystemRestore bool?
ParallelCache bool?
StringVariablesDefinition string

Открытые методы

Метод Описание
Build ( string path = null ) : string

Builds WiX Bootstrapper application from the specified Bundle project instance.

BuildCmd ( string path = null ) : string

Builds the WiX source file and generates batch file capable of building WiX/MSI bootstrapper with WiX toolset.

Bundle ( ) : System

Initializes a new instance of the Bootstrapper class.

Bundle ( string name ) : System

Initializes a new instance of the Bootstrapper class.

ToXml ( ) : XContainer[]

Emits WiX XML.

Описание методов

Build() публичный Метод

Builds WiX Bootstrapper application from the specified Bundle project instance.
public Build ( string path = null ) : string
path string The path to the bootstrapper to be build.
Результат string

BuildCmd() публичный Метод

Builds the WiX source file and generates batch file capable of building WiX/MSI bootstrapper with WiX toolset.
public BuildCmd ( string path = null ) : string
path string The path to the batch file to be created.
Результат string

Bundle() публичный Метод

Initializes a new instance of the Bootstrapper class.
public Bundle ( ) : System
Результат System

Bundle() публичный Метод

Initializes a new instance of the Bootstrapper class.
public Bundle ( string name ) : System
name string The name of the project. Typically it is the name of the product to be installed.
Результат System

ToXml() публичный Метод

Emits WiX XML.
public ToXml ( ) : XContainer[]
Результат XContainer[]

Описание свойств

Application публичное свойство

The instance of the Bootstrapper application class application. By default it is a LicenseBootstrapperApplication object.
public WixStandardBootstrapperApplication,WixSharp.Bootstrapper Application
Результат WixStandardBootstrapperApplication

Chain публичное свойство

The sequence of the packages to be installed
public List Chain
Результат List

DisableRollback публичное свойство

The disable rollbackSpecifies whether the bundle will attempt to rollback packages executed in the chain. If "true" is specified then when a vital package fails to install only that package will rollback and the chain will stop with the error. The default is "false" which indicates all packages executed during the chain will be rolldback to their previous state when a vital package fails.
public bool? DisableRollback
Результат bool?

DisableSystemRestore публичное свойство

Specifies whether the bundle will attempt to create a system restore point when executing the chain. If "true" is specified then a system restore point will not be created. The default is "false" which indicates a system restore point will be created when the bundle is installed, uninstalled, repaired, modified, etc. If the system restore point cannot be created, the bundle will log the issue and continue.
public bool? DisableSystemRestore
Результат bool?

ParallelCache публичное свойство

Specifies whether the bundle will start installing packages while other packages are still being cached. If "true", packages will start executing when a rollback boundary is encountered. The default is "false" which dictates all packages must be cached before any packages will start to be installed.
public bool? ParallelCache
Результат bool?

StringVariablesDefinition публичное свойство

The Bundle string variables.
public string StringVariablesDefinition
Результат string