Archive: Install without triggering UAC?


Install without triggering UAC?
Hey guys,
I'm guessing the answer is no, but is it possible to install a file in Vista, without triggering the UAC, if ran by an application that has already been given permission through the UAC?

For instance, App1 triggers an event which requires an install of a certain library, which should be invisible to the user. It's downloaded and installed in the background, with the user notified that they are ready to use the feature they want.

If there's a solution outside of NSIS you can point me to, that might work as well.

Thanks!


hmm...
Seems that RequestExecutionLevel should maybe offer a choice of "asInvoker". You might want to submit a feature request for this.

The only other way I would know how would be to somehow edit the embedded manifest of the compiled installation. Unfortunately, I have not been able to come up with any tool that helps you do that.

(Or, if your EXE doesn't require admin, then you could set ReqestExecutionLevel to "user". (Or you could use "highest", but that would still trigger the UAC prompt if the user were part of the admin group.)


Seems that RequestExecutionLevel should maybe offer a choice of "asInvoker". You might want to submit a feature request for this.
There is no need for a feature request:

"RequestExecutionLevel user" actually inserts "asInvoker" in the manifest.

ahh... Clever... That's good info, pengyou!
(This fact should be documented, but I didn't see it. Alas, that's probably another topic...)

@Spilly:
After I thought about your first post, I came up with some other points:

Hopefully, I made that clear as mud... ;)