Java prerequisite 1.7 version - Advanced Installer Community
pradeep sain
Posts: 2
Joined: Thu Mar 19, 2015 10:51 am

Java prerequisite 1.7 version

I have set the java prerequisite Java se Development Kit 7u75 x64 from the list.
java 1.8 is installed on the system still it ask to install the java from prerequisite dialog.
What other setting i need to do to prevent this screen if higher version of java already installed in the system.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Java prerequisite 1.7 version

Hello and welcome to Advanced Installer forums,

Please note that a prerequisite will be installed based its install conditions defined in the Prerequisite Install Conditions Tab of the related Prerequisite. The Install Conditions section allows you to condition the prerequisite based on custom searches. You can create multiple searches for the same prerequisite. In order to test a condition you can use the [Test] button.
The Prerequisite Search Dialog allows you to add a new search to the installation conditions of a prerequisite or edit an existing one.

Also, be aware by the two options below the “Install Conditions” pane:
  • Install only if at least one condition is false - If this option is selected, at least one search must fail in order to install the prerequisite.
    Install only if all conditions are false - If this option is selected, all searches must fail in order to install the prerequisite.
So, the prerequisite software will be installed according to the enabled option which refers to the install condition that you have defined before.

However, all the predefined prerequisites from our list have their install conditions defined. So, can you please add the JRE prerequisite from our predefined list from the Prerequisites page and delete the existion one and see if the behavior still persist? If it does, please attach your .AIP(project file) to the forum thread so we can further investigate this.

Please let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
pradeep sain
Posts: 2
Joined: Thu Mar 19, 2015 10:51 am

Re: Java prerequisite 1.7 version

Thanks for you quick and detailed reply.

It solved the my problem.

I have changed the Installed condition and add the minimum version to 1.7 which was removed by me.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Java prerequisite 1.7 version

You're always welcome,

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”