Struct tugger_wix::WiXBundleInstallerBuilder
source · [−]pub struct WiXBundleInstallerBuilder<'a> { /* private fields */ }
Expand description
Entity used to build a WiX bundle installer.
Bundle installers have multiple components in them.
Implementations
sourceimpl<'a> WiXBundleInstallerBuilder<'a>
impl<'a> WiXBundleInstallerBuilder<'a>
pub fn new(name: String, version: String, manufacturer: String) -> Self
sourcepub fn add_condition(&mut self, message: &str, condition: &str)
pub fn add_condition(&mut self, message: &str, condition: &str)
Define a <bal:Condition>
that must be satisfied to run this installer.
message
is the message that will be displayed if the condition is not met.
condition
is the condition expression. e.g. VersionNT = v8.0
.
pub fn add_vc_redistributable<P: AsRef<Path>>(
&mut self,
logger: &Logger,
platform: VcRedistributablePlatform,
download_path: P
) -> Result<()>
sourcepub fn chain(&mut self, item: ChainElement<'a>)
pub fn chain(&mut self, item: ChainElement<'a>)
Add an installable item to the <Chain>
.
sourcepub fn add_to_installer_builder(
&self,
builder: &mut WiXInstallerBuilder
) -> Result<()>
pub fn add_to_installer_builder(
&self,
builder: &mut WiXInstallerBuilder
) -> Result<()>
Add this instance to a WiXInstallerBuilder
.
Requisite files will be downloaded and this instance will be converted to a wxs file and registered with the builder.
pub fn to_installer_builder<P: AsRef<Path>>(
&self,
id_prefix: &str,
arch: &str,
build_path: P
) -> Result<WiXInstallerBuilder>
pub fn default_exe_filename(&self) -> String
Trait Implementations
sourceimpl<'a> Clone for WiXBundleInstallerBuilder<'a>
impl<'a> Clone for WiXBundleInstallerBuilder<'a>
sourcefn clone(&self) -> WiXBundleInstallerBuilder<'a>
fn clone(&self) -> WiXBundleInstallerBuilder<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Default for WiXBundleInstallerBuilder<'a>
impl<'a> Default for WiXBundleInstallerBuilder<'a>
sourcefn default() -> WiXBundleInstallerBuilder<'a>
fn default() -> WiXBundleInstallerBuilder<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for WiXBundleInstallerBuilder<'a>
impl<'a> Send for WiXBundleInstallerBuilder<'a>
impl<'a> Sync for WiXBundleInstallerBuilder<'a>
impl<'a> Unpin for WiXBundleInstallerBuilder<'a>
impl<'a> UnwindSafe for WiXBundleInstallerBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more