Skip to content

Make windows installer not require admin #57

Description

@orting

We don't need admin rights on windows, so we should make the installer not require those.
It should be possible by setting

RequestExecutionLevel user

In the .nsi file. However, this is generated by CPack which sets it to admin. One option is to get CPack to do the right thing using

set(CPACK_NSIS_DEFINES "RequestExecutionLevel user")

However this does not seem to work. Further reading
https://stackoverflow.com/a/26223567
https://gitlab.kitware.com/cmake/cmake/-/issues/14522

Another option is to change the nsi template. Start here https://stackoverflow.com/a/9953744

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions