windows-installer icon indicating copy to clipboard operation
windows-installer copied to clipboard

Set UAC Execution Level

Open bentatham opened this issue 6 years ago • 5 comments

I'm not 100% sure if this isn't possible now, but I can't find it. In our electron app, we are using a native library that requires settings the UAC Execution Level to Administrator. (For the moment, we are testing this by right-clicking on the exe and running as administrator directly). We would like this to be baked into the manifest of the exe. I'm not sure if this can be done via nuspec or not.

Is this currently possible with windows-installer electronWinstalerConfig? If not, what would it take to add it -- with some initial guidance I would be willing to have a go at adding it.

bentatham avatar Nov 23 '18 19:11 bentatham

Looking for the same option

storm1er avatar Mar 02 '19 15:03 storm1er

Same to me.

gogomarine avatar Jul 01 '19 05:07 gogomarine

any solution to this?

sudhirjangir avatar Aug 13 '20 11:08 sudhirjangir

any solution?

MrSharpp avatar Aug 04 '22 14:08 MrSharpp

This is not typically possible because this will break Squirrel.Windows. You could technically make an app that is elevated-by-default, then make a helper EXE that sets up shortcuts for you, but to be honest, you would do better to either put your UAC operations into a separate helper EXE, or use a different installer.

anaisbetts avatar Aug 04 '22 15:08 anaisbetts