Skip to main content
bach import reads an Inno Setup (.iss) or NSIS (.nsi) script and writes a first bach.toml next to it. Installer scripts can contain program logic, so it only converts what has a Bach setting and lists the rest.

What’s converted

  • Name, version, publisher, website, icon, license file and install folder name
  • The folder files come from, and what’s excluded
  • Whether it installs for all users, the desktop shortcut, extra Start menu shortcuts, and programs run from the install folder
  • #define and !define constants
Registry writes, custom pages and code, components, temporary or system programs, files going elsewhere and #include files are listed instead. Missing values are marked in the file (# name = ""), and bach check reports them. Inno Setup asks for administrator rights unless the script has PrivilegesRequired=lowest, so such a script becomes scope = "machine", and Bach says so. Remove it if your app can live in one user’s folder. For components, see [[components]]. To remove the old installation on users’ computers, add [[migrate]].