Read an MSI's ProductCode in new-version rather than requiring --product-code #24
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
#8 Make product-codes an override once new-version reads the MSI
jeff/winget-submit
Reference
jeff/winget-pkgs#24
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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-versionrequires--product-codefor every installer that has aProductCode, so each program's release workflow has to read it out of its own MSI and pass it through winget-submit'sproduct-codesinput.new-versionalready downloads the installer to hash it, and could read the code from it withmsiinfoinstead, keeping--product-codeas an override. Making the flag optional is an addition, which ADR 0004 allows.Follows from the
new-packagework, which reads the codes from the MSI the same way.