jberezanski / ChocolateyPackages

Chocolatey packages maintained by me
MIT License
83 stars 51 forks source link

.net framework 4.8.1 choco installer has a version conflict even though they match #153

Open Pxtl opened 3 weeks ago

Pxtl commented 3 weeks ago

It's confusing but microsoft has changed the version of .NET Framework 4.8.1 installer even though they have the same version.

Obviously this is only a problem if you install your choco package when you've already got 4.8.1 installed from MS, but the idempotence of Chocolatey is very nice and the fact that it can't successfully mark the package as installed is annoying.

If I download the latest NDP481-DevPack-ENU.exe from https://dotnet.microsoft.com/en-us/download/dotnet-framework/net481

I get an installer of size 103492264

But if I download it through your choco package, I get

C:\Users\zaratem\AppData\Local\Temp\chocolatey\netfx-4.8.1-devpack\4.8.1.0\ndp481-devpack-enu.exe

of size 89411376

Although my reported installed version of .NET framework full is 4.8.09037

and the log in the chocolatey installer reports that it's installing version 4.8.9037.0... but it fails with exit code 0x666 (how dramatic) this is some weird indicator from the registry that's package-based nevermind.

Here's the installer log from the chocolatey version of the exe:

netfx-4.8.1-devpack_4.8.1_20240612190226.log

Here's the installer log from the newer version of the exe:

netfx-4.8.1-devpack_4.8.1_20240612192230.log

edit:

Diffing, it looks like Chocolatey has "release" 533325, where the MS site has "release" 533483