如何在Vista上启动c#3.5窗口服务 [英] how to start c# 3.5 window service on Vista

查看:55
本文介绍了如何在Vista上启动c#3.5窗口服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我已经创建了窗口服务.如何在Vista上安装它.

谢谢
Seema

Hi,
I have created window service. How could I install it on Vista.

Thanks
Seema

推荐答案

您必须在window services解决方案中添加一个安装程序项目,然后有两种安装方法:

0)使用.Net框架随附的InstallUtil.exe实用工具

1)使服务在您运行exe的地方自行安装,然后自行安装.

您可以使用Google来找到有关每种技术的更多信息.
You have to add an installer project in the window services solution, and then you have two ways to install it:

0) Use the InstallUtil.exe utility fromvided with the .Net framework

1) Make the service self-installing where you run the exe and it installs itself.

You can use google to find out more about each technique.


尝试以管理员身份运行服务,如
Try to run the service as an administrator as shown here[^].


这篇关于如何在Vista上启动c#3.5窗口服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆