IBM Support

How to trigger "Delete Files for Rollback" feature from the command line

Question & Answer


Question

How do you delete the IBM Installation Manager Saved Files from the command line?

Cause

In order for Installation Manager to delete the "Saved Files" for the Rollback feature, you must apply one of the following options.

Option #1: Use the Installation Manager GUI mode to delete the files

Installation Manager > File > Preferences > Files for Rollback > Press the Delete Saved Files

Option #2: Successfully Install/Remove an offering product when the "Save files for rollback" feature is disabled.

Answer

To simplify the second option and allow Installation Manager users to delete the "Saved Files" from the command line, you can used the below instructions.

  1. Download the attached package (deleteFilesForRollback.zip).
  2. Extract the files to a temp directory
  3. Exit Installation Manager
  4. Open a command line
  5. Go the temp directory that was created in step #2
  6. Run doit.bat

Operating System Notes:

  • For Windows users, if Installation Manager was not installed in the default directory ("C:\Program Files\IBM\Installation Manager"), you must correct the Installation Manager installed directory in the doit.bat script.
  • For UNIX/Linux users, use /opt/IBM/InstallationManager/eclipse/IBMIMc.exe --launcher.ini /opt/IBM/InstallationManager/eclipse/silent-install.ini -input deleteFilesForRollback.xml -showprogress -log iminstall.log command and modify the installed path in the deleteFilesForRollback.xml file.

[{"Product":{"code":"SSDV2W","label":"IBM Installation Manager"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Roll Back","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"1.3.3","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

More support for:
IBM Installation Manager

Software version:
1.3.3

Operating system(s):
AIX, HP-UX, Linux, Solaris, Windows

Document number:
402899

Modified date:
25 October 2021

UID

swg21424902

Manage My Notification Subscriptions