LocalInstaller.Core 1.1.0

dotnet add package LocalInstaller.Core --version 1.1.0
                    
NuGet\Install-Package LocalInstaller.Core -Version 1.1.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="LocalInstaller.Core" Version="1.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LocalInstaller.Core" Version="1.1.0" />
                    
Directory.Packages.props
<PackageReference Include="LocalInstaller.Core" />
                    
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 LocalInstaller.Core --version 1.1.0
                    
#r "nuget: LocalInstaller.Core, 1.1.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 LocalInstaller.Core@1.1.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=LocalInstaller.Core&version=1.1.0
                    
Install as a Cake Addin
#tool nuget:?package=LocalInstaller.Core&version=1.1.0
                    
Install as a Cake Tool

LocalInstaller.Core

Cross-platform installer library for Windows, macOS, Ubuntu, and NixOS.

Provides the ProductManifest description type, the InstallerPlatformAdapterFactory composition root, and the IInstallerPlatformAdapter interface with platform adapters for all four targets. Pair with LocalInstaller.App for the Avalonia GUI.

Install

dotnet add package LocalInstaller.Core

Usage

using LocalInstaller.Core.Composition;
using LocalInstaller.Core.Features.Installation.Models;

var manifest = new ProductManifest("My Product", "my-product", "MY_PRODUCT")
{
    Components = [ProductComponent.Desktop, ProductComponent.Server, ProductComponent.Cli],
    WindowsUpgradeCode = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
};

var adapter = InstallerPlatformAdapterFactory.Create(
    manifest,
    AppContext.BaseDirectory,
    fakeInstaller: Environment.GetEnvironmentVariable(manifest.FakeInstallerVariable),
    useNixOsLookupOnlyMode: false);

var session = new InstallerSession(installRoot: manifest.DefaultInstallRoot());

await foreach (var progress in adapter.ExecuteInstallAsync(session))
    Console.WriteLine(progress.Message);
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on LocalInstaller.Core:

Package Downloads
LocalInstaller.App

Avalonia-based installer GUI and command-line interface built on LocalInstaller.Core.

LocalInstaller.Packaging

Build pipeline for producing platform-specific installer packages (Windows MSI, macOS pkg, Ubuntu .deb).

LocalInstaller.Smoke

Smoke-test runner for validating freshly installed products on Windows, macOS, Ubuntu, and NixOS.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.0 2,556 9/8/2026
1.0.2 642 8/14/2026
1.0.1 140 8/14/2026
1.0.0 169 8/12/2026