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
We don't need admin rights on windows, so we should make the installer not require those.
It should be possible by setting
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
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