Struct tugger_wix::WiXSimpleMsiBuilder[][src]

pub struct WiXSimpleMsiBuilder { /* fields omitted */ }
Expand description

Entity used to emit a simple .wxs for building an msi installer.

Instances are constructed with mandatory fields, such as the product name, version, and author.

Various optional fields can be provided and will be used in the installer if provided.

The MSI installer will materialize registered files in the Program Files directory on the target machine.

Implementations

Add files to install to Program Files via a FileManifest.

All files in the provided manifest will be materialized in Program Files by the built installer.

Attempt to add the Visual C++ Redistributable DLLs to the program files manifest.

This will use vswhere.exe to attempt to locate a Visual Studio installation and will attempt to find the Visual C++ Redistributable DLLs (vcruntimeXXX.dll) in that install. Discovered DLLs are materialized in the root directory of the program files manifest.

The latest installed version is always used.

As this requires vswhere.exe and a Visual Studio installation, this function will always error outside of Windows.

Set the <Product UpgradeCode attribute value.

If not called, a deterministic value will be derived from the product name.

Set the <Package Keywords attribute value.

Set the <Package Description attribute value.

Set the path to the file containing the license for this application.

Set the path to the file containing the icon for this installer.

Set the help URL for this application.

Set the path to an rtf file containing the end user license agreement.

Set the path to a bmp file containing a banner to use for install.

The dimensions of the banner should be 493 x 58.

Set the path to a bmp file containing an image for the install dialog.

The dimensions of the image should be 493 x 312.

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

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

Add this instance to a WiXInstallerBuilder.

Obtain the default filename to use for the generated MSI.

Convert to a WiXInstallerBuilder.

This will construct a new WiXInstallerBuilder suitable for building this msi installer.

Write XML describing this builder.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

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.

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

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. 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.