Archive: RequestExecutionLevel in a section


RequestExecutionLevel in a section
Hi,
I need to make my setup with admin execution level on ly if some files aren't already installed.
But I see there's no way to change the RequestExecutionLevel in a section.
I read about UAC plug-in, is that safe to use.
Can it be what I really need?

Thanks a lot in advance
bye


RequestExecutionLevel is embedded in the executanle manifest so there's no way to change it at runtime without a plug-in.

I haven't used UAC plug-in but it should do the job and is definitely safe. Anders is a good guy. :)

Edit: I read the UAC plug-in page and it might not work after all. :confused:

PaR


Thanks for answering,
I'm trying to integrate the UAC plugin but it's not very clear to me how to use it.
Basically I just need to elevate to admin only if some files are not present, to then be able to copy them in restricted folders.

Is it possible with UAC plugin?
Thanks


it is possible, but its not pretty, and I'm not going to explain how to do it because it is such an ugly hack

maybe it would be better to just embed a little installer with admin manifest that installs those files and call that from your main installer