rakhy_rakey
asked on
How to install windows service on windows 7 and vista by disabling user account control or some other way
Hey guys..
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\F ramework\v 2.0.50727\ InstallUti l.InstallL og 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.
Rakhy...
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\F
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.
Rakhy...
ASKER
Thanks for the reply...I will try to change the directory permissions.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
hey I got the answer for this one.
I use microsoft visual studio to build msi set up file. And I used commands to for silent installation. It worked fine in vista and 7. But all we need to do is, we need administrative previleges.
Thanks guys for help..
Rakhy...
I use microsoft visual studio to build msi set up file. And I used commands to for silent installation. It worked fine in vista and 7. But all we need to do is, we need administrative previleges.
Thanks guys for help..
Rakhy...
You tell all you need is administrative privileges.
Maybe you could accept my pervious comment as the answer, instead of just closing the question.
Maybe you could accept my pervious comment as the answer, instead of just closing the question.
Hi there, I would think that both my comments provided some help to the solution:
http:#a33632994
http:#a33634106
http:#a33632994
http:#a33634106
http://technet.microsoft.com/en-us/library/cc709691(WS.10).aspx
But I don't think it will allow you to automate your install. Can you automate changing the directory permissions to everyone/full control for that log file?