Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Installer Framework - "Cannot write maintenance tool" installing as Administrator on Windows
Michael A. Leonetti last edited by
I'm trying to get the Installer Framework to install into the Program Files directory. In the global config I have the target directory set as such:
The package for it asks for admin rights:
When it installs it asks for admin privileges and does so well. But in the last step it fails writing the maintenance tool. I'm assuming it probably dropped admin rights and is trying to install the maintenance utility into the same directory but failing. When I run the installer with admin privileges it installs fine.
Is there a way to force the maintenance tool to be installed with admin privileges as well or at the very least force the entire installer to be run with admin privileges? The people who will be installing it may not be user savvy enough to understand how to make it run with admin privileges.
toushi last edited by
@michael-a-leonetti , I also encounter this problem, did you find solution? thanks!