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.
florelis
left a comment
There was a problem hiding this comment.
Looks good to me, but I would like @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.
|
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? |
Yes: |
📖 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