pub enum InstallerKind {
    Exe,
    Msi,
}
Expand description

The kinds of installers that can be created using the WiX compiler (candle.exe) and linker (light.exe).

Variants

Exe

An executable is used when an Installation Package Bundle is created.

Msi

A Microsoft installer. This is the more common and typical installer to be created.

Implementations

Gets the file extension without the dot separator.

Examples

The extension for an installer of an Installation Package Bundle. Also see the EXE_FILE_EXTENSION constant.

use wix::create::InstallerKind;

assert_eq!(InstallerKind::Exe.extension(), "exe")

The extension for a typical Microsoft installer. Also see the MSI_FILE_EXTENSION constant.

use wix::create::InstallerKind;

assert_eq!(InstallerKind::Msi.extension(), "msi")

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Formats the value using the given formatter. Read more

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.