[X] I have verified this is the correct repository for opening this issue.
[X] I have verified no other issues exist related to my problem.
[X] I have verified this is not an issue for a specific package.
[X] I have verified this issue is not security related.
[X] I confirm I am using official, and not unofficial, or modified, Chocolatey products.
What You Are Seeing?
When using the 'chocolateyDownloadUrl' environment variable to target a specific chocolatey package (below 2.x in this case), the .NET framework check defined here still triggers since it isnt specifying an exact version.
However the bootstrap script from Chocolatey that is invoked by default will IGNORE the download url variable if the version is specified, so this check cannot be circumvented.
What is Expected?
Using the chocolateyDownloadUrl env variable should prevent the .NET check from triggering, since it implies a specific version is being targeted.
How Did You Get This To Happen?
Install Chocolatey from a specific source using the following:
No additional packages are being installed since this is the actual Chocolatey installation
Output Log
fatal: [default]: FAILED! => {"changed": false, "command": "", "msg": "Chocolatey 2.0.0 requires .NET Framework 4.8 or higher to be installed. Please install .NET Framework 4.8 or higher and try again, or specify a 1.x version of Chocolatey to install.", "rc": 0}
Checklist
What You Are Seeing?
When using the 'chocolateyDownloadUrl' environment variable to target a specific chocolatey package (below 2.x in this case), the .NET framework check defined here still triggers since it isnt specifying an exact version.
However the bootstrap script from Chocolatey that is invoked by default will IGNORE the download url variable if the version is specified, so this check cannot be circumvented.
What is Expected?
Using the chocolateyDownloadUrl env variable should prevent the .NET check from triggering, since it implies a specific version is being targeted.
How Did You Get This To Happen?
System Details
Installed Packages
Output Log
Additional Context
No response