Joshua
Joshua

Reputation: 277

Show/Add Administrator overlay icon to Inno Setup installer?

I wanna know how to add Administrator overlay icon to my Inno Setup installers.

Like on this image:

enter image description here

Upvotes: 0

Views: 424

Answers (1)

Martin Prikryl
Martin Prikryl

Reputation: 202088

I do not think this is possible.

The icon is added for applications that have requireAdministrator (or maybe highestAvailable) execution level set in their manifests:

<requestedExecutionLevel level="requireAdministrator" uiAccess="false"/>

Inno Setup installers do not have that set. They elevate themselves internally, instead of relying on system to do that for them.


Interestingly, there is UpdateManifestRequestedExecutionLevel function in Inno Setup code that does this, but it's never called.

Upvotes: 2

Related Questions