Question

I have RequestExecutionLevel user at the start, because usually I install on user level.

But I want to change it afterwards, if some condition is detected, to admin. Is this possible?

Était-ce utile?

La solution

The execution level (Integrity Level) of a Windows process is determined when the process starts and cannot be changed after the process has started.

While it might be possible to use the UAC plugin to get around this, I would actually recommend that you use RequestExecutionLevel highest and gray out whatever option that requires admin rights for standard users...

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top