Oracle Instant client in visual studio setup project
<p>I have a Visual Studio solution with mixed C# / C++ projects in it.
The created software is using ODBC connection to Oracle DB.</p>

<p>I need to create a new Setup Project inside this solution which will work as single click setup kit.
The easiest I found is using Oracle Instant Client. So I selected the smallest footprint that Oracle needs to be able to add Oracle driver to the ODBC list (<a href="http://i.stack.imgur.com/qAexm.png" rel="nofollow">Oracle files list screenshot</a>):</p>

<ol>
<li>oci.dll, ociw32.dll, oraociicus12.dll, oraons.dll, sqora32.dll, sqoras32.dll, sqresus.dll</li>
<li>odbc_install.exe, odbc_uninstall.exe</li>
</ol>

<p>I created a special folder for all above files.
In order to add Oracle driver to ODBC list, I need to run "odbc_install.exe" during the installation, so in "Custom Actions"
<a href="http://i.stack.imgur.com/GZ6EI.png" rel="nofollow">screenshot</a>.</p>

<p>For some reason, when I run the setup kit on the new brand Windows I don't see the Oracle ODBC driver in the list, so I suppose that setup fails to run "odbc_install.exe", but I don't see why, since I don't know how to check the error code of setup.</p>

<p>Did anyone used Oracle Instant Client in Visual Studio "Setup Project" ?</p>

<p>Any suggestions are very welcome!!!</p>