How to install windows service on windows 7 and vista by disabling user account control or some other way
Posted on 2010-09-08
I really need your help in the my problem.
I developed a windows service based on .net framework 2.0. Till now I tested it on windows XP. Now it is ready to go to production. So eventually I need to test it on other windows versions also right. So I tried to test on windows 7.
I use batch file to execute my installation files(.exe, .dll etc). So when try it on windows 7, it is not allowing me to install. The error I am getting is:
Access to the path C:\Windows\Microsoft.NET\Framework\v2.0.50727\InstallUtil.InstallLog is denied
The problem I figured is User Account Control. How can I add my application as an exception to user account control or what is the other way to do it.
I guess I am going to face same kind of problem in windows vista also.
I developed my windows service in C# using .NET Framework 2.0
I really need it as soon as possible. Thanks guys for your help.