Enum wix::create::InstallerKind
source · 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§
source§impl InstallerKind
impl InstallerKind
sourcepub fn extension(&self) -> &'static str
pub fn extension(&self) -> &'static str
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§
source§impl Debug for InstallerKind
impl Debug for InstallerKind
source§impl Default for InstallerKind
impl Default for InstallerKind
source§fn default() -> InstallerKind
fn default() -> InstallerKind
Returns the “default value” for a type. Read more
source§impl Display for InstallerKind
impl Display for InstallerKind
source§impl FromStr for InstallerKind
impl FromStr for InstallerKind
source§impl PartialEq<InstallerKind> for InstallerKind
impl PartialEq<InstallerKind> for InstallerKind
source§fn eq(&self, other: &InstallerKind) -> bool
fn eq(&self, other: &InstallerKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.