Skip to content

Windows nightly installer does not update %PATH% #17570

Closed
@iliekturtles

Description

@iliekturtles

The Rust nightly Windows installer, rust-nightly-i686-w64-mingw32.exe adds C:\Program Files (x86)\Rust\bin to the current user's path. Because the installer immediately requests to be elevated upon execution this will be an administrator that may not be the original user who ran the installer.

Because the installer defaults to Program Files (x86) I believe that the installer should update the system path as this is generally expected for Windows programs that require an elevated installer. I will submit a patch to make this change shortly.

If it is still desired to change the current user's path I suggest making this an option. I did some brief research on how to get the setup application to make changes for the current user, but didn't see any quick fixes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions