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. 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?
我正在为我的Java应用程序寻找一个安装程序,它可以捆绑我自己的JRE和MySQL数据库,并且我听说过Install4J。Install4J是否有将MySQL数据库5.0捆绑在一起的特性,以便我的客户可以轻松地将MySQL作为数据库来安装应用程序?
2 个解决方案
#1
1
You can use Advanced installer. download from http://www.advancedinstaller.com/.
您可以使用高级安装程序。从http://www.advancedinstaller.com/下载。
You can bundle jre and database files
您可以将jre和数据库文件捆绑在一起。
#2
3
You can use Inno Setup.Download from http://www.jrsoftware.org/isinfo.php
您可以使用Inno设置。从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:
exmaple用于静默配置实例mysql:
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
#1
1
You can use Advanced installer. download from http://www.advancedinstaller.com/.
您可以使用高级安装程序。从http://www.advancedinstaller.com/下载。
You can bundle jre and database files
您可以将jre和数据库文件捆绑在一起。
#2
3
You can use Inno Setup.Download from http://www.jrsoftware.org/isinfo.php
您可以使用Inno设置。从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:
exmaple用于静默配置实例mysql:
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