I am working on Java rich client app. with MySQL server and I made it as .jar file.
I want the user to have one simple .exe file that when running it, install JRE and MySQL server then he’ll have a shortcut for the jar file and simply work on it.
I tried to use more than installer: inno setup, advanced installer, Excelsior Installer, …
but they’re all give me the same result: just put all .exe files for JRE and MySQL server in the destination folder after installing the product (i.e. just unpack files without installing them).
Can anybody help me?
You can run as many executables as you want (Windows setup installers are executables) under
[Run]in InnoSetup script file when creating you setup file via InnoSetup. But, you shall useCheck:to check whether each installer has been installed or not.Example installing Java Advanced Imaging (JAI) run-time and Visual C++ 2010 Redistributable Package (x86) with registry check on target system:
Note:
If your installers in
[Files]are located in the “install” folder of your InnoSetup project, they are compressed during Innosetup process to generate your the InnoSetup setup executable. When you run the setup created, it will uncompress the installers in your defined{app}folder and it will execute whatever defined under[Run]