You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if you mean the installer, it already runs with highest possible permissions for perMachine installation (we will offer a perUser option, see #2319).
if you mean the app itself, you can't force it (at least not that I know of), the user has to run it as admin themselves. What you can do instead is instruct your users in README.md or similar to run as admin, maybe detect if the app is not admin and show them a dialog to with a button restart as admin using win32 API ShellExecuteW with runas as the operation or use powershell cmdlet Start-Process with -Verb runas.
Describe the problem
i want run my app with administrator default but i no found documment how to do it.
Describe the solution you'd like
add config to setup requestedExecutionLevel.
Alternatives considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: