如何为不带Visual Studio 2010的Visual Studio 2010解决方案创建MSI文件? [英] How to create a msi file for a Visual Studio 2010 solution w/o Visual Studio 2010?

查看:169
本文介绍了如何为不带Visual Studio 2010的Visual Studio 2010解决方案创建MSI文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个旧的Visual Studio 2010 Windows窗体应用程序,在其中有一个用于创建msi文件的安装项目.这是我们在詹金斯(Jenkins)中调用的命令:

We have an old Visual Studio 2010 windows forms application, inside it has a Setup project to create the msi file. This is the command we call in Jenkins:

"C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.com" "%WORKSAPCE%\RepoManager-v3-TIB3-dev\RepoManager.sln" /build "Release|x86"

现在,我们仅在构建服务器上安装了VS 2013.我们可以使用2013这样构建解决方案,但是不会创建msi文件.我们知道它不再受支持.

Now we only have VS 2013 installed on the build server. We can build the solution using 2013 like this, but the msi file is not created. We know it's no longer supported.

"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.com" RepoManager.sln" /build "Release|x86"

我的情况是,我们没有足够的资源将整个解决方案迁移到2013年,这很大.那么,我们创建msi文件的最佳方法是什么?

My situation is we don't have the resource to migrate the whole solution to 2013, it's big. So what's the best way for us to create the msi file?

[6月17日添加]根据PhilDW的建议,我安装了Installer Project扩展到2013,在程序和功能(如何在文件系统中找到它)中显示为"Visual Studio 2013 Microsoft Visual Studio安装程序扩展". ?它的安装位置?)现在我在构建中遇到此错误,并且仍未生成msi文件.

[Added in June 17] Following PhilDW's suggestion, I installed the Installer Project extension to 2013, it shows as "Visual Studio Installer Extension for Microsoft Visual Studio 2013" in the Programs and Features (How to find it in the file system? Where it's installed to?) Now I got this error in the build, and the msi file is still not generated.

------ Starting pre-build validation for project 'Setup2.0_Prod' ------ 
ERROR: An error occurred while validating.  HRESULT = '8000000A'
------ Pre-build validation for project 'Setup2.0_Prod' completed ------
15>------ Build started: Project: Setup2.0_Prod, Configuration: Release ------

推荐答案

最后我弄清楚了,最简单的解决方案是: 1.将扩展安装到VS 2013. 2.添加注册表项:验证时发生错误. HRESULT ='8000000A'

Finally I figured out, the easiest solution is: 1. Install the extension to VS 2013. 2. Add the registry key: An error occurred while validating. HRESULT = '8000000A'

这篇关于如何为不带Visual Studio 2010的Visual Studio 2010解决方案创建MSI文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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