-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Package Issue]: Rustlang.Rust.MSVC does not install when scope is specified #153349
Comments
It seems there is no scope specified in the manifest because the installer is a There is an issue with the Wix compiler where when applications are installed in User scope the installer will write entries to HKLM, which is the registry for Machine-scoped applications, when it should be writing to HKCU. Because of this bug in Wix, specifying I'm not sure this can be fixed until the Wix compiler is updated |
Should some kind of error or informational message be presented when a user attempts to install a |
The thing is, it doesn't affect all Wix installers, just most of them. Some ISV's have implemented workarounds where they write their own ARP entries and suppress the ones that Wix adds. I think that perhaps |
Please confirm these before moving forward
Category of the issue
Installation issue.
Brief description of your issue
Rust installs to
C:\Program Files
much like various other packages, but can only be installed with no--scope
parameter specified.Please note that this seems to affect other Rust packages such as
Rustlang.Rustup
too.Steps to reproduce
winget install --scope machine Rustlang.Rust.MSVC
winget install --scope user Rustlang.Rust.MSVC
Actual behavior
The errer in the log appears to be:
Expected behavior
Installation should succeed, at least with
--scope machine
. Various other similar packages like7zip.7zip
work in this situation.Environment
Screenshots and Logs
No response
The text was updated successfully, but these errors were encountered: