LocalInstaller.Core
1.1.0
dotnet add package LocalInstaller.Core --version 1.1.0
NuGet\Install-Package LocalInstaller.Core -Version 1.1.0
<PackageReference Include="LocalInstaller.Core" Version="1.1.0" />
<PackageVersion Include="LocalInstaller.Core" Version="1.1.0" />
<PackageReference Include="LocalInstaller.Core" />
paket add LocalInstaller.Core --version 1.1.0
#r "nuget: LocalInstaller.Core, 1.1.0"
#:package LocalInstaller.Core@1.1.0
#addin nuget:?package=LocalInstaller.Core&version=1.1.0
#tool nuget:?package=LocalInstaller.Core&version=1.1.0
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 | Versions 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. |
-
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.