windows-installer
windows-installer copied to clipboard
Set UAC Execution Level
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.
Looking for the same option
Same to me.
any solution to this?
any solution?
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.