Controlling the JRE prerequisite sub 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

Controlling the JRE prerequisite sub version

I want to set a prerequisite of a JRE version 1.6.0_12.

I set the JRE prerequisite fine, but in the install condition where I set the minimal version, I can set it to 1.6.0, but it will not take the “_” charterer, so I can not specify the sub version (1.6.0_12).

Any ideas?

Thanks

-Yishai
cyb
Posts: 43
Joined: Wed Apr 15, 2009 1:06 pm

Re: Controlling the JRE prerequisite sub version

Hi,

A file's version cannot contain the "_" character. However, in order to detect that version, you can go to the "Install conditions" tab of your prerequisite, edit your Search criteria to "Registry Value exists" and set the registry value to

Code: Select all

HKLM\SOFTWARE\JavaSoft\Java Runtime Environment\1.6.0_12\


Best regards,
cyb
Cosmin Budrica
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”