WixSharp.Msi Collection of generic WixSharp extension methods Returns true if the OS (this routine is executed on) has an x64 CPU architecture. Returns full path of the 'Interprets' a string as a WiX constant and expands into a proper File System path. For example "DesktopFolder" will be expanded into "[SysDrive]:\Users\[user]\Desktop". This method is a logical equivalent of C# Environment.GetFolderPath. Though it handles discrepancies between 'special folders' mapping in .NET and WiX. The method will always be called from x86 runtime as MSI always loads ManagedUI in x86 host. From the other hand CustomActions are called in the deployment specific CPU type context. The path. Equivalent of . Identical to . It is useful for Wix# consuming code as it allows avoiding "using System.IO;" directive, which interferes with Wix# types. The path. Embeds a language transformation (mst file) in the specified msi file. The MSI file. The MST file. Utility class for simplifying MSI interpreting tasks DB querying, message data parsing The msi file The msi file database handle. Opens the specified MSI file and returns the database handle. The msi file. Handle to the MSI database. Initializes a new instance of the class. The msi file. Calls the Dispose method Releases the Resources Queries the name of the product from the encapsulated MSI database. The DB view is not closed after the call Product name. Queries the version of the product from the encapsulated MSI database. The DB view is not closed after the call Product version. Gets the property value. The name. Queries the code of the product from the encapsulated MSI database. The DB view is not closed after the call Product code. Determines whether the specified product code is installed. The product code. Returns true if the product is installed. Otherwise returns false. Determines whether the product from the encapsulated msi file is installed. Returns true if the product is installed. Otherwise returns false. Returns the full path of the directory entry from the Directory MSI table The name (e.g. INSTALLDIR). Parses the MsiInstallMessage.CommonData data. Message data. Collection of parsed tokens (fields). Parses the MsiInstallMessage.Progress string. Message data. Collection of parsed tokens (fields). Releases the acquired resources Generic class that represents runtime properties of the MSI setup session as well as some runtime properties of the product being installed (e.g. CodePage, Caption). It also Simplifies MSI execution and provides automatic responses on the MSI Messages. Normally MsiSession should be extended top meet the needs of the product (MSI) specific setup. Occurs when setup progress changed. Occurs when setup completes. Occurs when setup starts. Occurs when new setup action started. The UI thread marshalling delegate. It should be set for the environments where cross-thread calls must be marshalled (e.g. WPF, WinForms). Not needed otherwise (e.g. Console application). Gets or sets the progress total. The progress total. Gets or sets the progress current position. The progress current position. The progress step delay. It is a "for-testing" feature. Set it to positive value (number of milliseconds) to artificially slow down the installation process. The default value is 0. Gets or sets the name of the current action. The name of the current action. Gets or sets the product language. The language. Gets or sets the product CodePage. The product CodePage. Gets or sets the flag indication the the user can cancel the setup in progress. The can cancel. Gets or sets the setup window caption. The caption. Gets or sets a value indicating whether the progress steps are changing in the forward direction. true if the progress changes are in forward direction; otherwise, false. Gets or sets the CancelRequested flag. It should beset to true if user wants to cancel the setup in progress. The CancelRequested value. Called when ActionData MSI message is received. The message data. Called when Error event occurs (MSI Error message is received or an internal error condition triggered). The message data. if set to true the error is fatal. Type of the related message. Note the error may be associated with the internal error condition (e.g. exception is raised). Called when Warning MSI message is received. The message data. Called when User MSI message is received. The message data. Called when Info MSI message is received. The message data. Enables the MSI runtime logging to the specified log file. The log file. The logging mode. Executes the install sequence from the specified MSI file. The MSI file. The MSI params. Executes the uninstall sequence from the specified MSI file. The MSI file. The MSI params. Executes the MSI file with the specified MSI parameters. The MSI file. The MSI parameters. Called when MSI message is received. It is actual the MSI Message Loop. The message data. Type of the message. This value get's combined with MessageIcon and a MessageButtons values. Use to extract the value. The integer as per MSI documentation. Called when MSI message is received. It is actual the MSI Message Loop. The message data. Type of the message. The integer as per MSI documentation. Gets or sets the error code of the last MSI install action (e.g. MsiInterop.MsiInstallProduct call). The error status. Occurs when some of the current instance property changed. Generic class that represents runtime properties of the typical MSI setup. It is a ViewModel class, which has 'value changed' events for all bindable properties automatically marshalled for the cross-thread calls. The path to the encapsulated MSI file. The path to the MSI session log file. Initializes a new instance of the class. The MSI file. if set to true [enable loging]. Starts the fresh installation. The MSI parameters. Starts the repair installation for the already installed product. The MSI parameters. Starts the uninstallation of the already installed product. The MSI params. Gets or sets the error status. The error status. Gets or sets the product status (installed or not installed). The product status. Gets or sets the product version. The product version. Gets or sets the MSI ProductName. The name of the product. Gets or sets a value indicating whether the setup is in progress. true if this setup is in progress; otherwise, false. Gets or sets a value indicating whether setup was not started yet. This information can be useful for implementing "not started" UI state in the setup GUI. true if setup was not started; otherwise, false. Gets or sets a value indicating whether the product is currently installed. true if the product is currently installed; otherwise, false. Gets a value indicating whether the product can be installed. true if the product can install; otherwise, false. Gets a value indicating whether the product can be uninstalled. true if the product can uninstall; otherwise, false. Gets a value indicating whether the product can be repaired. true if the product can repaired; otherwise, false. Gets or sets a value indicating whether the log file created. true if the log file created; otherwise, false. Codepage Title Subject Author Keywords Comments Template LastSavedBy RevisionNumber LastPrinted CreateTime LastSaveTime PageCount WordCount CharacterCount CreatingApplication Security