winget-create icon indicating copy to clipboard operation
winget-create copied to clipboard

Items at root level are not modified

Open Trenly opened this issue 4 years ago • 1 comments

Brief description of your issue

When a product code exists at the root level and a package is updated using wingetcreate, the product code from the root level is not considered when updating the product code at the installer level

Edit: This applies to all other fields too

Steps to reproduce

Unsure how to reproduce; Noticed in https://github.com/microsoft/winget-pkgs/pull/37334/files#diff-b05d41986a400b8d3fc1c2f419d8e8f48290cba8ae0ce8ac5db177b44c415eb9

Expected behavior

The product code at the root level will be either updated or removed

Actual behavior

There are two different product codes in the manifest

Environment

¯\_(ツ)_/¯

Trenly avatar Dec 10 '21 06:12 Trenly

Sorry for lack of repro steps; I figured that having an issue was most important, even if I wasn't sure how to reproduce

Trenly avatar Dec 10 '21 06:12 Trenly