bach diff reads two setup files of one app and says what changed, without unpacking anything. Use it to see what a release really ships, or why it got bigger.
- A file is changed when its SHA-256 differs (a setup file without recorded checksums is compared by size, and the output says so). Names are matched the way Windows matches them.
- Besides files lists what the new setup file does to Windows that the old one didn’t (
+), no longer does (-) or does differently (~): registry values, environment variables, right-click entries, shortcuts, link schemes, file types, run steps, requirements, components and migrations. - Made the app bigger ranks files by the bytes they added to the installed app (
--top N, default 5). The archive is one compressed stream, so Bach can’t say how much each file added to the setup file itself. - Both files must be for the same app id. Text from a setup file is escaped before it is printed.
--json prints old_version, new_version, unchanged, installed_growth, setup_size_old, setup_size_new, changed_files and changes.