By specifying the UAC level in the manifest, the program will trigger a UAC prompt upon launch. Thus the helper will launch with administrator privileges:
We initially added the UAC level to the helper, however the way how helper.exe is launched does not allow the UAC prompt to pop up^1. Using alternative APIs can resolve this, but it would require a rewrite to apply the workaround, namely QProcess::startDetached(), which launches a new process that can not be managed by QProcess.
By specifying the UAC level in the manifest, the program will trigger a UAC prompt upon launch. Thus the helper will launch with administrator privileges:
We initially added the UAC level to the helper, however the way how
helper.exe
is launched does not allow the UAC prompt to pop up^1. Using alternative APIs can resolve this, but it would require a rewrite to apply the workaround, namelyQProcess::startDetached()
, which launches a new process that can not be managed byQProcess
.