| InstallerContactSite Map |
Advanced Installer User Guide | |||
Creating a Java Product Installation |
| Let's say that we are Sun Microsystems and we want to create a Windows Installer package for the well-known SwingSet2 Demo. This tutorial will present in detail how to achieve this goal. In order to replicate it on your own machine, you need to have a Sun JDK installed (the latest version is recommended).
1. Create projectStart Advanced Installer by selecting it from the “Start” menu. Launching Advanced Installer automatically starts a new installation project. Choose “Java” > “Java Application” as the project type.
2. Enter Product Details
Please note that these details are completely fictive. 3. Set Install Parameters
4. Add Installation Files
5. Define Java Products
Click on the button and browse to and select the SwingSet2.jar file. Click Ok. Edit the Main class to: SwingSet2 Edit the JVM parameters to: -Xms64M -Xmx256M Specify the JRE version min and max to whatever version you have installed on your machine. Select GUI Application. We don't put a splash screen, since SwingSet2 already has one.
Now a new file has appeared in the Files and Folders Page: swing2set.exe. 6. Create program shortcuts
Repeat the operation, creating a shortcut for the Readme file. Name it Readme.
7. Build
8. Run, test and remove
To remove the installed package, simply Run it again and select Remove. That's it! |








