[英]Add installer to a c# application
I made a search to find how am I adding an installer to my c# application. 我进行了搜索,以查找如何将安装程序添加到我的C#应用程序中。 In every result I found that I need to add new file from Setup and Deployment templates, but I have no those templates.
在每个结果中,我发现都需要从安装和部署模板中添加新文件,但是我没有这些模板。 Even in online search I didn't find so.
即使在在线搜索中,我也没有找到。
what should I do? 我该怎么办?
The VS setup templates were removed post VS-2010. VS-2010之后删除了VS安装模板。
Now, you have to use something else. 现在,您必须使用其他东西。 "InstallShield" is still available, and Wix is a very popular install framework.
“ InstallShield”仍然可用, Wix是一个非常流行的安装框架。 You can, of course, just roll your own installer as well.
当然,您也可以滚动自己的安装程序。
Alternatively, just use VS 2010 or earlier to create your setup/deployment projects. 或者,只需使用VS 2010或更早版本来创建您的设置/部署项目。
I reckon you should do some research. 我认为您应该做一些研究。 There are many options out there depending on your type of application.
根据您的应用程序类型,有很多选项。 Is it an executable that runs locally?
它是在本地运行的可执行文件吗? Is it a Web application?
它是Web应用程序吗? Or a mobile application?
还是移动应用程序?
Microsoft provides lots of options/guides out of the box. Microsoft提供了许多开箱即用的选项/指南。 Assuming you use Visual Studio 2013 check this MSDN article which is a good guide to start your research journey: https://msdn.microsoft.com/en-us/library/wtzawcsz.aspx
假设您使用Visual Studio 2013,请查看此MSDN文章,这是开始您的研究旅程的一个很好的指南: https : //msdn.microsoft.com/zh-cn/library/wtzawcsz.aspx
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.