Mac & Windows installer and the JRE version - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

yishai
Posts: 54
Joined: Wed Nov 23, 2005 11:54 pm

Mac & Windows installer and the JRE version

I am trying to build a Mac & Windows installer for the same Java project. Using AA 4.92.

Few problems:

The PC version is built with a bundled JRE (1.6). However, the Mac does not have 1.6 yet, only 1.5. I set the JRE version to be Min 1,5, Max 1,6. On the Mac package, the plist JRE value is set to 1,6, which will not run on the Mac. How can I set the JRE level in the list file? (My installation is automated, so doing it manually is not a real option).

I have some native libraries for Windows and some for the Mac. I would like at each install to put only what the platform needs. Somehow, I see in the Mac file list only what is on the Windows file list, so each installation has both files (PC & Mac). Any way I can filter out, per platform, the files I do not need? (should I mention the top level folder is synchronized?)

Thanks

-Yishai
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Yishai,

This will be possible in the next version of Advanced Installer when multiple builds will be supported. And then you can create separate java products (with individual seatings) for Windows and for the Mac builds.

The next version of Advanced Installer is scheduled for release next week.

Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
yishai
Posts: 54
Joined: Wed Nov 23, 2005 11:54 pm

Maybe I am missing something but I could not see I tin the new version. I have seen I can, for the <ac build, set other output name or something like that. But how do I set different Java options (such as required JRE), or different sets of files (such as native libraries for each platform), for the Mac version vs. the PC version?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

You can filter what files to be included in the MAC build (see "Java Products->Mac OS X" page).

But specifying different JRE settings cannot be done. We will investigate this case. I add it on our TODO list. Thank you for your suggestion.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”