Introduce a parameter for New-WtWingetPackage to ignore Hash mismatch #122
Replies: 3 comments 1 reply
-
You have to convince me with a lot of valid arguments. I won't be accepting a PR on this without valid reasons. Checking the hash with the one in the WinGet repository is to make sure that the installer is not changed somewhere in between. If WinTuner would allow skipping the hash you will put all the users in your tenant at risk. The installer no longer matches the hash, this often happens if vendors re-use a single url for the installer and update the installer. WinGet considers this bad practice. This is the only reason why there might be a mismatch, and the vendor (or package maintainer) should just fix the package in WinGet. Do you have any good arguments to allow skipping the hash validation? |
Beta Was this translation helpful? Give feedback.
-
Hello, you got the point, for the package TrackerSoftware.PDF-XChangePRO the vendor re-uses the link for every new version. The link defined in winget is https://downloads.pdf-xchange.com/ProV10.x64.msi for the version 10.4.0.388, but actually the msi is related to the version 10.4.1.389. This is a bad practice, I know....I also tried to use the parameter "PackageScript" to be able to create a package and trigger winget client side, but winget is failing for the same reason.... |
Beta Was this translation helpful? Give feedback.
-
yes, correct, no static link...I understand your concerns, I will close this discussion and will manage this software in a different way. Thank you so much for your amazing work ;-) |
Beta Was this translation helpful? Give feedback.
-
Hello, it will be nice to have a parameter to skip the hash mismatch error if we know that we can ignore it. Thank you in advance
Beta Was this translation helpful? Give feedback.
All reactions