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
↧