Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft OneNote PackageIdentifier value fails schema validation #3720

Closed
atrenton opened this issue Sep 30, 2023 · 2 comments
Closed

Microsoft OneNote PackageIdentifier value fails schema validation #3720

atrenton opened this issue Sep 30, 2023 · 2 comments
Labels
Resolution-Duplicate Issue is a duplicate
Milestone

Comments

@atrenton
Copy link

Brief description of your issue

Search for OneNote reveals the following Id:
image
Attempting to validate manifest fails using that Id as the PackageIdentifier value:
image
See attached installer.yaml file
atrenton.MyJournal.Notebook.installer.yaml.txt

Steps to reproduce

Use 'wingetcreate new' command to create manifest files
and configure installer.yaml file with OneNote as a dependency

  Dependencies:
    PackageDependencies:
    - PackageIdentifier: XPFFZHVGQWWLHB

Expected behavior

Expected PackageIdentifier for OneNote to be valid.

Actual behavior

Manifest validation fails.

Environment

$ winget --info
Windows Package Manager v1.6.2701
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.2283
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.2701.0

Winget Directories
---------------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutp…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings…
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                D:\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Enabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled
@Trenly
Copy link
Contributor

Trenly commented Oct 1, 2023

This is expected behavior.

@microsoft-github-policy-service
Copy link
Contributor

Hello @atrenton,

We've identified this as a duplicate of another issue or PR that already exists. This specific instance is being closed in favor of the linked issue. Please add your 👍 to the other issue to raise its priority. Thanks for your contribution!

Template: msftbot/duplicate/closed

@microsoft-github-policy-service microsoft-github-policy-service bot added Resolution-Duplicate Issue is a duplicate and removed Needs-Triage Issue need to be triaged labels Oct 1, 2023
@denelon denelon added this to the v1.7 Client milestone Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate Issue is a duplicate
Projects
None yet
Development

No branches or pull requests

3 participants