单个EXE文件,用于安装一组软件并加载文件 [英] Single EXE file to install a group of software and loading files

查看:64
本文介绍了单个EXE文件,用于安装一组软件并加载文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发了 Struts 2网络应用程序。为了在服务器上运行它,我需要安装以下软件:

I have devoloped a Struts 2 web application. For running it on a server, I need to install the following:

  • JDK
  • Tomcat
  • MySQL

我需要将项目发送到外国客户。他要求我将整个项目和软件转换为单个EXE文件,以便他可以使用单个EXE文件安装所有内容并将我的项目加载到服务器中。

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.

也就是说,他可以使用该单个exe将项目加载到服务器上。 EXE文件将开始一个接一个地调用安装程序,并最终加载我的项目。

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.

我已将.msi安装程序转换为.exe,并将我的项目转换为 WAR 文件和我的数据库都转换为.sql文件。现在,我想将所有内容合并到一个EXE文件中。

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.

是否可以创建这样的单个EXE文件?我必须遵循哪些工具和步骤?

Is it possible to create such a single EXE file? What tools and steps do I have to follow?

推荐答案

要安装JDK,Tomcat和MySQL,您需要安装创作工具支持先决条件。由于您只需要一个EXE文件,因此该安装工具还必须在EXE引导程序中嵌入先决条件。

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.

您没有提到要使用的安装工具,但是您可以尝试以下方法之一: http://en.wikipedia.org/wiki/List_of_installation_software

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

此外,您选择的设置工具应支持SQL脚本。大多数工具都没有。

Additionally, the setup tool you choose should have SQL scripts support. Most tools don't have it.

这篇关于单个EXE文件,用于安装一组软件并加载文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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