meganz / MEGAsync

Easy automated syncing between your computers and your MEGA Cloud Drive
Other
1.58k stars 278 forks source link

Install using WinGet: Installer hash does not match. #830

Open minhtaile2712 opened 10 months ago

minhtaile2712 commented 10 months ago

As the title says, I'm using WinGet command winget install Mega.MEGASync to install. It says "Installer hash does not match". Please fix this or show me how I can contribute.

SJai-mega commented 10 months ago

Hello,

Can you please try the following command: winget install -e --id Mega.MEGASync

Please also let us know what version you are trying to install and on what platform? Thanks!

minhtaile2712 commented 10 months ago

@SJai-mega I tried your solution. The issue still occurred unfortunately. It said:

Found MEGAsync [Mega.MEGASync] Version 4.9.5.0
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://mega.nz/MEGAsyncSetup64.exe
  ██████████████████████████████  53.1 MB / 53.1 MB
Installer hash does not match.

I'm using:

Edition Windows 11 Pro
Version 22H2
Installed on    ‎14/‎08/‎2023
OS build    22621.2134
Experience  Windows Feature Experience Pack 1000.22659.1000.0

I'm able to install many applications using winget, but have no luck for MEGAsync.

Shak1990 commented 6 months ago

@SJai-mega I found the root problem with MegaSync and Winget It is because when you install MegaSync there is no version indicator of the app as you can see in the image below every app in the add or remove program menu has a version. This is why Winget tells me there is a new MegaSync update version 4.10 when I already have 4.11 installed.

image

Shak1990 commented 6 months ago

In addition to my previous comment here, you can look at WingetUI which is a UI app for widgets:

image

minhtaile2712 commented 6 months ago

@Shak1990 I created this issue regarding freshly installing MEGAsync with winget, not updating it. Your comment is not relevant here.

lordlightman commented 4 months ago

@minhtaile2712, you can install winget package without the hash check via this command:

winget install --id Mega.MEGASync --ignore-security-hash

@SJai-mega, get it together and fix the hash issue. It has been 6 months since this issue was created and hash check still fails when installing the latest version 4.11.0.0.