NCache 4.6 - Online Documentation

Command Line Installation

 
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, use the msiexec.exe utility.
 
In order to install NCache on your system through Command Line Installation:
 
  • Open Command Prompt with administrative rights.
 
  • Enter the following command:
 
Msiexec /I <Installation Package Path>
EDITION=”0|2|3”
KEY="INSTALL_KEY_EMAILED_TO_YOU"
USERFIRSTNAME="John"
USERLASTNAME="Smith"
COMPANYNAME="Alachisoft"
EMAILADDRESS="john@alachisoft.com"
INSTALLDIR=”<Target Dir>”
/qn
 
Switch/Properties
Purpose
Default Value
/I <.msi Package Path>
(Required)
Path where you have downloaded ncache.enterprise.x64.msi file from the Alachisoft website.
Empty
EDITION
Specifies the installation type. Possible values are:
  • 0 (Cache Server)
  • 2 (Developer)
  • 3 (Remote Client)
0(Cache Server)
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
USERFIRSTNAME
Your first name
“”
USERLASTNAME
Your last name
“”
COMPANYNAME
Your company name
“”
EMAILADDRESS (Required)
Your email address
“”
INSTALLDIR
Directory where you want NCache to be installed. Most commonly, this should be C:\Program Files\NCache.
Local Directory\
Current Directory
/qn
Quiet mode: If you want to install NCache silently without any user intervention.
Empty
 
  • Press Enter.
 
The installation process starts. Once the installation process is complete, NCache will be successfully installed in the specified directory.
 
Examples
 
1.     Installing a Cache Server Silently:
    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" /qn
 
2.      Installing a Developer Machine Silently:
    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" /qn    
 
 
3.     Installing a Remote Client Silently:
    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" /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