Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

IFW 4 installer.gainAdminRights()



  • Documentation states gainAdminRights() returns true when successful. However, when canceling the UAC dialog, I would expect it returns false but it displays a critical messageBox

    fb724f24-e7b5-4f5b-bdd0-092882a8e5c7-image.png

    Pressing OK delays for 30 sec before bringing up Windows exception debug dialog and closing installer.

    I expect if a user clicks no on the UAC gainAdminRights() would return false so the developer can handle it. Is this a bug?


Log in to reply