NASM is not added to path when installed
Brief description of your issue
When installing NASM, it is not added to the path.
Steps to reproduce
winget install -e --id NASM.NASM- Investigate the path environment variable to see if NASM is there
Expected behavior
- NASM is installed
- NASM is added to path
Actual behavior
- NASM is installed
- NASM is not added to path
Environment
Windows Package Manager v1.3.2091
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.22000.795
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.18.2091.0
Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
Links
---------------------------------------------------------------------------
Privacy Statement https://aka.ms/winget-privacy
License Agreement https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale
@Stadly unless NASM.NASM is a portable package, the installer would be responsible for adding the package to the path. If it is adding it to the path, restarting the terminal would be necessary to get the environment variables refreshed for that session.
This is very much related to #2453 and my subsequent response regarding what the NASM installer actually does. Because winget doesn't explicitly control the default install location, and the fact that users may be able to override install locations with the --location flag if the installer supports it, this is the responsibility of the NASM team to implement into their installer
@denelon - Beat me by seconds again!!
This seems to be an old issue: https://bugzilla.nasm.us/show_bug.cgi?id=3392224