[UWP] Custom data issue on Windows 10, version 2004.

Kingcean Tuan 1 Reputation point
2020-08-17T05:43:10.82+00:00

The custom data (microsoft.system.package.metadata\Custom.data) is restored unexpectedly after app update on Windows 10, version 2004.

We generate a custom data with the information like the PC OEM identifier to a pre-install package of our UWP app so that we can enable some special features for these devices. It works well when the app runs before it gets update. And it can still work after the app updates on any versions of Windows 10 but except version 2004.

We have tested this on version 1903, 1907 and 2004. Only on version 2004, we cannot read the correct information from the custom data.

Repro

  1. Add a custom data for a UWP pre-install package.
  2. Install it on a device of Windows 10, version 2004.
  3. Publish a new version of the app to Microsoft Store.
  4. Update the app in the local device by Microsoft Store.
  5. Test if the custom data is the one installed before.
Developer technologies Universal Windows Platform (UWP)
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,866 Reputation points
    2020-08-17T07:47:25.75+00:00

    Hi, kingcean

    Welcome to Microsoft Q&A,

    For this OEM issue, the better way is post this with Windows Feed Back Hub app. And it could get response quickly.

    Thanks Nico Zhu.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.