Skip to content

Commit d7d83e3

Browse files
committed
docs: first pass instructions for msi install
1 parent 2c4377a commit d7d83e3

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

distributions/README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,21 @@ done
7474
```
7575

7676
#### Packages
77-
If a distribution provides linux packages (refer to its README), you can follow the instructions below to install them (using the `host` distribution as an example).
77+
If a distribution provides windows installers or linux packages (refer to its README), you can follow the instructions below to install them (using the `host` distribution as an example).
7878

7979
> Note: `systemd` is required for automatic service configuration.
8080
81+
#### MSI Installation
82+
```powershell
83+
set collector_distro="nrdot-collector-host"
84+
set collector_version="1.5.0"
85+
set collector_arch="x64"
86+
set license_key="YOUR_LICENSE_KEY"
87+
88+
iwr "https://github.com/newrelic/nrdot-collector-releases/releases/download/${collector_version}/${collector_distro}_${collector_version}_windows_${collector_arch}.msi" -OutFile "collector.msi"
89+
msiexec /i "collector.msi" NEW_RELIC_LICENSE_KEY="$license_key"
90+
```
91+
8192
##### DEB Installation
8293
```bash
8394
export collector_distro="nrdot-collector-host"

0 commit comments

Comments
 (0)