简体   繁体   English

如何从Visual Studio 2008中制作Windows Service安装程序?

[英]How do I make a windows service installer from visual studio 2008?

如何从Visual Studio 2008中制作Windows Service安装程序?

Here's the Microsoft KB that gives you the steps: 这是为您提供步骤的Microsoft KB:

http://support.microsoft.com/kb/317421 http://support.microsoft.com/kb/317421

If you're looking for something particular, please update your question with some more details. 如果您正在寻找特殊的东西,请使用更多详细信息更新您的问题。

If you're using C#, follow the solution I posted here beginning at step #6. 如果您使用的是C#,请遵循我在此处从步骤6开始发布的解决方案。 And if you're interested in how to have the Windows service install itself (as opposed to using InstallUtil.exe), follow the solution posted here (kudos to Marc Gravell for this idea). 并且,如果您对如何自行安装Windows服务感兴趣(而不是使用InstallUtil.exe),请遵循此处发布的解决方案(此想法对Marc Gravell表示敬意 )。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用 Visual Studio 安装程序项目安装 .NET 6 Windows 服务(Worker Service)? - How do you install a .NET 6 Windows Service (Worker Service) using a Visual Studio Installer project? 如何使用Visual Studio为.net Windows服务创建安装程序 - How to create an installer for a .net Windows Service using Visual Studio 使用Visual Studio创建安装程序-如何控制文件结构? - Creating an installer with Visual Studio - How do I control the file structure? 如何在Visual Studio 2008调试器中查看GUID的值? - How do I see the value of a GUID in the Visual Studio 2008 debugger? 你如何制作一个非常好的安装程序,如Visual Studio? - How do you make a really nice installer like Visual Studio's? 如何在Visual Studio中制作具有多个可执行文件的安装程序包 - How to make installer package with multiple executables in Visual Studio 如何使Visual Studio 2005调用WCF服务? - How can I make Visual Studio 2005 call a WCF service? Visual Studio添加缺少服务的安装程序 - Visual Studio Add Installer For Service Missing 如何使Visual Studio的Windows窗体设计器不会删除控件? - How do I keep Visual Studio's Windows Forms Designer from deleting controls? 如何在 Visual Studio 中调试 Windows PowerShell 模块? - How do I debug a Windows PowerShell module in Visual Studio?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM