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

Installer Hash mismatch #6

Closed
sschmocker opened this issue Mar 28, 2022 · 10 comments · Fixed by #19
Closed

Installer Hash mismatch #6

sschmocker opened this issue Mar 28, 2022 · 10 comments · Fixed by #19
Labels
enhancement New feature or request

Comments

@sschmocker
Copy link

If there is a mismatch with the installer, then the app does not install.
Is there a option to add the "--force" command to the install command in intune?

This bug has already been stated here:
microsoft/winget-cli#714

@Romanitho
Copy link
Owner

For security reasons, i'm not a big fan of the --force option. But we can add an option anyway for those that want to use it :)

@Romanitho Romanitho added the enhancement New feature or request label Mar 28, 2022
@Romanitho Romanitho linked a pull request Apr 11, 2022 that will close this issue
@Romanitho
Copy link
Owner

You may now use the --force option ;)

@ztrhgf
Copy link

ztrhgf commented Oct 24, 2022

I get the same error for Ghisler.TotalCommander. It is because the latest version 10.51. The previous 10.50 works fine...

@Romanitho
Copy link
Owner

even with --force ?

@ztrhgf
Copy link

ztrhgf commented Oct 24, 2022

Yes, force didn't help. I suppose its because I am running this as an admin.

@FaserF
Copy link
Contributor

FaserF commented Oct 28, 2022

can confirm. I get the same issue when trying to install TeamViewer/Teamviewer Host. Even with --force

@Romanitho
Copy link
Owner

C:\Users\WDAGUtilityAccount>winget install TeamViewer.TeamViewer --force
Found TeamViewer [TeamViewer.TeamViewer] Version 15.34.4
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://download.teamviewer.com/download/TeamViewer_Setup_x64.exe
  ██████████████████████████████  43.8 MB / 43.8 MB
Installer hash does not match; this cannot be overridden when running as admin

You have now the answer on the last line 😇

@Romanitho
Copy link
Owner

Romanitho commented Oct 28, 2022

Winget limitation, not our scripts.
microsoft/winget-cli#715

@FaserF
Copy link
Contributor

FaserF commented Oct 28, 2022

thanks, will wait for a fix within winget then :)

@Romanitho
Copy link
Owner

For teamviewer, I would even suggest you to use it as a "normal" package. I think there installers always point to the same URL. So obviously SHA will change each time they release a new version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants