0

I have a solution in visual studio with two project, windows service in .NET 4.0 and a GUI in .net 4.5 , i moved the service to .net 4.0 so i could use visual studio 2010 setup project and just move the files in setup.

The install process succeed but when i run the UI files the program crush , i find out that it's working if i run the UI as Administrator , but the project manifest does not require it and the compile files before the setup work fine and i need it to be able to run by any user, how can i fix that ?

user1120007
  • 268
  • 3
  • 13

1 Answers1

0

So let me see if I understand - You tried to open your project in VS2010 instead of VS2012, to create a setup file, that requires an Admin Permission. If so, you have to put this line in your manifest file:

<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />

I think this thread can easily answer your question.

Community
  • 1
  • 1
albeck
  • 510
  • 1
  • 7
  • 16
  • not quite , the service installed properly but i have a precompiled files that need to run without admin permission but now they require it – user1120007 Jul 07 '13 at 04:40