[英]Installation best practices for a web application
I have a simple web application which will be running on machines which don't have internet connectivity.我有一个简单的 web 应用程序,它将在没有互联网连接的机器上运行。
I would like to support the ability to install, remove and support migration of WAR at a later stage.我想支持以后安装、删除和支持 WAR 迁移的能力。 This would be our deployment scenario:-这将是我们的部署方案:-
I don't want to spend too much time on building an installer, but what should we do support the above scenario?我不想花太多时间在构建安装程序上,但是我们应该怎么做才能支持上述场景呢? Are there any tools which help in handling this?有什么工具可以帮助处理这个问题吗?
I recommend using a MSI package with an EXE bootstrapper which supports prerequisites.我建议使用带有支持先决条件的 EXE 引导程序的 MSI package。 This should cover all your requirements.这应该涵盖您的所有要求。
Regarding a setup authoring tool, it depends on what you want (free or commercial, with a GUI or with scripting etc.).关于设置创作工具,它取决于您想要什么(免费或商业,带有 GUI 或脚本等)。 You could use a Visual Studio setup project and Orca, but a commercial tool will be easier.您可以使用 Visual Studio 安装项目和 Orca,但商业工具会更容易。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.