Quantcast
Channel: Installation and Deployment
Viewing all articles
Browse latest Browse all 22112

Administrator permissions required

$
0
0
Hi! I’m trying to make an updater for my application. I’m searching for a way, how to change permissions on .dll (Windows) files, so that they can be changed without administrator privileges ( program update might one day require to update .dll file). I tried setting file permissions (QFile::setPermissions) with administrator permissions, but operation failed. I can download file and write it to hard drive, but later I cannot delete it or rename it… ( Typical Windows thing since Vista) How do other installers/updaters have this problem solved? Another this is, why does a program also need administrator privileges as soon as network module is added to project? Is there a way to use normal permissions? On Windows OS, there is usually only firewall warning. Regards, Jake

Viewing all articles
Browse latest Browse all 22112

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>