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
- :
- Re: JVM resolution & Uninstall
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
Mar 16, 2006
11:54 AM
JVM resolution & Uninstall
ISMP 11.5 Premier: I have a bundled jvm that I lay down on the user's machine. Ideally this jvm would be used for the installer, uninstaller, and application launcher of several products in a suite. How do I prevent the uninstaller of one suite product from ripping that jvm off the machine? If that jvm is ripped out it will break the rest of the product suite. I have done what another user suggested: Make a component whose only associated function is a JVM Resolution bean. Make the Remove Option of this component be 'Never Remove'. This does not work, the jvm laid down still gets removed. I've tried making a discrete JVM id and install location for the uninstaller's jvm than the one I lay down, and still, both are removed. Thanks.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 25, 2007
09:45 AM
The bundled JVM is used for the installation and will be moved over to the [InstallLocation]\_jvm directory when installation is complete. If you want to use this JVM for installation, you would need to create a Custom Search for JVM routine and add that to the other products to point to this [InstallLocation]\_jvm directory! This can be pretty tough if the user can install the product to any location when the JVM is the first thing that needs to be established!
You may want to just use the bundle JVM for all your products and in the Application Data->Launchers->Advanced View->Product Uninst JVM RES-> Use Installed JVM = true, and this JVM will be used for all the uninstallers – that is if they all go to the same installation directory!
I don’t know if this will help but we do something similar where we have several products that go to the same location, I changed the Uninstaller Archives->Install Location in the General Information to “_uninst/Product” to avoid _uninst2, _uninst3, etc.. and in the Application Data->Launchers->Advanced View->Product Uninst JVM RES->Install Location “_uninst/_jvm” – so I don’t have another directory under the install location, after all, it is used for the uninstaller!
Regards,
Tom
You may want to just use the bundle JVM for all your products and in the Application Data->Launchers->Advanced View->Product Uninst JVM RES-> Use Installed JVM = true, and this JVM will be used for all the uninstallers – that is if they all go to the same installation directory!
I don’t know if this will help but we do something similar where we have several products that go to the same location, I changed the Uninstaller Archives->Install Location in the General Information to “_uninst/Product” to avoid _uninst2, _uninst3, etc.. and in the Application Data->Launchers->Advanced View->Product Uninst JVM RES->Install Location “_uninst/_jvm” – so I don’t have another directory under the install location, after all, it is used for the uninstaller!
Regards,
Tom
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)