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
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: Standalone uninstaller
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
‎Apr 17, 2012
05:42 AM
Standalone uninstaller
Hi Everyone, we are using IA 2011 Enterprise edition and wish to create a standalone uninstaller for our J2EE apps. By standalone I mean, an uninstall exe created during the build phase similar to an installer. IA does create an uninstaller following a successful installation but deletes it after it is run once. My need is for the uninstaller to be present always.
Reason for this is that, the installation of the application is multi-part and is spread across multiple machines. Typical flow -
1. User logs in to the database machine and asks the installer to only apply the database scripts
2. He then transfers the installer to the LDAP machine and configures only the LDAP
3. Finally, transfers the installer to the application server machine and deploys the EARs and WARs.
As you might have figured out, I haven't enabled a 'remote or single click' installation but rather require the user to run the installer multiple times on appropriate boxes, asking the installer to carry out tasks specific to that box.
So what follows is for the uninstaller to support a multi-part uninstallation - which is why I need a separate executable for the uninstaller generated via the build process.
Reason for this is that, the installation of the application is multi-part and is spread across multiple machines. Typical flow -
1. User logs in to the database machine and asks the installer to only apply the database scripts
2. He then transfers the installer to the LDAP machine and configures only the LDAP
3. Finally, transfers the installer to the application server machine and deploys the EARs and WARs.
As you might have figured out, I haven't enabled a 'remote or single click' installation but rather require the user to run the installer multiple times on appropriate boxes, asking the installer to carry out tasks specific to that box.
So what follows is for the uninstaller to support a multi-part uninstallation - which is why I need a separate executable for the uninstaller generated via the build process.
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 17, 2012
06:30 AM
Hi,
I'm not sure I understood all your needs, but you may use the partial uninstaller (Choose Feature to Uninstall) panel available in Pre-Uninstall phase actions.
Otherwise, you may also have a look to $SKIP_UNINSTALL$ variable (check documentation about it) which will allow you to do some uninstall actions but keeps the uninstall executable.
--Jerome
I'm not sure I understood all your needs, but you may use the partial uninstaller (Choose Feature to Uninstall) panel available in Pre-Uninstall phase actions.
Otherwise, you may also have a look to $SKIP_UNINSTALL$ variable (check documentation about it) which will allow you to do some uninstall actions but keeps the uninstall executable.
--Jerome
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 23, 2012
01:53 AM
Hi ashw_r,
InstallAnywhere does not provide a Standalone Uninstaller.
Uninstaller gets installed as a part of installation itself.
Thanks,
Madhav Pai
InstallAnywhere does not provide a Standalone Uninstaller.
Uninstaller gets installed as a part of installation itself.
Thanks,
Madhav Pai
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 04, 2012
04:26 AM
Thanks jerome_IA and madhavbantwal for your replies. For the benefit of others, we decided to implement it this way -
1. Moved all the uninstall actions to the pre-uninstall phase
2. Set the $SKIP_UNINSTALL$ to true always
This way the uninstaller exe never got deleted which sort of solved my purpose. There was a drawback in this approach - the user never see an "Uninstall" button. Only the "next" and "previous" buttons are displayed and finally a "done" button to signify the end of the install.
1. Moved all the uninstall actions to the pre-uninstall phase
2. Set the $SKIP_UNINSTALL$ to true always
This way the uninstaller exe never got deleted which sort of solved my purpose. There was a drawback in this approach - the user never see an "Uninstall" button. Only the "next" and "previous" buttons are displayed and finally a "done" button to signify the end of the install.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 04, 2012
04:40 AM
ashw_r wrote:
Thanks jerome_IA and madhavbantwal for your replies. For the benefit of others, we decided to implement it this way -
1. Moved all the uninstall actions to the pre-uninstall phase
2. Set the $SKIP_UNINSTALL$ to true always
This way the uninstaller exe never got deleted which sort of solved my purpose. There was a drawback in this approach - the user never see an "Uninstall" button. Only the "next" and "previous" buttons are displayed and finally a "done" button to signify the end of the install.
There is a minor issue with the $SKIP_UNINSTALL$:
=> When ran in console mode, at least PRODUCT_NAME variable is not resolved in Uninstall Complete message. So you may have this displayed:
"All items were successfully uninstalled.$PRODUCT_NAME$"
--Jerome
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 04, 2012
04:49 AM
I didn't notice this particularly but it wasn't a deterrent as I overrode the static text under resources/i18n to display a customized message.
jerome_IA wrote:
There is a minor issue with the $SKIP_UNINSTALL$:
=> When ran in console mode, at least PRODUCT_NAME variable is not resolved in Uninstall Complete message. So you may have this displayed:
"All items were successfully uninstalled.$PRODUCT_NAME$"
--Jerome