Does a Bach installer need administrator rights?
Does a Bach installer need administrator rights?
%LOCALAPPDATA%\Programs, and Bach only writes to the user’s own folders and HKCU, with no UAC prompt. An app asks Windows for administrator rights once only when it says so: with installer.scope = "machine", with elevated = true on one [[run]] step, or with an elevated [[migrate]]. See Safety rules.Can I install for every user of a computer?
Can I install for every user of a computer?
installer.scope = "machine" and setup installs into %ProgramFiles% and HKLM after one Windows prompt. Background updates are off for such an app. See Machine-wide installs.Can I build an MSI, or install a service or driver?
Can I build an MSI, or install a service or driver?
bach build --msi writes a Windows Installer package for Group Policy and Intune (see Windows Installer packages), and a machine-wide install can set up Windows services and firewall rules with [[services]] and [[firewall]]. A setup file with services can’t be an MSI yet. Drivers and install-time scripts are not built in: a [[run]] step can start a program that does them, and for the rest use another tool. See Why Bach.Can I replace an installer I made with Inno Setup, NSIS or an MSI?
Can I replace an installer I made with Inno Setup, NSIS or an MSI?
[[migrate]] makes the first Bach install remove the old install through its own uninstall entry. See Move from another installer.How big is the setup file?
How big is the setup file?
installer.compression trades size for build time.Does the user need .NET or the Visual C++ redistributable to run the installer?
Does the user need .NET or the Visual C++ redistributable to run the installer?
Which languages does the installer speak?
Which languages does the installer speak?
Can I build installers on macOS or Linux?
Can I build installers on macOS or Linux?
bach runs there. bach preview needs Windows, and the setup file keeps Bach’s icon outside Windows. See Automate in CI.How do updates work?
How do updates work?
bach build --patch-from can offer a smaller patch with only the files that changed. See Updates.What happens if an update fails midway?
What happens if an update fails midway?
What happens to my users' data when they uninstall?
What happens to my users' data when they uninstall?
[uninstall] data, inside their profile, can be deleted. See Uninstall and data.Why does SmartScreen warn about my setup file?
Why does SmartScreen warn about my setup file?
signtool, or let bach build --sign do it. Signing is optional and needs a code-signing certificate. See Signing.Is the uninstaller signed?
Is the uninstaller signed?
Can I change the app id later?
Can I change the app id later?
Can I use Bach in CI?
Can I use Bach in CI?
bach build exits with a non-zero code and a readable message on any problem. There is a GitHub Action. See Automate in CI.Can I list my app in winget?
Can I list my app in winget?
bach winget writes the manifests. See winget.Do I need Rust to use Bach?
Do I need Rust to use Bach?
@usebach/cli) or a zip. Rust is only needed to build Bach from source.What license is Bach under?
What license is Bach under?