Single EXE file to install a group of software and loading files

情到浓时终转凉″ 提交于 2019-12-21 22:38:44

问题


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

  • JDK
  • Tomcat
  • MySQL

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?


回答1:


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.



来源:https://stackoverflow.com/questions/8406086/single-exe-file-to-install-a-group-of-software-and-loading-files

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!