Sun Java logo     Previous      Contents      Index      Next     

Sun logo
Sun Java Enterprise System Installation Guide for Microsoft Windows 

Chapter 10
Uninstalling the Software

This chapter provides instructions for uninstalling the Sun Java™ Enterprise System (Java ES) components that have been installed using the Sun Java Enterprise System installer.

This chapter includes the following sections:


Prerequisites

Before performing the tasks in this chapter, you should familiarize yourself with the entire uninstallation process and know the issues specific to your particular uninstallation situation.

If you are planning a silent uninstallation, you should be familiar with the process of silent installation. Refer to Chapter 8, "Installing the Software in Silent Mode".


Pre-uninstallation Tasks

The following table lists the tasks that you should perform before you begin uninstallation. Some of the tasks might not apply to your particular uninstallation situation.

The left column lists the order in which you should perform the tasks, the middle column describes the action to be taken, and the right column contains other useful information and the location of instructions.

Table 10-1  Pre-uninstallation Checklist 

Order

Task

Instructions and Helpful Information

1

Review the needs and behaviors of each component you are going to uninstall.

 

2

Review the software that has been installed on each host system by the Sun Java Enterprise System installer.

Running the Uninstall Program in Graphical Mode

3

Back up or archive configuration or user data for components you are uninstalling if you plan to reuse this data in subsequent installations.

 

4

Ensure that the Directory Server instance that hosts the configuration directory is running.

This Directory Server instance must be running so the uninstall program can unconfigure the components you are uninstalling.

5

If needed, gather administrator access information for Administration Server, Directory Server, and Access Manager.

“Administrator Access for the Uninstall Program” on page 6.

6

Identify component dependencies that result from configuration and take appropriate measures, such as backing up data, unconfiguring the dependent component from the supporting component, or uninstalling the components in the proper order.

Component Dependencies Resulting From Configuration

7

Before uninstalling a Messaging Server that has been installed on its own system, unconfigure Administration Server.

 


Running the Uninstall Program in Graphical Mode

After you have completed the relevant tasks in the Pre-uninstallation Tasks, you are ready to run the uninstall program.

    To Start the Windows Wizard/Graphical Uninstall Program
  1. Choose Start > Settings > Control Panel.
  2. Double-click Add or Remove Programs.
  3. Select Sun Java Enterprise Systems.
  4. Click Change/Remove.
  5. The Welcome screen to modify or remove program appears.

    Figure 10-1  Welcome Screen to Modify the Installed Components

    To Modify the Current Installation
  1. Select Modify from the Install shield wizard to add new program features or to remove the currently installed features.
  2. Click Next
  3. Component selection panel appears.

    Figure 10-2  Component Selection for Uninstallation

  4. Examine the components.
    • Components that are installed on your system are enabled and can be selected. Components that are not installed on your system are disabled and cannot be selected.
    • Some components contain subcomponents. Expand the components to view the subcomponents.
    • If you deselect a component that contains subcomponents, expand the component to verify the subcomponent list.
  5. Select the components you want to install and deselect the components that you want to uninstall. Click Next
  6. The uninstall program modifies the software.

    To Remove All the Installed Components
  1. Select Remove from the Install shield wizard.
  2. Figure 10-3  Welcome Screen to Remove the Installed Components

  3. Click Next.
  4. The confirmatory dialog box for Remove, appears.

    Figure 10-4  Confirmatory Dialog Box to Remove the Installed Components

  5. Click Yes to confirm Remove
  6. The Setup status screen appears followed by the Unconfigure dialog box. The products are unconfigured and the servers are stopped and removed.

  7. The Finish screen of the wizard appears. You can view the summary of installation or uninstallation details by clicking on View Summary button. Click Finish to exit setup for uninstallation.
  8. Figure 10-5  Finish Screen During Uninstallation


Running the Uninstall Program in Silent Mode

Silent uninstallation is useful for uninstalling Sun Java Enterprise System components on multiple hosts that share similar configurations. The procedure for uninstalling in silent mode is similar to the procedure for installing in silent mode as described in Chapter 8, "Installing the Software in Silent Mode".

    To Generate a Response File

To create a response file for the silent uninstallation, you must generate the file by first running a record uninstallation in graphical mode. Refer to Creating a Response File for details.

  1. Log in to the command prompt and go to the directory where the installer is located:
  2. cd <INSTALLDIR>

  3. Enter the command Setup.bat /r option to generate a response file inside the system's Windows folder.
  4. Running uninstallation with the command Setup.bat /r stores the data in a file called Setup.iss. By default, the .iss file is created in the Windows System Directory folder. You can specify an alternative response file name and location using the /f1 option.

  5. Enter /f1 to specify where the response file is to be created and to provide a name. Specify an absolute path for the file which takes the .iss extension.
  6. For example, Setup.bat /r /f1"C:\Temp\Setup.iss".

    Note

    An absolute path is required because using a relative path gives unpredictable results.

    All the information about the data entered and options selected by you at run time (for a record uninstall setup for Sun Java Enterprise System Windows installer) is recorded in the <filename>.iss or the default file name Setup.iss.

  7. The response file is ready for use with the options selected during the record uninstallation. The response file can be edited manually to modify the options recorded.
  8. You can now use the response file to start silent uninstallation.

  9. Log in to the command prompt and go to the directory where the installer is located:
  10. cd <INSTALLDIR>

  11. Enter the command Setup.bat /s option to initiate a silent mode uninstallation process.

    Note

    By default, the setup.iss file is created in Windows System Directory folder. You need to copy this file from the Windows System Directory folder to the folder where the setup.bat exists before starting silent uninstallation as setup.bat /s. Otherwise, it will return -3 error during the setup.


When running uninstallation in silent mode, a log file named Setup.log is created by default in the same directory where the setup.bat is located. If the /f1 option is used, a log file of the same name as the response file is created with .log extension.

  1. Enter /f2 to specify an alternative log file location and file name. Specify an absolute path for the file.

For example, Setup.bat /s /f2"C:\Setup.log".


Note

Specify an absolute path. Using a relative path gives unpredictable results.


While the installer is running, you can monitor its progress by examining changes to the installation log.



Previous      Contents      Index      Next     


Part No: 819-1652-10.   Copyright 2005 Sun Microsystems, Inc. All rights reserved.