I learned today the hard way that the [InstallDelete] section in #InnoSetup fails silently for locked files. No error, no message. If the file is locked, Inno just ignores the delete command.
I replaced it with a Pascal Scripting section that use FileDelete or MoveFileEx: https://github.com/source-foundry/Hack-windows-installer/blob/master/src/HackWindowsInstaller.iss#L1093
This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!
Hosting costs are largely covered by our generous supporters on Patreon – thanks for all the help!