3 Deinstalling Oracle Forms and Reports

Follow the instruction in this chapter to deinstall Oracle Forms and Reports.

It is recommended that you always use the instructions provided in this chapter to remove the software. If you try to remove the software manually, you may encounter problems when you try to reinstall the software again at a later time. Following the procedures in this chapter will ensure that the software is properly removed. If you need to remove a particular product component, you must remove the entire domain containing the component. It is not possible to remove a single product from a domain containing multiple products.

The following topics are covered:

3.1 Preparing to Deinstall Oracle Forms and Reports

Before deinstalling Oracle Fusion Middleware software components, it is recommended that you stop all servers and processes associated with the Oracle home you are going to remove..

See Starting and Stopping Oracle Fusion Middleware in Administering Oracle Fusion Middleware.

3.2 Dropping the Associated Repository

If you do not need the repository and is not shared, you can drop the associated repository.

Before running the Oracle Forms and Reports deinstaller, you should drop the repository by following the instructions as described in Dropping Schemas in Creating Schemas with the Repository Creation Utility.

Starting Repository Creation Utility (RCU)

You can start RCU, by navigating to the ORACLE_HOME/oracle_common/bin directory.

On UNIX operating systems:
cd ORACLE_HOME/oracle_common/bin
./rcu
On Windows operating systems:
cd ORACLE_HOME\oracle_common\bin
rcu.bat

Note:

Schemas should not be dropped if the associated domain will be used for other components. Only drop schemas when the domain is to be deleted. Dropping the repository schemas will also delete all data stored in them.

3.3 Deinstalling the Software

This section contains instructions to start the product deinstaller and remove Oracle Forms and Reports.

When you start the deinstaller from Oracle home, be sure that no system components are using the Oracle home you want to remove.

If you want to perform a silent (command-line) deinstallation, see Running the Oracle Universal Installer for Silent Deinstallation in Installing Software with the Oracle Universal Installer.

3.3.1 Starting the Deinstallation Program

Follow the instructions to start the Oracle Forms and Reports deinstaller.

The method you use to start the deinstallation program depends on your operating system: Windows or UNIX.
To start the deinstaller:
  1. On UNIX
    On the command line, enter the following commands:
    cd ORACLE_HOME/oui/bin
    ./deinstall.sh
    
  2. On Windows
    Do one of the following:
    1. Use a file manager window to navigate to the ORACLE_HOME\oui\bin directory and double-click deinstall.cmd.
    2. Open a command prompt and enter the following commands:
      cd %ORACLE_HOME%\oui\bin
      deinstall.cmd
      
    3. From the Start menu, select All Programs, then Oracle, then OracleHome, and then Uninstall Oracle Software.
The Oracle Forms and Reports Deinstaller opens.

3.3.2 Navigating the Deinstallation Screens

The deinstaller displays a series of screens to confirm the deinstallation of Oracle Forms and Reports.

If you need help on screens listed in the following table, click Help on the screen.

Table 3-1 Deinstallation Screens and Descriptions

Screen Description
Welcome Introduces you to the product deinstaller. The deinstallation Welcome screen contains a navigation pane on the left that summarizes the tasks the deinstaller will help you complete.
Deinstallation Summary

Shows the Oracle home directory and its contents that will be deinstalled. Verify that this is the correct directory.

If you want to save these options to a response file, click Save Response File and enter the response file location and name. You can use the response file later during a silent deinstallation. See Running the Oracle Universal Installer for Silent Deinstallation in Installing Software with the Oracle Universal Installer.

Click Deinstall, to begin removing the software.

Deinstallation Progress Shows the deinstallation progress.
Deinstallation Complete Appears when the deinstallation is complete. Review the information on this screen, then click Finish to close the deinstaller.

You should repeat the steps in Starting the Deinstallation Program and this section, for each product (Forms, Reports) in the Oracle home you want to deinstall.

3.4 Removing the Oracle Home Directory Manually

After you deinstall the software, you must manually remove your Oracle home directory and any existing subdirectories that the deinstaller did not remove.

For example, if your Oracle home directory is/home/Oracle/product/ORACLE_HOME on a UNIX operating system, enter the following commands:

 cd /home/Oracle/product
 rm -rf ORACLE_HOME

On a Windows operating system, if your Oracle home directory is C:\Oracle\Product\ORACLE_HOME, use a file manager window and navigate to the C:\Oracle\Product directory. Right-click the ORACLE_HOME folder and select Delete.

3.5 Removing the Program Shortcuts on Windows Operating Systems

On Windows operating systems, you must also manually remove the program shortcuts from the Start Menu\Programs folder; the deinstaller does not remove them.

To remove the program shortcuts on Windows:

  1. Go to the C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Oracle\ORACLE_HOME\Product directory.

  2. If you only have one product installed in your Oracle home, delete the ORACLE_HOME directory. If you have multiple products installed in your Oracle home, delete all products before you delete the ORACLE_HOME directory.

Note:

The program shortcuts and folder names on your system may be different; you have to remove them from C:\ProgramData\Microsoft\Windows\Start Menu\Programs.

Rebooting Your System (Windows Operating Systems)

On Windows operating systems, you should reboot your computer after you have finished removing all your programs to ensure proper cleanup.

3.6 Removing the Domain and Application Data

After you deinstall the software, you must manually remove your domain and application data.

To remove the domain and application data:
  1. Remove your Domain home directory. Use your normal operating system commands to remove your Domain home directory, for example:

    On a UNIX operating system, if your Domain home directory is /home/Oracle/config/domains/frs_domain, enter the following command:

    cd /home/Oracle/config/domains

    rm -rf frs_domain

    On a Windows operating system, if your Domain home directory is C:\Oracle\Config\domains\frs_domain, use a file manager window and navigate to the C:\Oracle\Config\domains directory. Right-click on the frs_domain folder and select Delete.

  2. Remove your Application home directory. For example:

    On a UNIX operating system, if your Application home directory is /home/Oracle/config/applications/frs_domain, enter the following commands:

    cd /home/Oracle/config/applications

    rm -rf frs_domain

    On a Windows operating system, if your Application home directory is C:\Oracle\Config\applications\frs_domain, use a file manager window and navigate to the C:\Oracle\Config\applications directory. Right-click on the frs_domain folder and select Delete.

  3. Back up the domain_registry.xml file in your Oracle home, then edit the file and remove the line associated with the domain that you are removing. For example, to remove the frs_domain, find the following line and remove it:
    <domain location="/home/Oracle/config/domains/frs_domain"/>
    

    Save and exit the file when you are finished.

3.7 Reinstalling the Software

You can reinstall your software into the same Oracle home as a previous installation only if you deinstalled the software according to the instructions in this chapter, including manually removing the Oracle home directory.

When you reinstall, you can then specify the same Oracle home as your previous installation.

Consider the following cases where the Oracle home is not empty:

  • Installing in an existing Oracle home that contains the same feature sets.

    The installer warns you that the Oracle home that you specified during installation already contains the same software you are trying to install. Your options are to:

    1. Select a different installation type. In this case, only the feature sets that do not exist in the Oracle home directory are installed.

    2. Select a different Oracle home directory.

  • Installing in an existing, non-empty Oracle home.

    For example, suppose you chose to create your Domain home or Application home somewhere inside your existing Oracle home. This data is not removed during the deinstallation process, so if you try to reinstall into the same Oracle home, the installer does not allow it. Your options are to:

    1. Deinstall your software from the Oracle home as described in this chapter and then remove the Oracle home directory. After you deinstall the software and remove the Oracle home directory, you can reinstall and reuse the same Oracle home location, using the instructions in Installing and Configuring Oracle Forms and Reports. Any domain or application data that was in the Oracle home must be re-created.

    2. Select a different Oracle home directory.