Add MSI UpgradeCode to manifest
denelon opened this issue · 3 comments
denelon commented
MSI Installer UpgradeCode
MSI Installers have an UpgradeCode to help with package upgrades:
[Using an UpgradeCode]https://docs.microsoft.com/en-us/windows/win32/msi/using-an-upgradecode)
denelon commented
How about from #1073:
ProgramsAndFeaturesEntries:
- Name: Foo
Publisher: Contoso
Version: 1.2.3
ProductCode: "{AAAAA-AAAAA-AAAAA-AAAAA-AAAAA}"
UpgradeCode: "{ABAAA-ABAAA-ABAAA-ABAAA-ABAAA}"
- Name: FooService
Publisher: Contoso
Version: 2.3.4
ProductCode: "{BBBBB-BBBBB-BBBBB-BBBBB-BBBBB}"
UpgradeCode: "{BCBBB-BCBBB-BCBBB-BCBBB-BCBBB}"
denelon commented
winget-cli/schemas/JSON/manifests/v1.1.0/manifest.installer.1.1.0.json
Lines 409 to 411 in 5a97e26
denelon commented
The remaining work on this feature is to have the Windows Package Manager client leverage the MSI UpgradeCode.