Unable to recognize the java version 6-29 installed on the w - Advanced Installer Community
digitalrinaldo
Posts: 88
Joined: Sun Jan 13, 2013 2:51 am

Unable to recognize the java version 6-29 installed on the w

Steps:
1- Access the link - https://devint-client.redplum.com/Apple ... Offer.html
2- From Print a test page and go to a new page section - Click on Link Installed Print Test Page
3- Browser will ask you to install latest Java 7 update 25 even though Java 6 update 29 is installed on the system
4- Click on Allow to install latest java version

We have generated a 32 bit executable and have the following settings for Java Detection

JRE is a prerequisite

Does the Java Check only look in the 64 bit location
Attachments
Settings 1
Settings 1
Screen Shot 2013-07-24 at 6.04.11 AM.png (32.84 KiB) Viewed 6831 times
Settings 2
Settings 2
Screen Shot 2013-07-24 at 6.06.07 AM.png (36.25 KiB) Viewed 6831 times
digitalrinaldo
Posts: 88
Joined: Sun Jan 13, 2013 2:51 am

Re: Unable to recognize the java version 6-29 installed on t

I have specified that the minimum version is 1.7 in other screens -- why is the registry entry still saying 1.6 see attachment.
Attachments
Registry key is set to 1.6 when it should be 1.7
Registry key is set to 1.6 when it should be 1.7
Screen Shot 2013-07-24 at 10.55.10 AM.png (114.31 KiB) Viewed 6822 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Unable to recognize the java version 6-29 installed on t

Hello,

Please keep in mind that the JRE Version specified in the "Java Virtual Machine" tab is not related with the JRE version detection criteria specified in the "Prerequisites Install Conditions" tab of our JRE predefined prerequisite package. If you need you can edit the minimum version of JRE prerequisite from the "Edit Search" dialog.

Also, please keep in mind that by default the prerequisite install conditions are evaluated using 32-bit locations on a 64-bit machine. However, if you want your prerequisite installation conditions to be evaluated using 64-bit locations you should check "Use 64-bit locations when evaluating conditions on a 64-bit machine" option from "Install Conditions" tab.

If you have any questions let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
digitalrinaldo
Posts: 88
Joined: Sun Jan 13, 2013 2:51 am

Re: Unable to recognize the java version 6-29 installed on t

Using the config above the following user experience was observed.
  • User launches the Installer built with AdvancedInstaller
    Executable launches and says there is no Java user is given a UI showing that
    Java is installed and at the end of the installation we get an error message.
The java Install was for 32 bits -- so is the prereq saying check 64 bits not being satisfied.
Attachments
Screen Shot 2013-07-30 at 11.30.18 AM.png
Screen Shot 2013-07-30 at 11.30.18 AM.png (37.96 KiB) Viewed 6773 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Unable to recognize the java version 6-29 installed on t

Hello,

This happens if the prerequisite install conditions are not fulfilled after the prerequisite package is installed. Can you please make sure you are using valid prerequisite install conditions searches and check if they are fulfilled on target machine after the prerequisite package is installed?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
digitalrinaldo
Posts: 88
Joined: Sun Jan 13, 2013 2:51 am

Re: Unable to recognize the java version 6-29 installed on t

Thanks for your patience. What we are slowly understanding is that we don't understand how to configure the application we install to accept either a 64 bit or 32 bit JRE or JDK.

We install a 32 bit application on a 64 bit machine. We use the default values and have turned off use 64 bit locations and in this case a previously installed 64 bit application is not accepted as meeting the prerequisite. Do I have to add another registry entry for the 64bit JRE locations?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Unable to recognize the java version 6-29 installed on t

Hello,

I'm afraid I don't fully understand your scenario. Can you please give us more details about this (maybe exemplify)? Also, can you please send us the .aip (project file) to support at advancedinstaller dot com so we can investigate it?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”