[英]Making Installer for Java application with MySQL database
I am looking for an installer for my Java Application that can bundle my own JRE and MySQL database, and I have heard of Install4J. 我正在寻找可以捆绑我自己的JRE和MySQL数据库的Java应用程序的安装程序,我听说过Install4J。 Does Install4J have the feature of bundling MySQL Database 5.0 so that my customers can easily install the application with MySQL as the database?
Install4J是否具有捆绑MySQL数据库5.0的功能,以便我的客户可以使用MySQL作为数据库轻松安装应用程序?
You can use Inno Setup .Download from http://www.jrsoftware.org/isinfo.php 您可以使用Inno Setup 。从http://www.jrsoftware.org/isinfo.php下载
for installing mysql and jre ,you can use batch files and calling in inno setup . 为了安装mysql和jre,你可以使用批处理文件并在inno设置中调用。
you should silent install mysql and jre with batch files. 你应该用批处理文件静默安装mysql和jre。
example for silent install jre7u7: 静默安装jre7u7的示例:
jre-7u7.exe /s UPDATE=0
example for silent install mysql: 静默安装mysql的示例:
msiexec /i "mysql-5.5.21.msi" /quiet INSTALLDIR="%PROGRAMFILES%\MySQL\MySQL Server 5.5"
exmaple for silent configure instance mysql: 用于静默配置实例mysql的exmaple:
MySQLInstanceConfig.exe -i -q "-lC:\mysql_install_log.txt" "-nMySQL Server 5.5" "-p%pro%\MySQL\MySQL Server 5.5" -v5.5.21 "-t%PROGRAMFILES%\MySQL\MySQL Server 5.5\my-template.ini" "-c%pro%\MySQL\MySQL Server 5.5\my.ini" ServerType=DEVELOPMENT DatabaseType=MIXED ConnectionUsage=OLTP Port=3306 ServiceName=Mysql Charset=utf8
You can use Advanced installer. 您可以使用高级安装程序。 download from http://www.advancedinstaller.com/ .
从http://www.advancedinstaller.com/下载。
You can bundle jre and database files 您可以捆绑jre和数据库文件
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.