Uh oh!
There was an error while loading. Please reload this page.
Clarify some manifest values and add examples - #6277
Conversation
This comment has been minimized.
This comment has been minimized.
JohnMcPMS
left a comment
There was a problem hiding this comment.
The changes seem reasonable to me, but I don' actually touch the schema much so I would like someone else to take a look too.
The flow for semantic changes to the schema as part of a new minor version also requires quite a bit more setup. See #5997 and/or #5011.
I think I will also create some additional documentation to prevent the need for you to parse through those if you want to wait for that.
JohnMcPMS
commented
Jun 11, 2026
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Flor Chacón (florelis)
left a comment
There was a problem hiding this comment.
Looks good to me, but I would like Demitrius Nelon (@denelon) or JohnMcPMS to weigh in on whether to take the new pattern for UpgradeCode. It does limit to valid codes, but there may be someone out there with invalid codes in their manifests.
Demitrius Nelon (denelon)
commented
Jul 23, 2026
If we enable this, are there any existing manifests that would fail if something like wingetcreate were to be used to generate a new manifest and essentially just copy metadata forward for the "new" version? |
Flor Chacón (florelis)
commented
Jul 23, 2026
Yes: |
Demitrius Nelon (denelon)
commented
Jul 24, 2026
We should fix anything that would fail before accepting a change like this. |
Anders (sredna)
commented
Aug 13, 2026
Demitrius Nelon (@denelon) I have submitted PRs for all of these and most have been fixed already. Two remaining that need attention: |
📖 Description
Notes:
UpgradeCodeis restricted only to GUIDs because this is a MSI feature. I have verified that all existing manifests in the community repository only uses GUIDs here.DefaultInstallLocationis restricted to strings starting with%or\. The thinking is that the only sane values are%ProgramFiles%\MyApp,%LOCALAPPDATA%\Programs\MyAppand\AppInRootOfDrive.🔗 References
Fixes some of the issues reported in #6221
🔍 Validation
None/YOLO
✅ Checklist
📋 Issue Type
Microsoft Reviewers: Open in CodeFlow