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

[Package Issue]: Ubisoft.Connect

Open sebbu2 opened this issue 1 year ago • 8 comments

Please confirm these before moving forward

  • [x] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
  • [x] 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

Ubisoft.Connect has been updated to 159.2.11504.0 the setup url stays the same and doesn't contain any version information.

Steps to reproduce

winget upgrade --all

Actual behavior

(1/1) Trouvé Ubisoft Connect [Ubisoft.Connect] Version 159.1.0.11430 La licence d’utilisation de cette application vous est octroyée par son propriétaire. Microsoft n’est pas responsable des paquets tiers et n’accorde pas de licences à ceux-ci. Téléchargement en cours https://static3.cdn.ubi.com/orbit/launcher_installer/UbisoftConnectInstaller.exe ██████████████████████████████ 244 MB / 244 MB Le code de hachage de l’installation ne correspond pas ; ceci ne peut pas être contourné lors d’une exécution en tant qu’administrateur

Expected behavior

Le code de hachage de l’installation a été vérifié avec succès Démarrage du package d’installation... Merci de patienter. Installé correctement

Environment

Gestionnaire de package Windows v1.9.25200
Copyright (c) Microsoft Corporation. Tous droits réservés.

Windows: Windows.Desktop v10.0.19045.5247
Architecture du système : X64
Package : Microsoft.DesktopAppInstaller v1.24.25200.0

Répertoires Winget
-----------------------------------------------------------------------------------------------------------------------------------------
Journaux                                     %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
Paramètres utilisateurs                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Répertoire des liens portables (utilisateur) %LOCALAPPDATA%\Microsoft\WinGet\Links
Répertoire des liens portables (ordinateur)  C:\Program Files\WinGet\Links
Racine de package portable (utilisateur)     %LOCALAPPDATA%\Microsoft\WinGet\Packages
Racine du package portable                   C:\Program Files\WinGet\Packages
Racine de package portable (x86)             C:\Program Files (x86)\WinGet\Packages
Téléchargements du programme d’installation  %USERPROFILE%\Downloads

Liens
---------------------------------------------------------------------------------------------
Déclaration de confidentialité        https://aka.ms/winget-privacy
Contrat de licence                    https://aka.ms/winget-license
Avis de tiers                         https://aka.ms/winget-3rdPartyNotice
Page d’accueil                        https://aka.ms/winget
Conditions générales du Windows Store https://www.microsoft.com/en-us/storedocs/terms-of-sale

Paramètre administrateur                  État
---------------------------------------------------
LocalManifestFiles                        Désactivé
BypassCertificatePinningForMicrosoftStore Désactivé
InstallerHashOverride                     Désactivé
LocalArchiveMalwareScanOverride           Désactivé
ProxyCommandLineOptions                   Désactivé
DefaultProxy                              Désactivé

Screenshots and Logs

2024-12-26 15:57:57.883 [CLI ] Generated temp download path: C:\Users\sebbu\AppData\Local\Temp\WinGet\Ubisoft.Connect.159.1.0.11430\aa3e768b812a0a45cbc4aba548da034b7aa924de1c63e6453c892d66ab6ca5ac 2024-12-26 15:57:57.939 [CORE] Downloading to path: C:\Users\sebbu\AppData\Local\Temp\WinGet\Ubisoft.Connect.159.1.0.11430\aa3e768b812a0a45cbc4aba548da034b7aa924de1c63e6453c892d66ab6ca5ac 2024-12-26 15:57:57.940 [CORE] DeliveryOptimization downloading from url: https://static3.cdn.ubi.com/orbit/launcher_installer/UbisoftConnectInstaller.exe 2024-12-26 15:58:09.061 [CORE] Download completed. 2024-12-26 15:58:10.645 [CORE] Started applying motw to C:\Users\sebbu\AppData\Local\Temp\WinGet\Ubisoft.Connect.159.1.0.11430\aa3e768b812a0a45cbc4aba548da034b7aa924de1c63e6453c892d66ab6ca5ac with zone: 3 2024-12-26 15:58:10.647 [CORE] Finished applying motw 2024-12-26 15:58:10.648 [CLI ] Package hash verification failed. SHA256 in manifest [aa3e768b812a0a45cbc4aba548da034b7aa924de1c63e6453c892d66ab6ca5ac] does not match download [74cf049886dde1258a9e1b7a576dcfb7067408cfe8c22236c6a63bf14d7b8acc] with file size [256628640] and content type []

sebbu2 avatar Dec 26 '24 15:12 sebbu2

We've found some similar issues:

  • #109788 , similarity score: 86%
  • #128282 , similarity score: 85%
  • #45719 , similarity score: 81%

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.

similar-issues-ai[bot] avatar Dec 26 '24 15:12 similar-issues-ai[bot]

Unable to reproduce the issue. 😞

14:40:19 D:\...\winget-pkgs  [master ≡] 1ms pwsh> winget download -s winget --skip-dependencies -e Ubisoft.Connect -v 159.2.11504.0
找不到匹配的版本: 159.2.11504.0
14:40:42 D:\...\winget-pkgs  [master ≡] 2.919s 0x8A150017 pwsh> winget download -s winget --skip-dependencies -e Ubisoft.Connect -v 159.1.0.11430
已找到 Ubisoft Connect [Ubisoft.Connect] 版本 159.1.0.11430
此应用程序由其所有者授权给你。
Microsoft 对第三方程序包概不负责,也不向第三方程序包授予任何许可证。
已跳过依赖项。
正在下载 https://static3.cdn.ubi.com/orbit/launcher_installer/UbisoftConnectInstaller.exe
  ██████████████████████████████   219 MB /  219 MB
已成功验证安装程序哈希
已下载安装程序: D:\Dragon1573\Downloads\Ubisoft.Connect_159.1.0.11430\Ubisoft Connect_159.1.0.11430_Machine_X86_nullsoft_en-US.exe

Dragon1573 avatar Dec 27 '24 06:12 Dragon1573

I also have this issue with the hash verification. Then manually uninstalled and reinstalled the latest version from the ubisoft website, which is 159.0.11374.

Still shows me the update of 159.1.0.11430 which I can't upgrade to (output partially in german):

Starting package update operation for package id=Ubisoft.Connect with Manager name=Winget
Given installation options are <InstallationOptions: SkipHashCheck=False;InteractiveInstallation=True;RunAsAdministrator=False;Version=;Architecture=;InstallationScope=;InstallationScope=;CustomParameters=;RemoveDataOnUninstall=False>
Process Executable     : C:\Program Files\UniGetUI\Assets\Utilities\UniGetUI Elevator.exe
Process Call Arguments : "C:\Users\xxxxx\AppData\Local\Microsoft\WindowsApps\winget.exe"  update --id "Ubisoft.Connect" --exact --source winget --accept-source-agreements --disable-interactivity --interactive --include-unknown --accept-package-agreements --force
Working Directory      : C:\Users\xxxxx
Process Start Time     : 31.12.2024 22:23:18
Gefunden Ubisoft Connect [Ubisoft.Connect] Version 159.1.0.11430
Diese Anwendung wird von ihrem Besitzer an Sie lizenziert.
Microsoft ist nicht verantwortlich und erteilt keine Lizenzen für Pakete von Drittanbietern.
Download läuft https://static3.cdn.ubi.com/orbit/launcher_installer/UbisoftConnectInstaller.exe
█████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  76.0 MB /  244 MB
██████████████████████▒▒▒▒▒▒▒▒   182 MB /  244 MB
██████████████████████████████   244 MB /  244 MB
Der Installer-Hash stimmt nicht überein. Dies kann nicht außer Kraft gesetzt werden, wenn Sie ihn als Administrator ausführen.
Process Exit Code      : -1978335215
Process End Time       : 31.12.2024 22:23:29

By the way, I just noticed that @sebbu2 and me have the same file size (244 MB) but the one from @Dragon1573 differs (219 MB). Maybe the CDN is returning different installers for different regions (europe vs asia)?

xennialex avatar Dec 31 '24 21:12 xennialex

@AlexSchoenfeld Successfully reproduced with my proxy. I think it might be the reason.

08:55:41 D:\Workloads 2.191s pwsh$ winget download -s winget --skip-dependencies -e Ubisoft.Connect -v 159.1.0.11430
已找到 Ubisoft Connect [Ubisoft.Connect] 版本 159.1.0.11430
此应用程序由其所有者授权给你。
Microsoft 对第三方程序包概不负责,也不向第三方程序包授予任何许可证。
已跳过依赖项。
正在下载 https://static3.cdn.ubi.com/orbit/launcher_installer/UbisoftConnectInstaller.exe
  ██████████████████████████████   244 MB /  244 MB
安装程序哈希不匹配;若要重写此检查,请使用 --ignore-security-hash

08:57:37 D:\Workloads 0ms 0x8A150011 pwsh$ # ^^^^^ Clash for Windows v0.20.29 enabled, TUN Mode enabled, Global Mode enabled, "Germany A" Node (118.91.186.58)

08:58:51 D:\Workloads 0ms 0x8A150011 pwsh$ # vvvvv Clash for Windows v0.20.29 enabled, TUN Mode enabled, Global Mode enabled, "Taiwan A, China" Node (103.127.219.14)

09:00:12 D:\Workloads 0ms 0x8A150011 pwsh$ winget download -s winget --skip-dependencies -e Ubisoft.Connect -v 159.1.0.11430
已找到 Ubisoft Connect [Ubisoft.Connect] 版本 159.1.0.11430
此应用程序由其所有者授权给你。
Microsoft 对第三方程序包概不负责,也不向第三方程序包授予任何许可证。
已跳过依赖项。
正在下载 https://static3.cdn.ubi.com/orbit/launcher_installer/UbisoftConnectInstaller.exe
  ██████████████████████████████   219 MB /  219 MB
已成功验证安装程序哈希
已下载安装程序: D:\Dragon1573\Downloads\Ubisoft.Connect_159.1.0.11430\Ubisoft Connect_159.1.0.11430_Machine_X86_nullsoft_en-US.exe

Dragon1573 avatar Jan 01 '25 01:01 Dragon1573

Hash Missmatch is still a thing for EU.

Starting package install operation for package id=Ubisoft.Connect with Manager name=Winget
Given installation options are <InstallationOptions: SkipHashCheck=False;InteractiveInstallation=False;RunAsAdministrator=False;Version=;Architecture=;InstallationScope=;InstallationScope=;CustomParameters=;RemoveDataOnUninstall=False>
Process Executable     : C:\Program Files\UniGetUI\Assets\Utilities\UniGetUI Elevator.exe
Process Call Arguments : "C:\Users\XXX\AppData\Local\Microsoft\WindowsApps\winget.exe"  install --id "Ubisoft.Connect" --exact --source winget --accept-source-agreements --disable-interactivity --silent --accept-package-agreements --force
Working Directory      : C:\Users\XXX
Process Start Time     : 24/01/2025 22:04:07
██████████████████▒▒▒▒▒▒▒▒▒▒▒▒  1024 KB / 1.58 MB
██████████████████████████████  1.58 MB / 1.58 MB
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  0%
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  0%
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  1%
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  2%
█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  5%
█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  6%
██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  7%
██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  8%
██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  9%
███▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  10%
███▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  12%
███▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  13%
████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  14%
████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  16%
█████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  17%
█████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  18%
█████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  19%
██████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  20%
██████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  21%
██████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  22%
███████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  24%
██████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  36%
███████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  38%
███████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  39%
████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  40%
████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  41%
████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  42%
████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  43%
█████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  44%
█████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  45%
█████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  46%
██████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  47%
██████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  48%
██████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  49%
███████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  50%
███████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  51%
███████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  52%
███████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  53%
████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒  54%
████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒  55%
████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒  56%
█████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒  56%
██████████████████▒▒▒▒▒▒▒▒▒▒▒▒  62%
███████████████████▒▒▒▒▒▒▒▒▒▒▒  65%
███████████████████████▒▒▒▒▒▒▒  78%
█████████████████████████████▒  99%
█████████████████████████████▒  99%
██████████████████████████████  100%
Found Ubisoft Connect [Ubisoft.Connect] Version 159.1.0.11430
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://static3.cdn.ubi.com/orbit/launcher_installer/UbisoftConnectInstaller.exe
███▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  25.0 MB /  244 MB
██████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  53.0 MB /  244 MB
██████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  85.0 MB /  244 MB
██████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒   116 MB /  244 MB
██████████████████▒▒▒▒▒▒▒▒▒▒▒▒   147 MB /  244 MB
█████████████████████▒▒▒▒▒▒▒▒▒   178 MB /  244 MB
█████████████████████████▒▒▒▒▒   206 MB /  244 MB
████████████████████████████▒▒   232 MB /  244 MB
██████████████████████████████   244 MB /  244 MB
Installer hash does not match; this cannot be overridden when running as admin
Process Exit Code      : -1978335215
Process End Time       : 24/01/2025 22:04:27

JunZuloo avatar Jan 24 '25 21:01 JunZuloo

Also seeing this, no way around it!

PS C:\Users\ianwi> winget install --id "Ubisoft.Connect" --exact --source winget --accept-source-agreements --disable-interactivity --silent --accept-package-agreements --force --ignore-security-hash
Found Ubisoft Connect [Ubisoft.Connect] Version 162.0.0.11687
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://static3.cdn.ubi.com/orbit/launcher_installer/UbisoftConnectInstaller.exe
  ██████████████████████████████   228 MB /  228 MB
Installer hash does not match; proceeding due to --ignore-security-hash
Starting package install...
The installer will request to run as administrator, expect a prompt.
Installer failed with exit code: 2

ianwinter avatar Mar 14 '25 16:03 ianwinter

PS C:\Users\xxxx> winget install -e --id Ubisoft.Connect --force --ignore-security-hash Found Ubisoft Connect [Ubisoft.Connect] Version 163.1.0.12222 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://static3.cdn.ubi.com/orbit/launcher_installer/UbisoftConnectInstaller.exe ██████████████████████████████ 228 MB / 228 MB Installer hash does not match; this cannot be overridden when running as admin

calvinwonghk avatar May 08 '25 14:05 calvinwonghk

✅ Manually verified.

23:10:08 D:\...\winget-pkgs  [master ≡] 0ms pwsh
$ komac show --installer-manifest Ubisoft.Connect -v 163.1.0.12222 |
> ConvertFrom-Yaml |
> Select-Object -ExpandProperty Installers |
> ForEach-Object -Process {
>   Select-Object -InputObject $_ -Property `
>     @{ Name = "InstallerSha256"; Expression = { $_.InstallerSha256.ToUpper() } }
> }

InstallerSha256
---------------
BDACD76A6DC11B9817CC7E3BC6335ADE9B8099AB23E67F5C62640D5A47565242

23:10:23 D:\...\winget-pkgs  [master ≡] 2.26s pwsh
$ winget download --skip-dependencies --ignore-security-hash -e Ubisoft.Connect -v 163.1.0.12222
已找到 Ubisoft Connect [Ubisoft.Connect] 版本 163.1.0.12222
此应用程序由其所有者授权给你。
Microsoft 对第三方程序包概不负责,也不向第三方程序包授予任何许可证。
已跳过依赖项。
正在下载 https://static3.cdn.ubi.com/orbit/launcher_installer/UbisoftConnectInstaller.exe
  ██████████████████████████████   228 MB /  228 MB
安装程序哈希不匹配;由于 --ignore-security-hash 而继续进行
已下载安装程序: C:\Users\Dragon1573\Downloads\Ubisoft.Connect_163.1.0.12222\Ubisoft Connect_163.1.0.12222_Machine_X86_nullsoft_en-US.exe

23:10:47 D:\...\winget-pkgs  [master ≡] 1.781s pwsh
$ winget hash "C:\Users\Dragon1573\Downloads\Ubisoft.Connect_163.1.0.12222\Ubisoft Connect_163.1.0.12222_Machine_X86_nullsoft_en-US.exe" |
> ConvertFrom-StringData -Delimiter ":" |
> Select-Object -Property @{ Name = "InstallerSha256"; Expression = { $_.InstallerSha256.ToUpper() } }

InstallerSha256
---------------
B8A2C0439CAF2D524F67F29C9FB4A7F6B2427DED37CB5B9285E3B4514958CC10

[!WARNING]

The downloaded file with Sha256 suffix 58CC10 is incomplete. 😕

Image

Dragon1573 avatar May 09 '25 15:05 Dragon1573