Windows Installer, unattended unable to prevent file associations
GIMP version: 2.10.8
Operating System: Windows Server 2012 R2 / Windows 10
Package: https://download.gimp.org/mirror/pub/gimp/v2.10/windows/gimp-2.10.8-setup-2.exe
Description of the bug
When silently installing gimp, we need the ability to prevent it from associating itself over the top of (for example paint on Server 2012 R2) or the default image viewer on Windows 10. Basically the start-up time for gimp is so long that it drives people mad waiting for a jpeg to open with gimp if they just want to view it. Most applications support /MERGETASKS !fileassoc
however I can't get any combination of flags to work on the command line.
I've had a look at https://github.com/GNOME/gimp/tree/master/build/windows/installer and I can't see any way to bypass it that can be injected from the command line, it looks like recompiling the installer with a different setup.ini (i.e. no file associations in there) is the only way to go at current.
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- Install gimp using
/VERYSILENT /NORESTART "/MERGETASKS="!desktopicon,!fileassoc"
- Double click a jpeg!
…
Expected result:
Gimp doesn't associate itself to jpegs and leaves paint or the windows image viewer as the default
Actual result:
Gimp takes over all file associations
If you have a backtrace for a crash or a warning, paste it here.