4 Deinstalling Oracle Forms
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:
Preparing to Deinstall Oracle Forms
Before deinstalling Oracle Fusion Middleware software components, you must 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.
Dropping the Associated Repository
Before deinstalling Oracle Forms, drop the associated repository using the Repository Creation Utility.
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.To drop the repository:
- From a command prompt, navigate to the correct directory, then launch the Repository Creation Utility:
On UNIX/Linux:
cd ORACLE_HOME/oracle_common/bin ./rcu
On Windows:cd ORACLE_HOME\oracle_common\bin rcu.bat
- From the utility, follow the prompts for Drop Repository.
See Dropping Schemas in Creating Schemas with the Repository Creation Utility for more information.
Deinstalling the Software
This section contains instructions to start the product deinstaller and remove the Oracle Forms and Reports software.
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.
Starting the Deinstallation Program
Run the Oracle Forms and Reports software deinstaller.
The method you use to start the deinstallation program depends on your operating system: Windows or UNIX.
To start the deinstaller:
- On UNIX
On the command line, enter the following commands:
cd ORACLE_HOME/oui/bin ./deinstall.sh
- On Windows
Do one of the following:
- Use a file manager window to navigate to the
ORACLE_HOME\oui\bin
directory and double-clickdeinstall.cmd
. - Open a command prompt and enter the following commands:
cd %ORACLE_HOME%\oui\bin deinstall.cmd
- From the Start menu, select All Programs, Oracle, OracleHome, then Uninstall Oracle Software, to open the Oracle Forms Deinstaller.
- Use a file manager window to navigate to the
Note:
Rerun the deinstaller a second time to deinstall Fusion Middleware Infrastructure. Do not deinstall Fusion Middleware Infrastructure without first deinstalling Forms and Reports software.Navigating the Deinstallation Screens
The deinstaller displays a series of screens to confirm the deinstallation.
If you need help on screens listed in the following table, click Help on the screen.
Table 4-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. |
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.
Program Shortcuts and Registry on Windows Operating Systems
On Windows operating systems, you must manually remove program shortcuts from the Start Menu\Programs
folder as well as any custom Windows Registry entries. The deinstaller does not remove them.
Removing Program Shortcuts
To remove the program shortcuts on Windows:
- Go to the
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Oracle\ORACLE_HOME\Product
directory. - 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 theORACLE_HOME
directory.Note:
The program shortcuts and folder names on your system may be different; you have to remove them fromC:\ProgramData\Microsoft\Windows\Start Menu\Programs
. - Reboot your computer.
Deleting Windows Registry Entries
Custom entries added to HKEY_CURRENT_USER\Software\Oracle\KEY_OracleHome<NUMBER>
are not automatically deleted by the deinstallation process. Such entries can be manually deleted as desired.
WARNING:
Improperly altering the Microsoft Windows Registry can result in damage to the operating system. Use extreme care when making changes to the Windows Registry. Creating a Registry backup is recommended before making any changes. Refer to the Microsoft Windows documentation for information on how to create and use Registry backups.You should reboot your computer after you have finished removing custom entries to ensure proper cleanup.
Removing the Domain and Application Data
After you deinstall the software, you must manually remove your domain and application data.
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:
-
Select a different installation type. In this case, only the feature sets that do not exist in the Oracle home directory are installed.
-
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:
-
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. Any domain or application data that was in the Oracle home must be re-created.
-
Select a different Oracle home directory.
-