简体   繁体   English

将Quartz安装为Windows服务

[英]install Quartz as windows service

I'm using Quartz server as a windows service to schedule a task. 我正在使用Quartz服务器作为Windows服务来计划任务。 I want Quartz server to be part of Visual studio installer project. 我希望Quartz服务器成为Visual Studio安装程序项目的一部分。 I have created a custom action for QuartzServer.exe but it is not getting installed as a Service with setup execution. 我已经为QuartzServer.exe创建了一个自定义动作,但是它没有通过安装执行作为服务安装。 How to accomplish this? 如何做到这一点?

Quartz Server Windows Service is based on topshelf so topshelf uses its own framework commands to install windows services.following link explains mechanism that can be used to integrate with MSI installer Quartz Server Windows Service基于topshelf,因此topshelf使用其自己的框架命令来安装Windows服务。下面的链接说明了可用于与MSI安装程序集成的机制

http://www.bjoernrochel.de/2010/01/09/how-to-integrate-a-topshelf-based-service-with-vs-setup-projects/ http://www.bjoernrochel.de/2010/01/09/how-to-integrate-a-topshelf-based-service-with-vs-setup-projects/

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM