Skip to content

Commit 8cd653b

Browse files
committed
Some redistributable love
1 parent 4d0f040 commit 8cd653b

File tree

1 file changed

+20
-11
lines changed

1 file changed

+20
-11
lines changed

INSTALL.md

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -601,22 +601,31 @@ node select1.js
601601

602602
Node-oracledb binaries can be copied between compatible Windows systems.
603603

604-
Both computers must have the same version and architecture of Node.js.
604+
Both computers must also have the same version and architecture of Node.js.
605605

606-
Oracle client libraries of the same architecture and the same, or
607-
higher, version used for building node-oracledb should be in the
608-
destination computer's `PATH`.
606+
Oracle client libraries of the same architecture and the same version
607+
used for building node-oracledb should be in the destination
608+
computer's `PATH`.
609609

610610
After node-oracle has been built on the source computer, copy the
611-
`node_modules/oracledb` directory to the destination computer's
611+
`node_modules\oracledb` directory to the destination computer's
612612
`node_module` directory.
613613

614-
If node-oracledb was compiled using Visual Studio 2010 or higher, you
615-
will need to have the Visual C++ 2010 Redistributable installed on the
616-
destination computer. For older compilers, you will need the matching
617-
C++ redistributable version. For example, if you compiled with Visual
618-
Studio 2008, you will need the Visual Studio 2008 C++ Redistributable
619-
installed.
614+
The destination computer's `PATH` needs to include Visual Studio
615+
redistributables. If you used Oracle client 11.2 then the Visual
616+
Studio 2005 restributable is required. For Oracle client 12.1, use
617+
the Visual Studio 2010 redistributable.
618+
619+
You can also find out the version required by locating the library
620+
`OCI.DLL` on the source computer and running:
621+
622+
```
623+
dumpbin /dependents oci.dll
624+
```
625+
626+
The version of `MSVC*.DLL` in the output indicates which
627+
redistributable is required on the destination computer. For example,
628+
if you see `MSVCR100.dll` then you need the VC++ 10 redistributable.
620629

621630
## <a name="linuxadv"></a> 8. Advanced Installation on Linux
622631

0 commit comments

Comments
 (0)