[英]How can I create an installer for a WPF application as well as a ASP.net application?
I have a Visual Studio 2017 project that contains a WPF application and a ASP.net application that interact through a database. 我有一个Visual Studio 2017项目,其中包含通过数据库进行交互的WPF应用程序和ASP.net应用程序。
I am currently using this to create an installer for the entire project. 我目前正在使用它来为整个项目创建一个安装程序。
The problem I'm having is that I can successfully create an installer for the WPF application, but not the ASP.net application. 我遇到的问题是我可以为WPF应用程序成功创建安装程序,但不能为ASP.net应用程序创建安装程序。 Is there a way I can create an installer that installs both applications on a separate computer? 有什么方法可以创建将两个应用程序安装在单独计算机上的安装程序?
Thanks 谢谢
Usually, you have to choose a tool or set of tools to generate an installer for your projects to be deployed in your users'/consumers' computers. 通常,您必须选择一个或一组工具来生成要在用户/消费者的计算机中部署的项目的安装程序。 There are lots of available options. 有很多可用的选项。 Some are free, some are paid (and quite expensive). 有些是免费的,有些是付费的(而且非常昂贵)。
Free ones include WiX Toolset and InstallForge . 免费的包括WiX Toolset和InstallForge 。 Paid ones tend to be a lot easier to use and offer more ready-to-use features, and examples of these are InstallShield and Advanced Installer . 付费功能通常更易于使用,并提供更多现成的功能,例如InstallShield和Advanced Installer 。
I personally use WiX, as it offers quite interesting features, it is free, and has a huge comunity. 我个人使用WiX,因为它提供了非常有趣的功能,它是免费的,并且具有很大的社区性。 On the other hand, its learning curve can be quite steep, depending on your specific needs. 另一方面,它的学习曲线可能会非常陡峭,具体取决于您的特定需求。
Many other options are available. 还有许多其他选项。 For a simpler (although much less flexible) solution for WinForms and WPF projects, check out ClickOnce . 有关WinForms和WPF项目的更简单(尽管灵活性稍差)的解决方案,请查看ClickOnce 。
也许您可以尝试Inno设置: http ://www.jrsoftware.org/isinfo.php
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.