Click here to Skip to main content
15,881,715 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have Created a windows based application using C# and Oracle 10G now I want to prepare a exe file for my application. That mean when I install my application to other PC my application and database for that application both are installed on their pc can any one guide me how to make that .exe file
Posted

1 solution

go through the following steps :

a. Download the "Oracle Instant Client 11.1.0.6 - Basic Lite". b. unzip to any folder and copy the following files to your Visual Studio project root:

oci.dll
ociw32.dll
orannzsbb11.dll
oraocci11.dll
oraociicus11.dll

msvcr71.dll (not necessary, should be supplied with most Windows versions)

(the first five are the minimum needed for the Oracle Instant Client, the last is the microsoft common runtime they use.)

c. Download the ODAC 11 XCopy (the current version is 11.1.0.6) and unzip.

OraOps11w.dll - in the odp.net20 folder, goes in your project root.

(this file is what the Oracle.DataAccess.dll talks to and uses to work with the Instant Client files).

d. For compatibility with ClickOnce deployment, select these files in your project and make sure they are "Content" and "Copy Local" in your project. The manifest will then deploy them properly.

The following link describes the complete solution


http://stackoverflow.com/questions/923283/what-is-the-minimal-setup-required-to-deploy-a-net-application-with-oracle-clie[^]
 
Share this answer
 
Comments
Member 10784192 19-Jun-14 3:59am    
after all this how to integrate my database with my setup exe...???

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900