0

I have created setup.exe and msi for that, using visual studio 2013 installer project. Setup.exe installs perfectly fine however my application created in program file(X86) will not launch in admin mode by default. Is there any setting i need to do in installer project.

update: My .msi runs in admin mode i have added launch condition for this.

1 Answer 1

1

Add a app.manifest in your project and change the following line in app.manifest file:

<requestedExecutionLevel level="requireAdministrator" uiAccess="false" /> 
Sign up to request clarification or add additional context in comments.

2 Comments

Created Manifest as you said and registered with mt.exe worked for me thank you!!
just to add..you can do it by editing registry as well>> codeproject.com/Articles/66259/…

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.