Remote Install NCache
To install NCache remotely, you need to use the PowerShell script InstallNCache.ps1. You can find this script on GitHub.
Prerequisites
- All remote machines must be logged in as an Administrator.
- The NCache setup msi file must be placed in the same location on all remote machines.
Remote Installation
To remotely install NCache, do the following:
Download the GitHub repository.
From the machine from where you’re installing NCache remotely, run PowerShell as an administrator.
Go to the path where you have downloaded the GitHub repository and open the scripts folder.
Execute either of the following commands, modifying the values according to your environment. Note that these examples install the Cache Server with credentials for John Smith. It is assumed that NCache is installed on the default path C:/Program Files.
Note
Make sure that the email address provided is the one used during registration with Alachisoft.
Single Server Installation
This example installs NCache Cache Server on remote machine 20.200.20.39. Please replace the server IP 20.200.20.39 with your remote machine IP.
./installNCache.ps1 /i 0 /k XXXXXXXXXXXXXXXXX /file "ncache.pro.net.x64.msi" /file-path "D:\" /f "John" /l "Smith" /email "john@yourdomain.com" /company "your_company_name" /s 20.200.20.39
Multiple Server Installation
This example installs the NCache Cache Server on three machines (20.200.20.38, 20.200.20.39, and 20.200.20.40). Please replace these servers IPs with your own remote cache server machine IPs.
./installNCache.ps1 /i 0 /k XXXXXXXXXXXXXXXXX /file "ncache.pro.net.x64.msi" /file-path "D:\" /f "John" /l "Smith" /email "john@yourdomain.com" /company "your_company_name" /s 20.200.20.38,20.200.20.39,20.200.20.40
Note
Upon successful installation, you will see a message with ReturnValue:0
.
Remote Installation Properties
Argument | Description |
---|---|
/file |
The name of the setup file along with the file extension. |
/file-path |
The complete file-path/file-location of the setup file. |
/k |
Valid evaluation key obtained from Alachisoft. |
/s |
A comma-separated list of Server Names or IP Addresses of machines where NCache is going to be installed. |
/f |
User's first name. |
/l |
User's last name. |
/i |
NCache installation type. 0 : Cache Server installation. 2 : Developer installation. 3 : Remote Client installation.The default is 0 . |
/email |
The email address which is used during registration with Alachisoft. |
/company |
Company name. |
/install-dir |
Path to install NCache. The default is "C:/Program Files". |
/set-per |
Sets permissions for quiet mode. The default is 1. |
/? |
Displays command syntax and options for the utility. |
See Also
Evaluation Period Management
License Management
Command Line Installation
Windows Installation