Installer requires the current user level instead of always admin level#79
Installer requires the current user level instead of always admin level#79
Conversation
|
CC @aetrnm, could you try the new installer after the CI completes compilation and give some feedback? It currently has a known issue where the default installation path is incorrect and you need to manually change it to a directory that you have permission to write to. This will be fixed when the upstream MR (that Blocked By link) is merged. |
|
Oh, I'm sorry. I mentioned the wrong person. I should CC @amwihgu. |
Hello, |
Closes #77.
We use an undocumented option
CPACK_NSIS_DEFINESto override the value ofRequestExecutionLevelashighest, which causes the generated installer to ask admin privilege for admin users and normal user privilege for standard users.This undocumented option conflicts with
CPACK_COMPONENTS_ALL(https://cmake.org/Bug/view.php?id=14522)Blocked by https://gitlab.kitware.com/cmake/cmake/-/merge_requests/8767
CPack/NSIS currently has a bug that sets
C:\Program Files (x86)as the default installation path for standard users, who does not have write access to this path.