NCache 4.4 - Online Documentation

Command Line Install

 
NCache provides a command line installation that you can either run from a Command Prompt or add to your script files (.bat files). To install NCache form Command Prompt you use the msiexec.exe utility. Below is the syntax for using
msiexec.exe to install NCache.
 
Install NCache
 
Msiexec.exe
/I <Installation Package Path>
EDITION ="0|2|3"
KEY ="EVAL_KEY_EMAILED_TO_YOU"
USERFIRSTNAME ="John"
USERLASTNAME ="Smith"
COMPANYNAME ="Alachisoft"
EMAILADDRESS ="john@alachisoft.com"
INSTALLDIR ="<Target Dir>"
SETPERMISSION ="0|1"
  /qn
 
#
Switch/Properties
Purpose
Default Value
01
EDITION
Specifies the installation option. Possible values are
 
• 0 (Cache Server)
• 2 (Developer)
• 3 (Remote Client)
0
(Cache Server)
02
KEY ( required )
Installation Key must be provided by you. You will receive this via email from Alachisoft when you downloaded NCache. If not, then visit http://www.alachisoft.com/download.html to register and obtain one.
Empty
03
USERFIRSTNAME
Your first name
Empty
04
USERLASTNAME
Your last name
Empty
05
COMPANYNAME
Your company name
Alachisoft
06
EMAILADDRESS
(required)
Your email address
Empty
07
INSTALLDIR
Directory where you want NCache to be installed. Most commonly, this should be "C:\program files\NCache".
Local Directory
08
SETPERMISSION
NCache requires your permission to configure system permissions for PerfMon with NCache. Possible values are
 
  • 0 (No)
  • 1 (Yes)
1
(Yes)
09
/I <Installation Package Path>
(required)
Path where you have kept NCache.clr20.msi file. You must specify this.
Empty
10
/qn
Quiet mode. If you want to run the install silently without any user intervention, use this switch.
Empty
 
Examples
 
Installing a Cache Server:
 
msiexec.exe /I "C:\NCacheSetup\NCache.clr20.msi" EDITION=0 KEY=INSTALL_KEY_EMAILED_TO_YOU USERFIRSTNAME="John" USERLASTNAME="Smith" COMPANYNAME="Alachisoft" EMAILADDRESS="john@alachisoft.com" INSTALLDIR="C:\Program Files\NCache" SETPERMISSION="1" /qn
 
Installing NCache on a Developer work station:
 
msiexec.exe /I "C:\NCacheSetup\NCache.clr20.msi" EDITION=2 KEY=INSTALL_KEY_EMAILED_TO_YOU USERFIRSTNAME="John" USERLASTNAME="Smith" COMPANYNAME="Alachisoft" EMAILADDRESS="john@alachisoft.com" INSTALLDIR="C:\Program Files\NCache" SETPERMISSION="1" /qn
 
Installing a Remote Client:
 
msiexec.exe /I "C:\NCacheSetup\NCache.clr20.msi" EDITION=3 KEY=INSTALL_KEY_EMAILED_TO_YOU USERFIRSTNAME="John" USERLASTNAME="Smith" COMPANYNAME="Alachisoft" EMAILADDRESS="john@alachisoft.com" INSTALLDIR="C:\Program Files\NCache" SETPERMISSION="1" /qn
 
 
 
Uninstall NCache
 
To uninstall NCache through command line, use the following syntax:
 
msiexec.exe> /x <Installation Package Path> /qn
 
An example is given below:
 
C:\> msiexec.exe /x "C:\NCacheSetup\NCache.clr20.msi" \qn
 
 
See Also