Read an MSI's ProductCode in new-version #26
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jeff/winget-pkgs!26
Loading…
Reference in a new issue
No description provided.
Delete branch "msi-product-code"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
new-versionnow reads a new MSI'sProductCodefrom the MSI itself, withmsiinfo, instead of requiring--product-code.--product-codestays as an override; when it is given the MSI is not read. Making it optional is an addition, which ADR 0004 allows, so programs that passproduct-codeskeep working.UpgradeCodemust be one the manifest already gives, so a wrong program's MSI is refused rather than published with itsProductCode.ProductCode.check.pyand themsiinforeading tomsi.py, shared withnew-package.new-versionfor a pretend Zfj 0.4.1 from 0.4.0's MSI wrote the committedProductCodeunchanged; pointing Harrier at Zfj's MSI was refused on theUpgradeCode.Closes #24. Unblocks jeff/winget-submit#8.
🤖 Generated with Claude Code
https://claude.ai/code/session_01D31MsLkM9DkCauP1EB2zgw