如何为基于 AppFabric/工作流的应用程序创建安装项目
我有兴趣为我们的业务应用程序创建一个设置工具,该工具基于 Windows 服务和一些 WF4 工作流程,当前托管在 IIS/AppFabric 中。
只要我想为客户提供尽可能最佳的安装体验,我就希望将 IIS 和 Appfabric 设置先决条件以及 WindowsService 应用程序包含到一个应用程序设置项目中。
有没有正确的方法来做到这一点?有人可以给我一些链接和/或提示吗?
此致, 克里斯
i am interested in creating a setup tool for our business application which is based on a Windows Service and some WF4 workflows, currently hosted in IIS/AppFabric.
As long as i want to provide the best possible installing experience to our customers, I want to include IIS and Appfabric Setup Prerequirements as well as a WindowsService application into one Application-Setup Project.
Is there a proper way of doing this? Can someone give me some Links and/or Tips?
best regards,
Chris
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
对于使用安装项目的客户端部署,我过去一直热衷于使用 WIX 和自动构建脚本(MSBuild 或 Nant)。它允许我灵活地编写 setup.exe 的构建脚本,允许我在部署之前进行所需的更改(连接字符串);使整个过程(无论环境[开发、生产、QC])可编写脚本并自动化。
对于部署工作流组件,它就像 xcopy 部署一样简单,与上面一样,可以轻松编写脚本并实现自动化。
For client deployment using a setup project, I've been a fan of using WIX and an automated build script (MSBuild or Nant) in the past. It allows me the flexibility to script the build of the setup.exe, allowing me to make the changes I need (connection strings) in advance of deploying; leaving the entire process (regardless of environment [dev, prod, QC]) scriptable and automated.
For deploying the workflow components, its as simple as xcopy deployment which, like the above, is easily scriptable and automatable.
标准方法是构建部署包并将其导入 IIS。使用 Web 部署,请参阅 http://go.microsoft.com/?linkid=9278654了解更多详情。
The standard approach is to build a Deployment Package and import that into IIS. Is uses Web Deploy, see http://go.microsoft.com/?linkid=9278654 for more details.