CI compiled nothing of the installer, so a broken disktree.iss would first
fail inside a release, after its draft exists, and the Arm64 setup had
never been built at all. The Windows job now compiles the x64 setup and
the Windows aarch64 job the Arm64 one; both run check-setup.ps1, which
installs it silently for the current user, checks the exe, Start menu and
desktop shortcuts and the uninstall entry, installs again as an upgrade
(one entry left), uninstalls and checks nothing remains.
install-inno.ps1 takes over the pinned, hash-checked Inno Setup install
from release.yml and now fails on a non-zero installer exit or a missing
ISCC.exe instead of leaving the next step to report it.
Verified locally on Windows 11 x64: both scripts pass, and the CI
Installer step body, run as written, compiles a 0.0.0 setup and reports
"setup installs, upgrades and uninstalls cleanly". Upgrading while
disktree runs closes it through Restart Manager without a reboot. The
Arm64 job has not run yet.
packaging/windows/disktree.iss builds disktree-<version>-<arch>-windows-
setup.exe from the release binary. It installs for the current user with
no UAC prompt by default (the first page offers all users), adds a Start
menu entry, a desktop shortcut and an uninstaller in Settings > Apps, and
upgrades in place, keyed by a fixed AppId. x86_64 and aarch64 each get
their own setup.
Verified with Inno Setup 7.1.0 on Windows 11 x64: ISCC compiles cleanly;
leaving out /DArch or passing an unknown one aborts the compile; a silent
/CURRENTUSER install creates the exe, both shortcuts and the uninstall
entry, and disktree launches; a second install upgrades with one uninstall
entry; unins000.exe removes all of it including the install folder.