Frage

I have a C# application and I did create a setup project for it.
The tool is working fine and also the setup but I have only one problem which is I need to run the tool as admin every time I want to run it!

War es hilfreich?

Lösung

Add app.manifest to your exe project and set following

<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top