Skip to content

[Package Issue]: Microsoft.Office #256773

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

Closed
2 tasks done
danman48 opened this issue May 15, 2025 · 3 comments
Closed
2 tasks done

[Package Issue]: Microsoft.Office #256773

danman48 opened this issue May 15, 2025 · 3 comments
Labels
Error-Hash-Mismatch The InstallerSHA256 Hash specified in the manifest doesn't match with the InstallerURL hash Package-Update This package needs to be updated

Comments

@danman48
Copy link

Please confirm these before moving forward

  • I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
  • I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue

Installer hash mismatch.

Brief description of your issue

Microsoft 365 Apps for enterprise shows an "Installer has does not match" error

Steps to reproduce

winget install Microsoft.Office

Actual behavior

Found Microsoft 365 Apps for enterprise [Microsoft.Office] Version 16.0.18623.20156
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://officecdn.microsoft.com/pr/wsus/setup.exe
7.29MB
Install has does not match; this cannot be overridden when running as admin

Expected behavior

The software installs

Environment

Windows Package Manager v1.10.390
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.26100.4061
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.25.390.0

Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
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                %USERPROFILE%\Downloads
Configuration Modules              %LOCALAPPDATA%\Microsoft\WinGet\Configuration\Modules

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                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Enabled
LocalArchiveMalwareScanOverride           Disabled
ProxyCommandLineOptions                   Disabled
DefaultProxy                              Disabled

Screenshots and Logs

No response

@danman48 danman48 added the Issue-Bug It either shouldn't be doing this or needs an investigation. label May 15, 2025
Copy link

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Triage This work item needs to be triaged by a member of the core team. Package-Update This package needs to be updated Error-Hash-Mismatch The InstallerSHA256 Hash specified in the manifest doesn't match with the InstallerURL hash and removed Issue-Bug It either shouldn't be doing this or needs an investigation. labels May 15, 2025
@Dragon1573
Copy link
Contributor

✅ Manually verified.

14:21:47 D:\...\winget-pkgs  [master ≡] 0ms pwsh
$ komac show --installer-manifest Microsoft.Office |
> ConvertFrom-Yaml |
> Select-Object -ExpandProperty Installers |
> ForEach-Object {
>   $_ | Select-Object -Property InstallerUrl,
>     @{ Name = "InstallerSha256"; Expression = { $_.InstallerSha256.ToUpper() } }
> } |
> Format-List

InstallerUrl    : https://officecdn.microsoft.com/pr/wsus/setup.exe
InstallerSha256 : FA683517C0270DD3BAE09BC862FD13B5D742EC73FA3590D795E46C19FBFD299B

InstallerUrl    : https://officecdn.microsoft.com/pr/wsus/setup.exe
InstallerSha256 : FA683517C0270DD3BAE09BC862FD13B5D742EC73FA3590D795E46C19FBFD299B

14:23:17 D:\...\winget-pkgs  [master ≡] 3.826s pwsh
$ winget download --skip-dependencies --ignore-security-hash -e Microsoft.Office
已找到 Microsoft 365 Apps for enterprise [Microsoft.Office] 版本 16.0.18730.20142
此应用程序由其所有者授权给你。
Microsoft 对第三方程序包概不负责,也不向第三方程序包授予任何许可证。
已跳过依赖项。
正在下载 https://officecdn.microsoft.com/pr/wsus/setup.exe
  ██████████████████████████████  7.29 MB / 7.29 MB
已成功验证安装程序哈希
已下载安装程序: D:\Dragon1573\Downloads\Microsoft.Office_16.0.18730.20142\Microsoft 365 Apps for enterprise_16.0.18730.20142_Machine_X64_exe_en-US.exe

14:24:19 D:\...\winget-pkgs  [master ≡] 5.601s pwsh
$ winget hash "D:\Dragon1573\Downloads\Microsoft.Office_16.0.18730.20142\Microsoft 365 Apps for enterprise_16.0.18730.20142_Machine_X64_exe_en-US.exe" |
> ConvertFrom-StringData -Delimiter ":" |
> Select-Object -Property @{ Name = "InstallerSha256"; Expression = { $_.InstallerSha256.ToUpper() } } |
> Format-List

InstallerSha256 : FA683517C0270DD3BAE09BC862FD13B5D742EC73FA3590D795E46C19FBFD299B

Tip

Close as completed with reason: Resolved

CC @danman48 @stephengillie 🙏🏼

@ItzLevvie
Copy link
Contributor

Close with reason: See above;

@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Triage This work item needs to be triaged by a member of the core team. label May 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Error-Hash-Mismatch The InstallerSHA256 Hash specified in the manifest doesn't match with the InstallerURL hash Package-Update This package needs to be updated
Projects
None yet
Development

No branches or pull requests

3 participants