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!

Livesey
Posts: 12
Joined: Tue Apr 25, 2006 11:30 am

Updater questions

Good morning

I am using Advanced Installer and the Updater for a Java application. The Installer and Updater are working almost perfectly. I do have 2 questions though.

1. When a user installs my application with a JRE packaged (I'm using Java 1.6 beta), and then updates the application using the Updater, the JRE is removed. Why is this? Is there a way of specifying that the JRE should be left alone?

2. Is there a way to have the JRE packaged seperately and have the installer download it as a seperate package? What I mean is that it would first look on the user's machine for the appropriate JRE and if it isn't there, download it from a specified location and install (this is how the .NET framework is downloaded when installing a Visual Studio application).

Thanks for all the help and a wonderful product
Aubrey
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

1. This is because on upgrade the old package is uninstalled before installing the new one. You can back the JRE folder using this method (but is not my suggestion in this case, use prerequisites):
http://www.advancedinstaller.com/user-g ... -file.html

2. Add the JRE package as prerequisites. Switch to "Media" page, "Prerequisites" tab and add "Java Runtime Environment" as prerequisite.

Regards,
Gigi
_________________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
Livesey
Posts: 12
Joined: Tue Apr 25, 2006 11:30 am

Thanks for the reply.

Return to “Common Problems”