简体   繁体   English

Oracle 12c 客户端 Windows 10 64 位

[英]Oracle 12c client on Windows 10 64bit

I am trying to install the Oracle 12c 64bit client on a Windows 10 64bit PC.我正在尝试在 Windows 10 64 位 PC 上安装 Oracle 12c 64 位客户端。 Whenever I run the setup it just quickly pops up a DOS window then immediately closes it.每当我运行设置时,它都会快速弹出一个 DOS window 然后立即关闭它。 No error messages, nothing.没有错误信息,什么都没有。

I know there are a few command line switches to ignore the prereq checking, but they don't appear to do anything.我知道有一些命令行开关可以忽略先决条件检查,但它们似乎没有做任何事情。

Any tips are greatly appreciated...非常感谢任何提示...

The big question is 'what do you want the client for'?最大的问题是“你想要客户做什么”? Most users can just unzip the Oracle Instant Client package(s) and not need to run an installer.大多数用户只需解压缩 Oracle Instant Client 包,无需运行安装程序。 If the tools (not the OS) you use are 64-bit then install the 64-bit Instant Client fromhere , otherwise if the tools are 32-bit then install the 32-bit Instant Client from here .如果您使用的工具(不是操作系统)是 64 位,则从这里安装 64 位 Instant Client,否则如果工具是 32 位,则从这里安装 32 位 Instant Client。 Generic instructions are at the foot of each page, but check whether your tool etc has its own specific instructions.一般说明位于每页的底部,但请检查您的工具等是否有其特定说明。

The next question is do you really need the old 12c client?下一个问题是你真的需要旧的 12c 客户端吗? Since 19c Oracle Client libraries (including those in Oracle Instant Client) can connect to Oracle Database 11.2 or later, you can probably install the latest-and-greatest Instant Client (or "full" Oracle Client if you really need it).由于 19c Oracle Client 库(包括 Oracle Instant Client 中的库)可以连接到 Oracle Database 11.2 或更高版本,因此您可能可以安装最新最好的 Instant Client(或“完整”Oracle Client,如果您确实需要它的话)。

Try opening up a command prompt in the same directory as the Setup.exe file you are attempting to run, then just run the executable from the command line.尝试在与您尝试运行的 Setup.exe 文件相同的目录中打开命令提示符,然后从命令行运行可执行文件。 This should hopefully show what is popping up in the command prompt.这应该有希望显示命令提示符中弹出的内容。

Another option to try is right clicking on the Setup.exe file and selecting Run as Administrator .另一个可以尝试的选项是右键单击 Setup.exe 文件并选择Run as Administrator

Check following folders and delete them, if existing:检查以下文件夹并删除它们(如果存在):

  • %ProgramFiles%\\Oracle\\Inventory %ProgramFiles%\\Oracle\\Inventory
  • %TEMP%\\deinstall* %TEMP%\\卸载*
  • %TEMP%\\OraInstall* %TEMP%\\OraInstall*
  • %TEMP%\\CVU* %TEMP%\\CVU*

Then open a Command Line window as Administrator and start setup.exe from there - perhaps you get more information.然后以管理员身份打开命令行窗口并从那里启动 setup.exe - 也许您会获得更多信息。

After installation have a look at %TEMP%\\OraInstall* there you should find a detailed log file.安装后查看%TEMP%\\OraInstall* ,您应该可以找到详细的日志文件。

  1. Make sure you are running the executable from a local drive, not a removeable drive or mapped drive.确保您从本地驱动器运行可执行文件,而不是可移动驱动器或映射驱动器。
  2. Make sure you have the Microsoft Visual C++ 2010 x86 Redistributable installed.确保您已安装 Microsoft Visual C++ 2010 x86 Redistributable。

Switches for Oracle Client Install procedure Oracle 客户端安装程序的交换机

setup.exe -ignoreSysPrereqs setup.exe -ignoreSysPrereqs

That is to ignore higher version of Windows when install old Oracle Client.即在安装旧的 Oracle 客户端时忽略更高版本的 Windows。 On my experience - Oracle 10g client installation on Windows 10根据我的经验 - Oracle 10g 客户端安装在 Windows 10

as shown https://docs.oracle.com/cd/E18283_01/em.112/e12255/c_oui_appendix.htm如图所示https://docs.oracle.com/cd/E18283_01/em.112/e12255/c_oui_appendix.htm

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM