Uninstall a package silently using a response file

Use a response file to uninstall a package.

We must create a response file, see Record a response file with Installation Manager or Create a response file manually.

For information about command-line arguments, see Installation Manager command-line arguments for silent mode.

Procedure

To uninstall a package in silent mode:

  1. Open a command-line utility.

  2. Open the tools directory.

  3. Run the command:

    • Windows: imcl.exe input response_file -log log_file
    • Linux, UNIX, IBM i, ZOS and the Mac OS X: ./imcl input response_file -log log_file


Results

When the uninstallation is complete, a status of 0 is returned. If the process cannot be completed, a non-zero number is returned.

A log file for Installation Manager is available. For the default location of the log directory, see Agent data location.


Example

Operating system Command
Windows imcl.exe input c:\response_files\uninstall.xml -log c:\mylog\uninstall_log.xml -acceptLicense
Linux, UNIX, IBM i, z/OS, and the Mac OS X ./imcl input /response_files/uninstall.xml -log /mylog/uninstall_log.xml -acceptLicense

Enclose file paths that include spaces with double quotation marks.


Home