# Installing WebLogic RFID Enterprise Server

# Uninstalling the Software

The following sections provide procedures for uninstalling the software:

- About the Uninstallation Program
- Uninstalling Your Software in Graphical Mode
- Uninstalling Your Software in Console Mode
- Reinstalling Your Software

## About the Uninstallation Program

The following sections describe how to uninstall your BEA software on Windows and UNIX systems. You can uninstall the software using graphical or console mode. To run the graphical-mode uninstallation program, your console must support a Java-based GUI. If the uninstallation program determines that your system cannot support a Java-based GUI, it automatically starts running in console mode.

Note: | When uninstalling WebLogic RFID Enterprise Server you cannot select individual components, all components are selected.

The uninstallation program does not remove the BEA Home directory associated with the installation or the JDK. Only components installed by the installation program can be removed by the uninstallation program. the program does not delete user-created configuration files, application files, or domains or remove any files or directories related to the domains created or modified by the WebLogic RFID Enterprise Server Configuration Wizard.

Note: | The installation program installs the RFID Edge Server Administration Console which resides in the product installation directory. If you run the uninstallation program, the Console is removed. Therefore, run the uninstallation program only when you no longer intend to use any of the product components.

## Uninstalling Your Software in Graphical Mode

To uninstall the complete product installation, or individual components, start the uninstallation program as described in Table 9-1.

Table 9-1 Starting the Uninstallation Program in Graphical Mode
To start the uninstallation program on this platform . . . | Perform the following steps . . .
--- | ---
Windows | From the Windows Start menu, choose Start Programs BEA WebLogic RFID Enterprise Server <version > Uninstall RFID Enterprise Server. The BEA Uninstaller Welcome window is displayed. Proceed to step 3.
UNIX | Change directory (`cd`) to a location that is not under `BEA_HOME` or `RFID_ENTERPRISE_HOME` (the directory in which you installed your WebLogic RFID Enterprise Server software.) For example, if `BEA_HOME` is `/usr/local/bea`, and `RFID_ENTERPRISE_HOME` is `/usr/local/bea/rfid_enterprise20`, you could use `/usr/local` as the location; for example:
    # cd /user/local
Run the `uninstall.sh` script located in the following directory: `RFID_ENTERPRISE_HOME/uninstall` For example: `# ./bea/rfid_enterprise20/uninstall/uninstall.sh` The BEA Uninstaller Welcome window is displayed.
Note: | If your system supports a graphical user interface, the uninstallation program starts in graphical mode. If your system does not support a graphical user interface, the uninstallation program starts in console mode. If console mode is started, see Uninstalling Your Software in Console Mode for instructions.

1. Click Next to start the uninstall program.
2. In the Choose Components window, all components are selected by default. You cannot select individual components. Either click Next to begin uninstalling all components, or click Exit to exit the program.

Note: | When you click Next, you have committed to uninstalling the components. There is no confirmation dialog box. If you do not want to uninstall all components, click Exit now.

3. Optionally, click Details to view the log file that lists the uninstalled components.
4. Click Done in the BEA Uninstaller window to exit the uninstallation program.

## Uninstalling Your Software in Console Mode

To uninstall the complete product installation, or individual components, by using the command-line interface, start the uninstallation program as described in Table 9-2.

Table 9-2 Starting the Uninstallation Program in Console Mode
To start the uninstallation program on this platform . . . | Perform the following steps . . .
--- | ---
Windows | Open a Command Prompt window and go to a directory that is not under `BEA_HOME` or `RFID_ENTERPRISE_HOME` (the directory in which you installed your WebLogic RFID Enterprise Server software.) For example, if `BEA_HOME` is `c:\bea`, and `RFID_ENTERPRISE_HOME` is `c:\bea\rfid_enterprise20`, you could use `c:\` as the location; for example:
    # cd c:\
Run the `uninstall` command located in the following directory: `RFID_ENTERPRISE_HOME\uninstall` For example: `> c:\bea\rfid_enterprise20\uninstall\uninstall -mode=console` The Welcome text is displayed.
UNIX | Change directory (`cd`) to a location that is not under `BEA_HOME` or `RFID_ENTERPRISE_HOME` (the directory in which you installed your WebLogic RFID Enterprise Server software.) For example, if `BEA_HOME` is `/usr/local/bea`, and `RFID_ENTERPRISE_HOME` is `/usr/local/bea/rfid_enterprise20`, you could use `/tmp` as the location; for example:
    # cd /tmp
Run the `uninstall.sh` script located in the following directory: `RFID_ENTERPRISE_HOME/uninstall` For example: `# /usr/local/bea/rfid_enterprise20/uninstall/uninstall.sh -mode=console` The Welcome text is displayed.

1. Press Enter or type `next` to proceed to the next panel of the uninstallation program.

Note: | Instead of typing complete words when you want to enter `[Exit]`, `[Previous]`, and `[Next]`, you can use the following one-letter shortcuts: `x`, `p`, and `n`, respectively.

2. In the Choose Components window, select the components you want to uninstall. By default, all installed components are selected, indicating that they will be removed. You should remove all components.
3. Press Enter or type `next` to proceed with the uninstallation process.
4. When the uninstallation process is complete, press Enter or type `exit` to complete the uninstallation and exit the uninstallation program.

## Reinstalling Your Software

You cannot reinstall the same version of any BEA product on top of a previously installed version of the same product in the same BEA Home directory or in the same file location. You can, however, add products and product components to an existing installation. For example, you can install WebLogic Server during one installation, and WebLogic RFID Enterprise Server during a separate installation.

To reinstall the same version of one of the product components or the entire distribution in the same location, you must first uninstall the previous installation.

If you try to install a complete copy of a BEA product's software in a BEA Home directory that already contains a complete installation, an error message is displayed. Click or type `OK` to return to the Choose BEA Home directory prompt.

At the prompt, choose one of the following options:

- To continue installing the software using a different BEA Home directory, select an existing BEA Home directory that does not contain a previous installation, or create a new BEA Home directory.
- Exit the installation program. If you want to reinstall your BEA Products software in the same BEA Home, you must uninstall the previous installation. You can invoke the uninstallation program appropriate for your platform, as described in one of the following sections:

- Uninstalling Your Software in Graphical Mode
- Uninstalling Your Software in Console Mode

Then reinstall the software as described in Starting the Installation Program.