# Oracle Data Provider for .NET, Managed Driver for ODAC 12c Release 3

Xcopy Installation Guide

Release 12.1.0.2.0 for ODAC 12c Release 3

#### December 2014

#### Copyright (c) Oracle Corporation 2014

This document provides information regarding the contents on the zip file and the steps required to setup ODP.NET, Managed Driver xcopy installation.

## General Information

1. The files of this zip file are NOT to be installed on top of an existing Oracle Universal Installer (OUI) based Oracle Home installation.
2. After unzipping the files, the product must be installed and configured by executing install_odpm.bat.

## Installation Instructions

1. Download the ODP.NET, Managed Driver (xcopy version) zip file to a directory for staging.
2. Unzip ODP.NET, Managed Driver (xcopy version) zip file to expand the contents to your target install location.
   The following directories will be created:
   a) odp.net - ODP.NET, Managed Driver files
   b) network - sample .ORA files (i.e. tnsnames.ora and sqlnet.ora)
3. Execute install_odpm.bat to install and configure Oracle Data Provider for .NET, Managed Driver.
   Note: Depending on the components to install/configure, administrative level privileges may be required. Oracle recommends running the batch file under the "Run as Administrator" context.
   install_odpm.bat takes the following arguments:
   install_odpm.bat oracle_home_path platform [machine_wide_configuration]
   Valid values for the required platform argument are : x86, x64, and both.
   Valid values for the optional machine_wide_configuration argument are : true and false.
   If machine_wide_configuration option is true, ODP.NET assemblies are placed into the GAC and machine.config is configured, which impacts the entire machine. However, if machine_wide_configuration option is false, ODP.NET assemblies are not placed into the GAC and machine.config is not modified.
   For example, executing
   install_odpm.bat c:\oracle x64 false
   where machine_wide_configuration=false will install ODP.NET, Managed Driver to c:\oracle, but assemblies for ODP.NET, Managed Driver will not be placed into the GAC and machine.config will not undergo any changes.
   If machine wide configuration is not selected, customers may be required to configure the application's web/app.config (for the configSections, DbProviderFactories, provider specific configuration sections, etc.). Customers will also need to evaluate the usage of GAC for ODP.NET assemblies as ODP.NET installations into the GAC can force applications to load those ODP.NET assemblies in the GAC over those located in the application's bin directory.

## Uninstallation Instructions

1. Execute uninstall_odpm.bat from the Oracle Home installation directory to unconfigure and uninstall Oracle Data Provider for .NET, Managed Driver.
   uninstall_odpm.bat takes the following arguments:
   uninstall_odpm.bat oracle_home_path platform [machine_wide_unconfiguration]
   Valid values for the required platform argument are : x86, x64, and both.
   Valid values for the optional machine_wide_unconfiguration argument are : true and false.
   For example,
   uninstall_odpm.bat c:\oracle both true
   where "c:\oracle" is the installation directory.
   The same machine_wide_configuration option that was provided to install.bat must be provided to uninstall_odpm.bat

## Notes

1. The install and uninstall scripts log all operations to the destination directory's install.log and uninstall.log.