Skip to content

Commit 39e7e7d

Browse files
committed
Some Windows PATH and other tweaks to installation instructions
1 parent 4dd746b commit 39e7e7d

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

INSTALL.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -508,9 +508,10 @@ see
508508

509509
## <a name="instwin"></a> 6. Node-oracledb Installation on Windows
510510

511-
An article
511+
**Note**: An Oracle Technology Network article
512512
[Installing node-oracledb on Microsoft Windows](https://community.oracle.com/docs/DOC-931127)
513-
has step-by-step Windows installation instructions.
513+
has step-by-step Windows installation instructions that you can
514+
alternatively refer to.
514515

515516
### 6.1 Install required tools
516517

@@ -556,9 +557,10 @@ default location used by the node-oracledb installer:
556557
ren C:\instantclient_12_1 C:\oracle\instantclient
557558
```
558559

559-
Add the directory to `PATH`. For example on Windows 7, update `PATH` in
560-
Control Panel -> System -> Advanced System Settings -> Advanced ->
561-
Environment Variables -> System variables.
560+
Add the directory to `PATH`. For example on Windows 7, update `PATH`
561+
in Control Panel -> System -> Advanced System Settings -> Advanced ->
562+
Environment Variables -> System variables -> `PATH` and add your path,
563+
such as `C:\oracle\instantclient`.
562564

563565
If you have multiple versions of Oracle libraries installed, make sure
564566
the desired version occurs first in the path.
@@ -581,8 +583,8 @@ Studio' which has environment variables already configured.
581583

582584
Tell the installer where to locate the Oracle client libraries and
583585
header files by setting the `OCI_LIB_DIR` and `OCI_INC_DIR` variables.
584-
585586
These variables are only needed during installation, not at run time.
587+
Do *not* add them to `PATH`.
586588

587589
For Instant Client use:
588590

@@ -600,7 +602,7 @@ set OCI_LIB_DIR=C:\oracle\product\12.1.0\dbhome_1\oci\lib\msvc
600602
set OCI_INC_DIR=C:\oracle\product\12.1.0\dbhome_1\oci\include
601603
```
602604

603-
Also make sure that `PATH` contains `C:\oracle\product\12.1.0\dbhome_1\bin`.
605+
In this case, also make sure that `PATH` contains `C:\oracle\product\12.1.0\dbhome_1\bin`.
604606

605607
If you are behind a firewall you may need to set your proxy, for
606608
example:

0 commit comments

Comments
 (0)