$ git --version --build-options
git version 2.16.2.windows.1
cpu: x86_64
built from commit: e1848984d1004040ec5199e749b5f282ddf4bb09
sizeof-long: 4
$ cmd.exe /c ver
Microsoft Windows [Version 6.1.7601]
# One of the following:
> type "C:\Program Files\Git\etc\install-options.txt"
> type "C:\Program Files (x86)\Git\etc\install-options.txt"
> type "%USERPROFILE%\AppData\Local\Programs\Git\etc\install-options.txt"
$ cat /etc/install-options.txt
Editor Option: VIM
Path Option: Cmd
SSH Option: OpenSSH
CURL Option: OpenSSL
CRLF Option: CRLFAlways
Bash Terminal Option: MinTTY
Performance Tweaks FSCache: Enabled
Use Credential Manager: Enabled
Enable Symlinks: Disabled
* insert your response here *
CMD
Git-2.16.2-64-bit.exe /VERYSILENT /NORESTART /NOCANCEL /SP- /CLOSEAPPLICATIONS /RESTARTAPPLICATIONS /COMPONENTS="icons,ext\reg\shellhere,assoc,assoc_sh"
unins001.exe -ArgumentList "/VERYSILENT /NORESTART /NOCANCEL /SP- /SUPPRESSMSGBOXES /FORCECLOSEAPPLICATIONS"
3 message boxes appear and are not suppressed:
Not relevant.
unins001.exe -ArgumentList "/VERYSILENT /NORESTART /NOCANCEL /SP- /SUPPRESSMSGBOXES /FORCECLOSEAPPLICATIONS"```
Our own installer calls any previously version's uninstaller with /VERYSILENT /SILENT /NORESTART /SUPPRESSMSGBOXES: https://github.com/git-for-windows/build-extra/blob/922e32b5de8af3fff26d5f73a36ce1e9129a3d17/installer/install.iss#L1646
We do not see those message boxes. Probably due to the extra /SILENT option.
I had to remove "-ArgumentList" then my options works fine too.
ArgumentList seems to be an option of msiexec.