无提示安装Visual Studio 2013 [英] Silent Installation Visual Studio 2013

查看:85
本文介绍了无提示安装Visual Studio 2013的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI,

我有一个在Visual Studio 2013,Framework 3.5,c#中制作的控制台应用程序,我希望在其他PC上进行无提示安装。

我尝试过使用InstallShield,但我必须购买许可证。

我读过使用msiexec.exe但我没有.msi文件..我只有Debug文件夹中的.exe文件...

任何想法?

谢谢


I have a Console Application made in Visual Studio 2013, Framework 3.5, c# and I want a Silent Installation in other PC.
I have tried with InstallShield but I have to buy the license.
I have read to use "msiexec.exe" but I do not have .msi file.. I only have the .exe file in Debug folder...
Any Ideas?
Thanks

推荐答案

是,VS 2013没有提供任何安装框架,我认为这很好; VS 2008/2010提供的那个还不够好。我强烈推荐开源WiX工具集:

http://en.wikipedia.org/wiki/ WiX [ ^ ],

http://wixtoolset.org [ ^ ]。



与以前的Visual Studio安装项目模板不同,与InstallShield不同,WiX完全支持MSBuild项目标准和非常好的集成使用Visual Studio。有关支持此选项的进一步想法,请参阅我过去的答案:

installshield和Visual Studio 2012 [ ^ ],

自定义安装项目 [ ^ ],
如何根据处理器架构类型(32位或64位)有条件地安装组件? [ ^ ]。



-SA
Yes, VS 2013 does not provide any installation framework, and I think this is good; the one which was supplied with VS 2008/2010 wasn't good enough. I would highly recommend open-source WiX toolset:
http://en.wikipedia.org/wiki/WiX[^],
http://wixtoolset.org[^].

Unlike former Visual Studio Setup project templates and unlike InstallShield, WiX has thorough support of MSBuild project standard and a very good integration with Visual Studio. For further thoughts in support of this option, please see my past answers:
installshield and Visual Studio 2012[^],
Custom setup project[^],
How to conditionally install components based on processor architecture type (32-bit or 64-bit)?[^].

—SA


您必须在现有解决方案中创建另一个项目。



在解决方案资源管理器中右键单击您的解决方案,选择添加 - > '新项目'



选择其他类型的项目 - > 安装和部署(我不确定翻译,因为我目前没有安装英文版本。)



从那里你应该能够选择要部署的项目,并配置流程。



祝你好运:)
You have to create another project in your existing solution.

Right-click your solution in Solution Explorer, choose 'Add' -> 'New Project'

Select 'Other type of project' -> 'Installation and deployment' (I'm not sure of the translation, as I do not have the english version currently installed).

From there you should be able to select which project you want to deploy, and configure the process.

Good luck :)


这篇关于无提示安装Visual Studio 2013的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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