ZeroInstall.Bootstrap
2.30.0
dotnet add package ZeroInstall.Bootstrap --version 2.30.0
NuGet\Install-Package ZeroInstall.Bootstrap -Version 2.30.0
<PackageReference Include="ZeroInstall.Bootstrap" Version="2.30.0" />
<PackageVersion Include="ZeroInstall.Bootstrap" Version="2.30.0" />
<PackageReference Include="ZeroInstall.Bootstrap" />
paket add ZeroInstall.Bootstrap --version 2.30.0
#r "nuget: ZeroInstall.Bootstrap, 2.30.0"
#:package ZeroInstall.Bootstrap@2.30.0
#addin nuget:?package=ZeroInstall.Bootstrap&version=2.30.0
#tool nuget:?package=ZeroInstall.Bootstrap&version=2.30.0
ZeroInstall.Bootstrap
Library for building bootstrappers that download and run Zero Install or an application using Zero Install.
Zero Install is a decentralized cross-platform software installation system.
A bootstrapper is a small executable that does not require Zero Install to already be deployed on the system. It uses BootstrapProcess to download a full version of Zero Install and hands over to it.
Samples
A minimal command-line bootstrapper:
using ZeroInstall.Bootstrap;
ProgramUtils.Init();
using var handler = new CliBootstrapHandler();
return (int)ProgramUtils.Run(args, handler);
Implement IBootstrapHandler to provide your own user interface.
Configuration
BootstrapConfig loads its settings from an INI file named after the executable and placed next to it (e.g., my-app.ini for my-app.exe). If there is no such file it falls back to the default config embedded in this library.
To customize the settings, add your own INI file to your project and have it copied to the output directory. You can use the BootstrapConfig.ini in the root of this package, which documents all available options, as a starting point. For example, to target a specific application:
[bootstrap]
app_uri=https://example.com/your-feed.xml
app_name=Your App
Embedded content
Files embedded in your executable as resources named ZeroInstall.content.* are imported into Zero Install when the bootstrapper runs. This can be used to bundle feeds, OpenPGP keys, icons and implementation archives. The resource names do not depend on your namespace, so set them explicitly:
<EmbeddedResource Include="content\*" LogicalName="ZeroInstall.content.%(Filename)%(Extension)" />
| 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. net11.0 is compatible. |
| .NET Framework | net48 is compatible. net481 was computed. |
-
.NETFramework 4.8
- NDesk.Options.Patched (>= 0.3.3)
- ZeroInstall.Services (>= 2.30.0)
-
net10.0
- NDesk.Options.Patched (>= 0.3.3)
- ZeroInstall.Services (>= 2.30.0)
-
net11.0
- NDesk.Options.Patched (>= 0.3.3)
- ZeroInstall.Services (>= 2.30.0)
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 |
|---|---|---|
| 2.30.0 | 47 | 11/22/2026 |