Skip to content

Windows installer launches GUI as Admin #7990

@Michagogo

Description

@Michagogo

When installing the GUI with the Windows installer, there's a checkbox at the end of the process that launches the software. However, when the installer launches a process, it runs at the same Integrity Level (privilege) as the installer. As the installer is, well, installing software, it needs to run at the High (elevated/admin) privilege/Integrity Level, and hence the node/GUI will be launched at that same level. I've confirmed this using Sysinternals Process Explorer -- launching Bitcoin Core from the Start menu results in an Integrity Level of Medium, as expected, while closing the installer without deselecting the checkbox results in the process being started at the High level.

A quick search does turn up ways to work around the issue (such as this plugin in combination with this trick), but I wonder if we really need that checkbox there at all. I know nothing about NSIS and how easy that is (what a plugin is, what would be involved in using it, or what other ways there are to do the same thing, etc.), but it seems to me that if it's not trivial to fix this we may as well just drop the box altogether.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions