pub struct WiXInstallerBuilder { /* private fields */ }
Expand description

Entity used to build installers using the WiX Toolkit.

Implementations§

Create a new instance.

The WiX architecture of the installer we’re building.

Set the WiX architecture of the installer we’re building.

Obtain variables that will be used for light invocations.

Set a WiX variable with an optional value.

These are passed to light.exe.

Set the directory to use to build the installer in.

Obtain the directory to use for building the installer.

Add a wxs file to build.

Add an extra file to the build environment.

These files will be materialized next to .wxs files.

Add additional files to be materialized in the build environment.

Files are specified via a FileManifest and will be materialized next to .wxs files.

The path that the auto-generated wxs file for Self::install_files will be materialized in.

Default is install-files.wxs.

Set the path that the auto-generated wxs file for Self::install_files will be materialized in.

The <Directory Id= value that the autogenerated <DirectoryRef> for Self::install_files will refer to.

This essentially defines how to map our autogenerated wxs file containing fragments for Self::install_files to an install location.

The default value is APPLICATIONFOLDER. You may need to change this value if your <Directory> corresponding to the root installation directory has a different Id value.

Set the <Directory Id= that the root of Self::install_files will point to.

See Self::install_files_root_directory_id for more on this functionality.

Register signtool signing settings to be used to automatically sign binaries.

This will automatically sign all installed binaries as well as the generated installer.

Generate a wxs file containing fragments for all files registered for install.

This will take the current Self::install_files manifest and produce a WiX XML file containing <Fragment> and <DirectoryRef> for the contents of that manifest. The WXS file will be registered for building.

Produce an installer using the configuration in this builder.

The output could be an MSI, exe, or other file formats depending on what the wxs files define.

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

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
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.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more