Hi,
Thank you for your quick reply. I have followed your instruction and unluckly failed.
When the machine has JRE already, the setup file installed "
successfully". But under the "Program Files", I found nothing.
It didn't install anything. It means I can't find "C:\Program Files\MyApp" though it seams successfully installed.
So, could you help me build an aip file?
Here are my requirements:
1. Build a setup file to include HellowWorld.Jar. Following is the source code:
The code takes
arg[0] as parameter (I didn't find AI has the ability to support
HellowWorld.jar accept input parameters. Mybe you can help me.)
Code: Select all
package hellowworld;
public class SayHellowWorld {
public static void main(String[] args) {
System.out.println(args[0] + " says: Hellow world!");
}
}
2. Bundle JRE 1.6 to this setup file, and specially install the bundled JRE 1.6 if the JRE version on the target is less than 1.6 or if JRE is not installed at all.
I tried your instructions but finally failed and don't know why.
Wait for good news!