Hi Hanspeter,

> I have 2 different setup types (controlled by a custom compiler
> variable - One is for initial Setup with UAC asAdministrator and
> the other for updates with UAC asInvoker)
>
> Is it possible to set the UAC Execution depending the value of this
> variable?

Please try #pragma

UACLEVEL - Programmatically set the "UAC Execution Level" Generator Setting.
Set Value to 1 to define 'asInvoker'. Set Value to 2 to define
'highestAvailable'. Set Value to 3 to define 'requireAdministrator'.

Does this work?

Friedrich