ZeroInstall.Bootstrap 2.30.0

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

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 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. 
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
2.30.0 47 11/22/2026