Domanda

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!

È stato utile?

Soluzione

Add app.manifest to your exe project and set following

<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top