InstallKit.Abstractions
1.0.0
dotnet add package InstallKit.Abstractions --version 1.0.0
NuGet\Install-Package InstallKit.Abstractions -Version 1.0.0
<PackageReference Include="InstallKit.Abstractions" Version="1.0.0" />
<PackageVersion Include="InstallKit.Abstractions" Version="1.0.0" />
<PackageReference Include="InstallKit.Abstractions" />
paket add InstallKit.Abstractions --version 1.0.0
#r "nuget: InstallKit.Abstractions, 1.0.0"
#:package InstallKit.Abstractions@1.0.0
#addin nuget:?package=InstallKit.Abstractions&version=1.0.0
#tool nuget:?package=InstallKit.Abstractions&version=1.0.0
InstallKit
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 singlesetup.exebundle. - 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/:
- Start here: Getting started · Builders · Using your own build output · How it works
- Describe the installer: Custom actions · Registry · Environment variables and PATH · File associations and URL protocols · Firewall rules · Values in XML config files · Closing running programs · Optional features · Folder permissions · Asking for values · UI and branding · Bundles · Prerequisites · Signing · Versions side by side · Package platform · Requirements
- Tooling: Editor checks · Command line tool
- Ship it: Azure DevOps · What target machines need · Engines · WiX version and licence
- Project: Project layout · Contributing · QA
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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- BuilderGenerator (>= 3.1.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on InstallKit.Abstractions:
| Package | Downloads |
|---|---|
|
InstallKit.WixSharp.Core
WixSharp.Core (WiX 4+, .NET 10) engine for InstallKit. Preview. |
|
|
InstallKit.WixSharp
WixSharp (WiX 4+, .NET Framework) engine for InstallKit. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 97 | 11/23/2026 |
| 1.0.0-rc.3 | 98 | 11/19/2026 |
| 1.0.0-rc.2 | 102 | 11/17/2026 |
| 1.0.0-rc.1 | 97 | 11/15/2026 |
| 0.1.0-preview.1 | 125 | 11/14/2026 |