简体   繁体   English

WCF 服务安装程序

[英]Installer for WCF Service

I have a WCF service and I want to create an installer package for it.我有一个 WCF 服务,我想为它创建一个安装程序 package。 The service will be deployed on servers running either Windows 2003 or 2008 server.该服务将部署在运行 Windows 2003 或 2008 服务器的服务器上。 Can this be done with Visual Studio 2010 (Pro)?这可以用 Visual Studio 2010 (Pro) 完成吗? I need the installer to do the following during the installation process:我需要安装程序在安装过程中执行以下操作:

  • Install dependencies安装依赖项
  • Set and/or create the application pool in IIS在 IIS 中设置和/或创建应用程序池
  • Set other IIS configuration such as allowed page types, virtual directory, port, etc.设置其他 IIS 配置,例如允许的页面类型、虚拟目录、端口等。
  • Change web.config connection string during install在安装过程中更改 web.config 连接字符串

I imagine these operations would be done using some sort of scripting language, like VBscript?我想这些操作会使用某种脚本语言来完成,比如 VBscript? It would be cool to use F# -- not sure whats possible though.使用 F# 会很酷——虽然不确定有什么可能。 If not in Visual Studio 2010 are there other free tools that assist with this?如果不在 Visual Studio 2010 中,是否还有其他免费工具可以帮助解决这个问题?

Thank you.谢谢你。

I would recommend wix which is an open source windows installer toolset that can do all of the things you mention.我会推荐wix这是一个开源 windows 安装工具集,可以完成你提到的所有事情。

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

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