Important: Please read the 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


    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