Attached is an AIP project for 32/64 bit mixed Java project with a simple JAR file that saves its comand line arguments to the test.txt file. When I execute the 64-bit native exe (airep 64.exe test), the "test" argument gets saved into the file, however with 32-bit (airep.exe test), it doesn't.
Is this a problem in Advanced Installer or something is wrong with my project?
Hello Eldar and welcome to Advanced Installer forums,
Thank you for your interest in Advanced Installer.
I've tested your scenario and I could replicate the behavior on a target machine with 64-bit JRE installed (and without 32-bit JRE installed). When both 32 and 64-bit java launchers are installed on a target machine with 64-bit JRE installed and without 32-bit JRE installed, and the 32-bit launcher is launched, then the 32-bit launcher automatically call the 64-bit launcher. However, when the 32-bit launcher is called with command line parameters, it seems the command line parameters are not passed to the 64-bit launcher. This is an Advanced Installer limitation. A fix will be available in a future version of Advanced Installer, thank you for bringing this to our attention. We will let you know when a fix will be available.
FOLLOW US
Get the latest news in Application Packaging