Skip to content

Commit d829428

Browse files
Microsoft git installer options (#116034)
* microsoft/git: add custom installer arguments These arguments are intended to tell the installer to be as quiet as possible. * /SUPPRESSMSGBOXES indicates that the installer should not create pop-up windows when an issue arises. Instead, the installer will fail. This will resolve microsoft/git#595. * "/enable-component windowsterminal" was added to the Git/Git manifest in #110011 to resolve #109915, which was creating some installation problems on Windows 10. Signed-off-by: Derrick Stolee <[email protected]> * microsoft/git: match some format for Git/Git's manifest The Git/Git manifest has some additional options that were created directly by the Winget team, as opposed to microsoft/git which was created by the Git team. Since the Winget team is likely better at this sort of thing, adopt some of the choices made over there. These are mostly innocuous, though there is one interesting difference that still remains: the Git/Git manifest has two installers with different 'Scope' values ('machine' and 'user') while microsoft/git is only available via 'machine' scope. This is purposefully left alone since there is no difference in how the installers are specified and we are not sure we want to support user-only installs of microsoft/git. Signed-off-by: Derrick Stolee <[email protected]> --------- Signed-off-by: Derrick Stolee <[email protected]>
1 parent 43bd895 commit d829428

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

manifests/m/Microsoft/Git/2.40.1.0.2/Microsoft.Git.installer.yaml

+11-1
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,20 @@ PackageVersion: 2.40.1.0.2
66
Platform:
77
- Windows.Desktop
88
MinimumOSVersion: 10.0.0.0
9+
InstallerType: inno
10+
InstallModes:
11+
- interactive
12+
- silent
13+
- silentWithProgress
914
Scope: machine
15+
InstallerSwitches:
16+
Custom: /SUPPRESSMSGBOXES /enable-component windowsterminal
17+
UpgradeBehavior: install
18+
Commands:
19+
- git
20+
ElevationRequirement: elevatesSelf
1021
Installers:
1122
- Architecture: x64
12-
InstallerType: inno
1323
InstallerUrl: https://github.com/microsoft/git/releases/download/v2.40.1.vfs.0.2/Git-2.40.1.vfs.0.2-64-bit.exe
1424
InstallerSha256: BE2736C241F67A3AF21736072BFD0EE522BCB2847C51BA4A309F4EAB985909CE
1525
ManifestType: installer

0 commit comments

Comments
 (0)