
On Thursday, July 16, 2026, 23:43:37, 'Zoë Peterson' via innosetup wrote:
Currently this requires patching SetupLdr's behavior around the "Select Setup Install Mode" dialog. Is that something that would be useful to other people? I could submit my changes as a pull request, but I don't think they'd be generally usable as-is, since the behavior is hard-coded.
I did something similar in one of my installer without needing to patch anything – GIMP Help installer detects if GIMP was installed system-wide or for current user only (or both), and asks where the Help should be installed, then simply re-runs itself with /ALLUSERS or /CURRENTUSER parameter and an additional parameter that tells it to do the install this time.
Our installer supports three install modes: For All Users, For Current User, and Portable. I also have it set up to streamline the process when installing an upgrade over the top of an existing install, so it doesn't need to prompt for the install directory or the tasks again.
...
It has a similar button if you have a Current User install, and potentially shows both if you've done a Current User install before an All Users one. For simplicity we don't show the option for a Current User install if there's already an All Users one, though that can be circumvented using /CurrentUser.
Currently this requires patching SetupLdr's behavior around the "Select Setup Install Mode" dialog. Is that something that would be useful to other people? I could submit my changes as a pull request, but I don't think they'd be generally usable as-is, since the behavior is hard-coded.