单个EXE文件安装一组软件并加载文件
我开发了一个 Struts 2 Web 应用程序。为了在服务器上运行它,我需要安装以下内容:
我需要将我的项目发送给国外客户。他要求我将整个项目和软件转换为单个 EXE 文件,以便使用单个 EXE 文件他可以安装所有内容并将我的项目加载到服务器中。
也就是说,他可以使用该单个 exe 将项目加载到服务器上。 EXE 文件将开始一一调用安装程序,并最终加载我的项目。
我已将 .msi 安装程序转换为 .exe,并将项目转换为 WAR 文件并将我的数据库放入 .sql 文件中。现在我想将所有内容合并到一个 EXE 文件中。
是否可以创建这样一个 EXE 文件?我必须遵循哪些工具和步骤?
I have devoloped a Struts 2 web application. For running it on a server, I need to install the following:
I need to sent my project to a foreign client. He asked me to convert my entire project and software into a single EXE file, so that using a single EXE file he could install everything and load my project into the server.
That is, he could be able to load the project on the server using that single exe. The EXE file will start invoking the installers one by one and finally load my project.
I have converted my .msi installers to .exe and my project into a WAR file and my database into an .sql file. Now I want to combine everything into a single EXE file.
Is it possible to create such a single EXE file? What tools and steps do I have to follow?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
要安装 JDK、Tomcat 和 MySQL,您需要一个支持先决条件的安装创作工具。由于您需要单个 EXE 文件,因此该安装工具还必须将先决条件嵌入 EXE 引导程序中。
您没有提到您正在使用哪种安装工具,但您可以尝试其中之一:http://en .wikipedia.org/wiki/List_of_installation_software
此外,您选择的安装工具应该支持 SQL 脚本。大多数工具都没有它。
To install a JDK, Tomcat and MySQL you need a setup authoring tool which supports prerequisites. Since you want a single EXE file, that setup tool must also embed the prerequisites in an EXE bootstrapper.
You didn't mention which setup tool you are using, but you can try one of these: http://en.wikipedia.org/wiki/List_of_installation_software
Additionally, the setup tool you choose should have SQL scripts support. Most tools don't have it.