简体   繁体   English

使用MSI的替代方案 - MSBuild?

[英]Alternatives to using MSI's - MSBuild?

I work in an environment that has leaned heavy on the use of MSI's. 我在一个倾向于使用MSI的环境中工作。 With the latest versions of Visual Studio this type of deployment setup is no longer provided. 使用最新版本的Visual Studio,不再提供此类型的部署设置。 I've heard that using MSBuild is the preferred alternative. 我听说使用MSBuild是首选。 Does MSBuild create a file / other that a team could run on production servers? MSBuild是否创建团队可以在生产服务器上运行的文件/其他文件? Developers do not have permissions to prod servers here. 开发人员无权在此处生成服务器。 We have to pass our msi's to another team to run them. 我们必须将我们的msi传递给另一个团队才能运行它们。 Any help would be appreciated. 任何帮助,将不胜感激。

Visual Studio Deployment Projects (aka VDPROJ) deprecated from Visual Studio 2012. The output of VDPROJ is MSI. Visual Studio部署项目(又名VDPROJ)已弃用于Visual Studio 2012.VDPROJ的输出为MSI。 Microsoft recommendation is WIX as a replacement for creating MSI installers. Microsoft建议使用WIX作为创建MSI安装程序的替代品。 WIX is an XML based (.wixproj) project. WIX是一个基于XML(.wixproj)的项目。

Don't confuse MSBuild with WIX. 不要将MSBuild与WIX混淆。 MSBuild is a build engine for generating code from XML based projects ( .csproj, vbproj, etc. ). MSBuild是一个构建引擎,用于从基于XML的项目( .csproj,vbproj等 )生成代码。

You can use Wix 你可以使用Wix

There is a steep learning curve, but it is very powerful 有一个陡峭的学习曲线,但它非常强大

Use WiX toolset - it is a nice alternative and integrates well with visual studio and team build. 使用WiX工具集 - 它是一个不错的选择,并与视觉工作室和团队构建完美集成。

http://wixtoolset.org/ http://wixtoolset.org/

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

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