Skip to main content
Each [[requirements]] block names something your app needs. Setup checks for it before changing anything, without administrator rights. Walkthrough: Requirements.
bach.toml

Fields

Default names and links:

How each is detected

  • webview2: the WebView2 entry in the computer’s or user’s registry.
  • dotnet: the .NET registry record, DOTNET_ROOT and the Program Files folders, for a version starting with version.
  • vcredist: the Visual C++ 2015-2022 x64 runtime (on ARM64 computers, the ARM64 or x64 runtime).
  • windows: the installed build number.
  • file: the file exists.
  • registry: the key exists. For HKLM, the 32-bit view is checked too.

When something is missing

The window shows a page naming it, with a button to url, Try again, and Continue anyway (for the case it’s installed somewhere setup didn’t look). Skipped requirements are written to the log. A silent install stops with exit code 1 and prints what’s missing and where to get it. --skip-requirements continues anyway.

Supported Windows versions

Setup files are made for Windows 10 version 1809 (build 17763) and newer, and Windows 11. Bach tests on Windows 11, Windows on ARM and Windows Server 2022. A windows requirement lower than 17763 makes Bach warn, since the window may not run there anyway. Common builds: 10240 (first Windows 10), 17763 (1809), 19041 (2004), 22000 (Windows 11). The window texts requirement_title, requirement_subtitle, requirement_button and requirement_skip can be changed. Requirements don’t apply to the Mac build; use macos.minimum_version.