Pregunta

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!

¿Fue útil?

Solución

Add app.manifest to your exe project and set following

<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top