Open Stadly opened 2 years ago
This is actually an issue with NASM itself. When the publishers created the installer for NASM, they are not setting any Registry Entries in the Add & Remove Programs table. In other words, the NASM installer isn't registering that it has installed NASM. This isn't something that winget can do, since it is up to the publishers to register the components they install as part of their program.
I would recommend filing a bug report with the publishers of NASM and asking them to set the DisplayName, DisplayVersion, and Publisher registry keys when they install NASM. It should be very simple for them to do as they are using Nullsoft Installer System to compile their installer
Thanks for the detailed explanation! How can I contact the publishers? On the Chocolatey page they have a link to "Contact Maintainers", but I couldn't find such a thing on the winget page.
I'm not a Chocolatey expert, but I believe the maintainers would be the maintainers of the Chocolatey package which might not be the publisher. The WinGet community repository has a slightly different model where there aren't specific maintainers for the manifests. You may be able to use the package metadata to find a website which could lead to a contact page.
winget show nasm
displays https://www.nasm.us/
@Stadly I had the same issue with Rscript.exe, so issue is that it doesn't add executables to environment variables. Temporary powershell session fix (this path works for me, I hope you too):
$env:Path += ';C:\Users\{USERNAME}\AppData\Local\bin\NASM'
Or permanently with this kind of instructions: Control panel -> System -> About -> Advanced System Settings -> Environment Variables And add it to Path variable.
And again, here is powershell permanently instructions:
Set-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' -Name PATH -Value $env:Path
But do it very carefully.
I hope this can help somebody, since it almost 2 years from original Issue
Brief description of your issue
After installing NASM, it is not detected by
winget list
, and cannot be uninstalled bywinget uninstall
.Steps to reproduce
winget install -e --id NASM.NASM
winget list -e --id NASM.NASM
winget uninstall -e --id NASM.NASM
Expected behavior
Actual behavior
No installed package found matching input criteria.
No installed package found matching input criteria.
Environment