What belongs in the folder
- The
.exenamed byapp.executable, at the top or in a subfolder. - Every file the program needs at run time.
- Nothing else. Build leftovers such as
*.pdbfiles or logs make the setup file bigger, and you can leave them out withfiles.exclude.
uninstall.exe at its top, because Bach adds its own uninstaller with that name.
Typical folders per stack
Runtimes your app needs
If your app needs something that is not in the folder, such as WebView2 for a Tauri app or a .NET runtime, declare it as a requirement. Setup then checks for it before installing and shows a page with a download link when it is missing.Next step
Write your bach.toml
Describe the app and the folder in a small config file.