Uninstalling Edge Components silently with IBM Installation Manager
Use Installation Manager to uninstall this product silently.
- Optional: Before you uninstall the product,
you can perform or record the installation of Installation Manager
and installation of the product to a temporary installation registry
on one of your systems so that you can use this temporary registry
to record the uninstallation without using the standard registry where
Installation Manager is installed.
Read Installing Edge Components with the IBM Installation Manager GUI or Installing Edge Components silently with IBM Installation Manager for more information.
- Stop all instances and services for the Edge Components products.
- Optional: Record a response file to uninstall
the product: On one of your systems, perform the following actions
to record a response file that will uninstall the product:
- From a command line, change to the eclipse subdirectory in the directory in which you installed Installation Manager.
- Start Installation Manager from the command line using the -record
option. For example:
-
Administrator or non-administrator:
IBMIM.exe -skipInstall "C:\temp\imRegistry" -record C:\temp\uninstall_response_file.xml
-
Administrator:
./IBMIM -skipInstall /var/temp/imRegistry -record /var/temp/uninstall_response_file.xml
-
Non-administrator:
./IBMIM -skipInstall user_home/var/temp/imRegistry -record user_home/var/temp/uninstall_response_file.xml
The -skipInstall operation should not be used on the actual agent data location used by Installation Manager. This is unsupported. Use a clean writable location, and re-use that location for future recording sessions.
For more information, read the Installation Manager Information Center.
-
- Click Uninstall.
- In the Uninstall Packages window, select the product and the appropriate version to uninstall. For example, select IBM WebSphere Edge Components: Caching Proxy or IBM WebSphere Edge Components: Load Balancer for IPv4.
- Click Next.
- Review the summary information.
- Click Uninstall.
- If the uninstallation is successful, the program displays a message that indicates success.
- If the uninstallation is not successful, click View log to troubleshoot the problem.
- Click Finish.
- Click File > Exit to close Installation Manager.
- Use the response file to uninstall the product silently. From
a command line on each of the systems from which you want to uninstall
the product, change to the eclipse/tools subdirectory in the directory
where you installed Installation Manager and use the response file
that you created to silently uninstall the product.
For example:
-
Administrator or non-administrator:
imcl.exe input C:\temp\uninstall_response_file.xml -log C:\temp\uninstall_log.xml
-
Administrator:
./imcl input /var/temp/uninstall_response_file.xml -log /var/temp/uninstall_log.xml
-
Non-administrator:
./imcl input user_home/var/temp/uninstall_response_file.xml -log user_home/var/temp/uninstall_log.xml
Go to the Installation Manager Information Center for more information.
-
- Optional: Uninstall IBM Installation Manager.
You must uninstall all of the packages that were installed by Installation
Manager before you can uninstall IBM Installation Manager.
Read >Uninstalling Installation Manager in the Installation Manager Information Center for information about performing this procedure.
Example: The following is a sample
response file for uninstalling Load Balancer for IPv4:
<?xml version="1.0" encoding="UTF-8" ?> <agent-input> <server> <repository location='C:\repositories\edge80\local-repositories'/> </server> <profile installLocation='c:\program files\loadbalancer\ibm\edge\lb'> <data key='eclipseLocation' value='c:\program files\loadbalancer\ibm\edge\lb'/> <data key='cic.selector.nl' value='en, fr, it, zh, ru, zh_TW, de, ja, pl, es, cs, hu, ko, pt_BR'/> </profile> <uninstall modify='false'> <offering id='com.ibm.websphere.EDGELBIPV4.v80' version='8.0.0.0' profile='IBM WebSphere Edge Components: Load Balancer for IPV4 V8.0' features='Dispatcher,Load Balancer,Metric Server'/> </uninstall> <preference name='com.ibm.cic.common.core.preferences.eclipseCache' value='C:\Program Files\IBM\IMShared'/> <preference value='30' name='com.ibm.cic.common.core.preferences.connectTimeout' /> <preference value='30' name='com.ibm.cic.common.core.preferences.readTimeout' /> <preference value='0' name='com.ibm.cic.common.core.preferences.downloadAutoRetryCount' /> <preference value='true' name='offering.service.repositories.areUsed' /> <preference value='false' name='com.ibm.cic.common.core.preferences.ssl.nonsecureMode' /> <preference value='false' name='com.ibm.cic.common.core.preferences.http.disablePreemptiveAuthentication' /> <preference value='true' name='com.ibm.cic.common.core.preferences.preserveDownloadedArtifacts' /> <preference value='false' name='PassportAdvantageIsEnabled' /> <preference value='false' name='com.ibm.cic.common.core.preferences.searchForUpdates' /> </agent-input>