V2 How to require admin permissions #13850
-
Hello, Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
For windows for you can do this #4201 |
Beta Was this translation helpful? Give feedback.
-
ok, thanks, I've added a manifest and required admin but this is not user friendly. Is there no way to copy it to "Program Files" and run it with special permissions but without admin needs? |
Beta Was this translation helpful? Give feedback.
the install location doesn't matter - if you use the .msi installer it'll be installed there as well.
you could do something like moving the privileged stuff into a second binary (this is recommended over having the whole app require admin anyway) and register that as a Service (iirc gui apps can't be registered).
what would those permissions be? i can only think about normal user and admin permissions - what do you require for your usecase?