The Raspberry Pi Imager is not installing
Describe the bug A clear and concise description of what the bug is. The Raspberry Pi Imager is not installing with error and got the same results after reinstall of winget To Reproduce Steps to reproduce the behavior:
- reinstall winget using button
- on verstion 24.02.03 of the script click the check box for Raspberry Pi Imager
- click install Selected
- see the error
Expected behavior uses WinGet to install Raspberry Pi Imager
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here. N/A
Hi i got the same on win 11 23h2 for whatever package...
In the winget-pkgs repository the package RaspberryPiFoundation.RaspberryPiImager's manifest doesn't specify the installation scope.
In the script the line that installs the packages is the following:
winget install -e --accept-source-agreements --accept-package-agreements --scope=machine --silent RaspberryPiFoundation.RaspberryPiImager
So maybe the restriction to --scope=machine cause RaspberryPiFoundation.RaspberryPiImager installation to fail.
The same error occurs in the issue #1494 with TorProject.TorBrowser, SomePythonThings.WingetUIStore, Nvidia.GeForceNow which do NOT specify the installer for the machine scope.
Other apps, like Google.Chrome or Mozilla.Firefox, specify the installer for the machine scope.
You can see which packages contains this by using the Github's search functionality:
This is the search string I used:
repo:microsoft/winget-pkgs path:/^manifests\/.*installer.yaml/ "Scope: machine" Package.Name
Imho this is the reason why the package will fail to install through the script.
nepnep.neofetch-win also has this problem
Closed due to inactivity