This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Replacing new JVM in installed application as a part of update
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 01, 2008
10:56 AM
Replacing new JVM in installed application as a part of update
Hi All,
Is it possible to update the JVM of of an application installed through Installshield? We use IS11.5 MP for creating the installer of our java based application. Currently the clients who have installed our application have JRE-1.4.2_11 in their '_jvm' folder. As a part of our next release we would want our client to receive an automatic update with JRE 1.5 in it.
Does anybody know if such an automatic update is possible or supported by Installshield?
Thanks,
-Sam
Is it possible to update the JVM of of an application installed through Installshield? We use IS11.5 MP for creating the installer of our java based application. Currently the clients who have installed our application have JRE-1.4.2_11 in their '_jvm' folder. As a part of our next release we would want our client to receive an automatic update with JRE 1.5 in it.
Does anybody know if such an automatic update is possible or supported by Installshield?
Thanks,
-Sam
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 05, 2008
12:52 PM
sameerbh wrote:
Hi All,
Is it possible to update the JVM of of an application installed through Installshield? We use IS11.5 MP for creating the installer of our java based application. Currently the clients who have installed our application have JRE-1.4.2_11 in their '_jvm' folder. As a part of our next release we would want our client to receive an automatic update with JRE 1.5 in it.
Does anybody know if such an automatic update is possible or supported by Installshield?
Thanks,
-Sam
In the nutshell - you need to bundle new java with your installer, change uninstallerJVMResolution.resolveOnReinstalls to True, delete _jvm folder prior install (installer will re-create new _jvm folder with newer java) and create a new uninstall launcher
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 05, 2008
02:37 PM
Aleksey,
My question was regarding automatic updates which are sent from the Macrovison update site (http://services.installshield.com). These patches/updates do not carry any bundled JVM inside them. I don't have any idea as to how I can bundle the new JVM1.5 in them. So far we've been only putting patched jars in these updates and not an enitire JVM.
Your reply is about installing a new JVM1.5 bundled application over an existing JVM1.4 bundled application i.e. in the same folder. It's still helpful to me as I didn't think about it earlier. I assume you're asking me to add a "Remove Directory Action" in Pre-Install Sequence group to remove _jvm folder. Am I correct?
-Sam
My question was regarding automatic updates which are sent from the Macrovison update site (http://services.installshield.com). These patches/updates do not carry any bundled JVM inside them. I don't have any idea as to how I can bundle the new JVM1.5 in them. So far we've been only putting patched jars in these updates and not an enitire JVM.
Your reply is about installing a new JVM1.5 bundled application over an existing JVM1.4 bundled application i.e. in the same folder. It's still helpful to me as I didn't think about it earlier. I assume you're asking me to add a "Remove Directory Action" in Pre-Install Sequence group to remove _jvm folder. Am I correct?
-Sam
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 18, 2008
09:30 PM
I'm confused as to why you would want to update the jvm in the _jvm directory! This jvm is only used for the uninstaller! Now - if you need to update it because you are using a newer JVM for an updated install I guess you could do it - and I'm not at my work computer where my ismp sw is installed so I'm going by memory - you can go into the advanced section of the uninstall jvm resolution somewhere in the Launchers section and set the option where it says something about using installed jvm to false! Now I have not tried it and do not know if it would put like a _jvm2 directory or just overwrite the _jvm dir that is there!
Another thing you may need to be concerned with is if you can uninstall the products separately! Unless you have a search routine for the uninstall jvm resolution for the updated JVM that you want to put out there now - you may get a JVM not found error trying to uninstall the previous installed product!
Hope this helps!
Regards,
Tom
Another thing you may need to be concerned with is if you can uninstall the products separately! Unless you have a search routine for the uninstall jvm resolution for the updated JVM that you want to put out there now - you may get a JVM not found error trying to uninstall the previous installed product!
Hope this helps!
Regards,
Tom
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 05, 2008
03:56 PM
sameerbh wrote:
Aleksey,
My question was regarding automatic updates which are sent from the Macrovison update site (http://services.installshield.com). These patches/updates do not carry any bundled JVM inside them. I don't have any idea as to how I can bundle the new JVM1.5 in them. So far we've been only putting patched jars in these updates and not an enitire JVM.
Your reply is about installing a new JVM1.5 bundled application over an existing JVM1.4 bundled application i.e. in the same folder. It's still helpful to me as I didn't think about it earlier. I assume you're asking me to add a "Remove Directory Action" in Pre-Install Sequence group to remove _jvm folder. Am I correct?
-Sam
Yes you are correct assuming that you need to replace the _jvm with newer version. As for creating a bunddled jvm: you can pick up java 1.5 fro win, linux and solaris from macrovision update site or make one your self (I had to make one my self for HP): http://knowledge.macrovision.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=installshieldmp11-5helplib-creatingbundledjvmhtm&sliceId=&docTypeID=DT_MACROVISIONHELPNET_1_1&dialogID=4344695&stateId=0%200%204342730