使用桌面UI部署Windows服务 [英] Deploying windows service with desktop UI

查看:117
本文介绍了使用桌面UI部署Windows服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发了一个带有UI的Windows服务,用于管理服务和查看自定义日志。我们正在从使用Windows安装程序转移到Azure DevOps以部署服务但我仍然坚持如何将UI与服务一起部署,并为UI创建
桌面快捷方式。我的项目的解决方案有几个项目,其中包括窗口服务项目和几个支持类库项目。我可以在Pipeline Builds中构建整个东西,但创建Release,
我不知道如何创建我需要的桌面快捷方式,如果可能的话。我的问题是,如何让部署创建我需要的UI桌面快捷方式?这是设置为变量还是触发器,powershell等?

I developed a windows service with a UI that I use to manage the service and view a custom log. We are moving from using windows installer to Azure DevOps to deploy services with but I'm stuck on how to deploy the UI along with the service and to create the desktop shortcut for the UI. The solution to my project has several projects in it which includes the window service project and several supporting class library projects. I can get the whole thing to build within the Pipeline Builds but creating the Release, I'm not sure how to create the desktop shortcut that I need, if thats at all possible. My question is, how do i have the deploy create the desktop shortcut that i need to the UI? Is that set up as a variable or a trigger, powershell, etc. ?

非常感谢任何帮助。

谢谢,

George

推荐答案

HI,

你所使用的Windows服务已经提到是由您开发的还是由第三方提供的软件?

The windows service which you have mentioned is developed by you or is that a software provided by a third party?

这是一个Windows桌面应用程序吗?

Is that a windows desktop application?

我希望你是寻找一种通过azure devops部署软件(Windows服务)的方法。

I hope you are looking for a way to deploy the software(windows service) with code via azure devops.

如果我错了,请纠正我


这篇关于使用桌面UI部署Windows服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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