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!

Phill_Perryman
Posts: 25
Joined: Thu Feb 15, 2007 5:55 pm

Conditional jre install on update

I am planning on updating my code to 1.5 jvm compliance. I have users who are using the current app on a 1.4 minimum. These users will get the update file via updater.exe.

Is there any way to detect if they have 1.5 installed and if not send them off to a url where they can download and install it. I don't want to get all my users who are on 1.5 to download a 25Mb update file if I include the bundled jre.

If I create two installs can I get updater to pick the with jre install if they are on 1.4 otherwise pick the small install file.

Any help would be much appreciated.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,
Is there any way to detect if they have 1.5 installed and if not send them off to a url where they can download and install it.
This can be done using prerequisites. In the "Prerequisites->Software" page choose "Add->Java Runtime Environment".
http://www.advancedinstaller.com/user-g ... tware.html

You can create two packages one with bundled JRE and other with prerequisite and distribute only the one with prerequisite via updater.

Hope this helps.

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

Return to “Common Problems”