Qt 6.12 LTS is out! See what's new in the release
blog
Permission issue with installed app on windows
Installation and Deployment
4
Posts
3
Posters
3.2k
Views
1
Watching
-
I am not sure if this is a Qt or NSIS question, maybe a bit of both?
I have an installed app and the exe does not have permissions to create a file in it's installation folder (within program files). Is this something I can get around in Qt or does anyone know how I would go about solving this?
Thanks.
-
The user executing the program need the rights to write into that directory. Most probably you need admin privileges to do so. There are no Qt builtin means to extend privileges, you will have to resort to windows specific APIs to achieve this.
-
Ok, that is good to know. Guess it is time to move my data files off to the users home directory. Thanks.