InstallKit.WixSharp 1.0.0

dotnet add package InstallKit.WixSharp --version 1.0.0
                    
NuGet\Install-Package InstallKit.WixSharp -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="InstallKit.WixSharp" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="InstallKit.WixSharp" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="InstallKit.WixSharp" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add InstallKit.WixSharp --version 1.0.0
                    
#r "nuget: InstallKit.WixSharp, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package InstallKit.WixSharp@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=InstallKit.WixSharp&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=InstallKit.WixSharp&version=1.0.0
                    
Install as a Cake Tool

InstallKit

NuGet NuGet downloads CI License: MIT

Build Windows installers (MSI and setup .exe bundles) with plain C# and dotnet build. InstallKit sits on top of WixSharp and the WiX Toolset, and adds a fluent API, an MSBuild SDK, a native modern installer UI, install-time C# handlers and ready-made Azure DevOps pipeline templates.

Version 1.0. Feedback and issues are welcome.

Why InstallKit

  • Installers as code: describe the product, services, shortcuts and prerequisites in C#, with validation errors that point at the problem before WiX runs.
  • One command: dotnet build (with -p:InstallKitBuildOnBuild=true) publishes your app, then produces the MSI and, optionally, a single setup.exe bundle.
  • Modern look by default: a flat, dark installer UI in your colours (light, dark or following the Windows setting), with native dialogs that need nothing on the target machine as the alternative.
  • Install-time code in C#: run static methods during install or uninstall, with no WixSharp types in your code.
  • CI included: Azure DevOps templates that build, sign, smoke-test (install and uninstall) and publish.
  • Two engines: WixSharp on .NET Framework 4.8, or a WixSharp.Core preview on .NET 10, with the same installer code.

Requirements

  • Build machine: Windows and the .NET SDK. WiX is restored as a pinned local tool.
  • Target machine: usually nothing beyond Windows. See What target machines need.

Example

using InstallKit;

return InstallerHost.Run(args, plan =>
{
    var app = plan.Msi(MsiBuilder.Create("My App")
        .WithManufacturer("Contoso")
        .WithUpgradeCode("0b6f9a8e-3c1d-4e57-9a43-6d2f1c8b7e10")
        .WithMainExecutable("MyApp.exe")       // gets a Start menu shortcut
        .Content(c => c.Payload("MyApp"))      // published output of <InstallerPayload>
        .Shell(s => s.DesktopShortcut()));

    plan.Bundle(BundleBuilder.Create("My App") // optional: one setup.exe with prerequisites
        .WithUpgradeCode("5a2e7c41-9d83-4b6f-8e15-c3a09f4d2b77")
        .Prerequisites(p => p.NetFramework(NetFrameworkVersion.NetFx48))
        .Packages(k => k.Msi(app)));
});
<Project Sdk="InstallKit.Sdk/1.0.0">
  <ItemGroup>
    <InstallerPayload Include="..\MyApp\MyApp.csproj" PublishProperties="RuntimeIdentifier=win-x64;SelfContained=true" />
  </ItemGroup>
</Project>

dotnet build -p:Version=1.2.3 -p:InstallKitBuildOnBuild=true publishes MyApp, then writes bin/installer/Release/MyApp.msi and MyAppSetup.exe.

Next: Getting started.

Documentation

Full documentation lives in docs/:

AI coding agents: see the InstallKit skill.

Roadmap

Planned work is tracked in the open issues and their milestones.

License

InstallKit is released under the MIT License. WixSharp and the WiX Toolset have their own licences; see WiX version and licence.

Product Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 71 11/23/2026
1.0.0-rc.3 85 11/19/2026
1.0.0-rc.2 93 11/17/2026
1.0.0-rc.1 88 11/15/2026
0.1.0-preview.1 113 11/14/2026