The WiX Toolset lets developers create installers for Windows. This package contains the WiX Toolset command-line interface.
$ dotnet add package wixThe wix package provides the WiX Toolset as a .NET Tool, perfect for your command-line packaging pleasure (even if we recommend using the WixToolset.Sdk).
Web Site | Documentation | Issue Tracker | Discussions
To ensure the long-term sustainability of this project, users of this package who generate revenue must pay an Open Source Maintenance Fee. While the source code is freely available under the terms of the LICENSE, this package and other aspects of the project require adherence to the Open Source Maintenance Fee EULA.
To pay the Maintenance Fee, become a Sponsor.
For most users, we recommend using the WixToolset.Sdk to build your installation packages instead of this command-line tool. The Sdk provides a better development experience than the command-line, especially as your project grows. The following is a quick example.
Example project file: QuickStart.wixproj
<Project Sdk="WixToolset.Sdk/7.0.0">
</Project>
Example source code: QuickStart.wxs
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<Package Id="AcmeCorp.QuickStart" Name="QuickStart Example" Manufacturer="ACME Corp" Version="0.0.1">
<File Source="example.txt" />
</Package>
</Wix>
Build your MSI from the command-line:
dotnet build
If you still decide to use this command-line tool instead of the WixToolset.Sdk, install the latest version with:
dotnet tool install --global wix
Verify it was successfully installed with:
wix --version
For more information, see https://docs.firegiant.com/wix/using-wix/#command-line-net-tool. To read about available commands and switches, see https://docs.firegiant.com/wix/tools/wixexe/.