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!

snehal_shinde
Posts: 9
Joined: Tue Jul 25, 2006 8:24 pm

Check for JRE using Launch Condition

Hi Team,

I am creating an MSI instead of a EXE. As a result I cannot check if JRE is already installed on the user machine using Prerequisites. Isnt that true?

The other option is to use Launch Condition. I tried reading the docs but I am clueless how to actually create a launch condition to check if JRE 1.5 is already installed on the users machine and if it is NOT, that point the user to java.exe that I have as part of the .MSI

I would really appreciate if you guys can please get back to me on this one at the earliest.

Thanks so much!
Snehz
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

To check if the JRE is already installed and if not to launch java.exe you need to create an EXE and use prerequisites. To add JRE as prerequisite go to "Prerequisites" page, "Software" tab click on the "Add" button and select "Java Runtime Environment".

Note that with a launch condition you can only to check if the JRE is installed or not.

Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
snehal_shinde
Posts: 9
Joined: Tue Jul 25, 2006 8:24 pm

Hi Gigi,

I was already doing that. But as I wanted to release patches for the lastest updates, I had to create an MSI and not an EXE. For this reason I had to move away from EXE and just create an MSI.

Is there a way to have both - create patches as well as use prerequisites? I would really appreciate your help on this one.

Thanks,
Snehz
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

The EXE has the msi embedded. So to create patches you need to extract the msi from the exe.

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

Return to “Common Problems”