Software Distributor Administration Guide HP-UX 11i v1, 11i v2, and 11i v3 (5900-2561, March 2013)

Preremove Performs additional file operations, such as removing files created by a
preinstall script.
Postremove Performs additional remove operations (such as restoring "rollback" files)
immediately after a fileset or product has been removed.
For more information, see Chapter 11: “Using Control Scripts ” (page 207).
swremove does not perform automatic unconfiguration when you remove software from
alternate roots.
3.3.2 Using the swremove GUI
This section provides an overview of the swremove GUI.
In general, all information presented in “Removing Installed Software (swremove)” (page 78)
also applies to the swinstall GUI.
This section refers to additional information about standard GUI elements, discussed in “Using
the GUI and TUI Commands” (page 23).
All information in this section also applies to the TUI program unless otherwise noted. See
“The Terminal User Interface” (page 23).
The swremove command behaves slightly differently when removing from primary root file systems,
alternate root file systems, and depots. Interface changes for depot remove operations are
summarized in “Removing Software from Depots” (page 102).
There are four steps in the removal process:
Table 18 GUI Removal Steps
Start the swremove GUI.I. Start-Up
Choose the software to remove.II. Select Software
Analyze (preview) the removal to determine if the selected software can
be successfully removed.
III. Analysis (Preview)
Perform the actual removal.IV. Removal
Step I: Start-Up
To start the GUI or TUI for an removal session, type:
/usr/sbin/swremove
The GUI is automatically invoked unless you also specify software on the command line. To invoke
the GUI and specify software, include the -i option. For example, to use the GUI for a preview
(analysis only) session with BUNDLE1, type:
swremove -i -p /MyDepot/BUNDLE1
The Software Selection window appears.
Step II: Selecting Software
In this step, you use the Software Selection window to select the software you want to remove.
3.3 Removing Installed Software (swremove) 79