Struct cargo_wix::Wix [] [src]

pub struct Wix<'a> { /* fields omitted */ }

A builder for running the subcommand.

Methods

impl<'a> Wix<'a>
[src]

[src]

Creates a new Wix instance.

[src]

Sets the path to the WiX Toolset's bin folder.

The WiX Toolset's bin folder should contain the needed candle.exe and light.exe applications. The default is to use the PATH system environment variable. This will override any value obtained from the environment.

[src]

Sets the binary name.

This overrides the binary name determined from the package's manifest (Cargo.toml).

[src]

Enables or disables capturing of the output from the builder (cargo), compiler (candle), linker (light), and signer (signtool).

The default is to capture all output, i.e. display nothing in the console but the log statements.

[src]

Sets the copyright holder in the license dialog of the Windows installer (msi).

[src]

Sets the copyright year in the license dialog of the Windows installer (msi).

[src]

Sets the description.

This override the description determined from the description field in the package's manifest (Cargo.toml).

[src]

Sets the path to a file to be used as the WiX Source (wxs) file instead of wix\main.rs.

[src]

Sets the path to a file to used as the License.txt file within the installer.

The License.txt file is installed into the installation location along side the bin folder. Note, the file can be in any format with any name, but it is automatically renamed to License.txt during creation of the installer.

[src]

Overrides the first author in the authors field of the package's manifest (Cargo.toml) as the manufacturer within the installer.

[src]

Skips the building of the project with the release profile.

If true, the project will not be built using the release profile, i.e. the cargo build --release command will not be executed. The default is to build the project before each creation. This is useful if building the project is more involved or is handled in a separate process.

[src]

Sets the output file.

The default is to create a MSI file with the <product-name>-<version>-<arch>.msi file name and extension in the target\wix folder. Use this method to override the destination and file name of the Windows installer.

[src]

Prints a template to stdout.

In the case of a license template, the copyright year and holder are filled by the current year and the manufacturer. The output for a license template is also in the Rich Text Format (RTF). In the case of a WiX Source (WXS) template, the output is in XML. The UpgradeCode's and Path Component's GUIDs are generated each time the WXS template is printed.

[src]

Sets the product name.

This override the product name determined from the name field in the package's manifest (Cargo.toml).

[src]

Enables or disables signing of the installer after creation with the signtool application.

[src]

Sets the path to the folder containing the signtool.exe file.

Normally the signtool.exe is installed in the bin folder of the Windows SDK installation. THe default is to use the PATH system environment variable. This will override any value obtained from the environment.

[src]

Sets the URL for the timestamp server used when signing an installer.

The default is to not use a timestamp server, even though it is highly recommended. Use this method to enable signing with the timestamp.

[src]

Creates the necessary sub-folders and files to immediately use the cargo wix subcommand to create an installer for the package.

[src]

Builds the project using the release profile, creates the installer (msi), and optionally signs the output.

Trait Implementations

impl<'a> Debug for Wix<'a>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a> Clone for Wix<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Default for Wix<'a>
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl<'a> Send for Wix<'a>

impl<'a> Sync for Wix<'a>