How to add JRE checking during installation on Mac OS X - 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!

mkulin314
Posts: 3
Joined: Mon Sep 15, 2008 3:30 pm

How to add JRE checking during installation on Mac OS X

Hello all.

How can I add prerequisite checking for Mac OS X build? For example, how to make Mac OS X build check for JRE version to be not less than 1.6?

I have found working prerequisites checking only for MSI build.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: How to add JRE checking during installation on Mac OS X

Hi,

The MAC OS packages are represented by ZIP archives which can be extracted to an installation folder. Therefore, I'm afraid that you cannot use prerequisites for this type of builds.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mkulin314
Posts: 3
Joined: Mon Sep 15, 2008 3:30 pm

Re: How to add JRE checking during installation on Mac OS X

Hello,

I have found that desired effect could be achieved by adding JVMVersion key to Info.plist file in Mac OS build.

According to http://www.advancedinstaller.com/forums ... f=1&t=1683 it had been planned for AI 4.7 to support custom keys addition to Info.plist.
But I have not found any information about it on site and in AI help for AI 6.4.1.

Have this feature been implemented? How can I use it?

Best regards,
Mikhail.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: How to add JRE checking during installation on Mac OS X

Hi,
According to viewtopic.php?f=1&t=1683 it had been planned for AI 4.7 to support custom keys addition to Info.plist.
But I have not found any information about it on site and in AI help for AI 6.4.1.
I'm afraid that Advanced Installer doesn't have an option for configuring the keys in the Info.plist file. This is because most keys can be configured through the "Java Products" page. For example, the JVMVersion key is set by the "JRE version" combo boxes in the Settings of the "Java Products" page.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”