title: "Cargo Wix: cargo subcommand for creating Windows installers"
date: 2021-06-22T22:48:53+08:00
draft: false
slug: "Cargo Wix"
tags: ["wix","Rust"]
categories: ["Learn Rust"]
description: ""#
cargo-wix: cargo subcommand for creating Windows installers
It uses the build of a binary project to create a Windows installer (msi). It also supports signing the Windows installer if a code signing certificate is provided.
Quick Start#
Launch the command prompt (cmd.exe) and execute the following commands:
C:\>cargo install cargo-wix
C:\>cd Path\To\Project
C:\Path\To\Project\>cargo wix init
C:\Path\To\Project\>cargo wix
The Windows installer (msi) for the project will be located in the C:\Path\To\Project\target\wix folder.