How to Install Oracle 11g Client silent on Windows 8/8.1
You can do a manual install, by clicking "Yes", but when trying to run with a responsefile this popup would block the entire installation.
We had to do a deployment on 100+ computers and weren't to pleased by the task of doing them manually.
This is how I did it:
1. Modified "11gx86Win8\stage\cvu\cvu_prereq.xml" and "11gx86Win8\stage\cvu\oracle.client_InstantClient.xml" and added
NAME VALUE="Windows 8.1"
OPERATING_SYSTEM RELEASE="6.3"
2. Replaced "11gx86\stage\Queries\PrerequisiteQueries\1.1.12\1\PrerequisiteQueries.jar"
with the one from the Oracle 12c Client. (Copy and Replace)
3. Then I ran the entire installation in Windows 7 compatibility mode.
4. Installed as "System" with System Center 2012. This will also suppress the annoying java firewall popup during the install.
My installation script look like this:
set Currentdir=%~dp0
set setuppath=%CurrentDir%Setup.exe
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%setuppath%" /t reg_sz /d "WIN7RTM" /F >NUL
"%~dp0setup.exe" -silent -nowelcome -noconsole -waitforcompletion -noconfig -responseFile "%~dp0response.rsp"
xcopy /y "%~dp0tnsnames.ora" "C:\Oracle\product\11.2.0\client_1\network\admin\"
-
there might have been easier ways, but you sorted it. That's the main thing I guess. - Badger 9 years ago
-
BTW, you have made a mistake in using a local TNSNAMES.ORA. Most Oracle users would opt for a network location and change the relevant 'pointers' to it and, in my experience, have the DBAs maintain it. Local copies will be a complete nightmare to administer. - anonymous_9363 9 years ago
Answers (3)
Alternatively, read the documentation, where it details the -ignoreSysPrereqs argument.
Comments:
-
That is indeed a truly radical solution, which will only serve to save lots of time for those who prefer to do things the hard way...... - EdT 9 years ago