Command Line Installation for NCache (Silent Mode)
NCache provides a Windows Installer (.msi) with which you can install NCache through the command line silent mode. To do so, follow the steps mentioned below.
Search for Command Prompt on Windows Start menu. Right click on the search result Command Prompt, and select Run as Administrator.
Run
msiexec.exe
utility from Command Prompt to install NCache as following. Note that/qn
indicates Silent Mode.Note
Make sure that the email address provided is the one used during registration with Alachisoft.
msiexec.exe /I "C:\NCacheSetupPath\ncache.oss.x64.msi" USERFIRSTNAME="John" USERLASTNAME="Smith" KEY=XXXXXXXXXXXXXXXXX COMPANYNAME="your_company_name" EMAILADDRESS="john@yourdomain.com" INSTALLDIR="C:\Program Files\NCache" /qn
You can also uninstall NCache by running the
msiexec.exe
utility from Command Prompt as following.msiexec.exe /x "C:\NCacheSetupPath\ncache.oss.x64.msi" /qn
You can refer to Getting Started to get you started with setting up NCache environment.
Silent Mode Installation Properties
The following properties are to be provided for NCache installation through msiexec.exe
. Note that all of these properties MUST be provided.
Switch/Properties | Purpose | Default Value |
---|---|---|
/I <.msi Package Path> |
The path where you have downloaded .msi file from the Alachisoft website. | Empty |
KEY |
The key you receive from Alachisoft Sales upon downloading NCache. | - |
USERFIRSTNAME |
Your first name. | - |
USERLASTNAME |
Your last name. | - |
COMPANYNAME |
Your company name. | - |
EMAILADDRESS |
Your email address which is used during registration with Alachisoft. | - |
INSTALLDIR |
The directory where you want NCache to be installed. Most commonly, this should be C:\Program Files\NCache. | C:\Program Files\NCache |
/qn |
Quiet mode: Install NCache without any user intervention. | Empty |
See Also
NCache GUI Installation
Network Installation with PowerShell