Command Line Installation (Silent Mode)
NCache provides a Windows Installer (.msi) with which you can install NCache through command line silent mode.
Install/Uninstall NCache Professional in Silent Mode
Search for Command Prompt on Windows Start menu. Right click on the search result “Command Prompt”, and select Run as Administrator.
Important
NCache 4.9 SP1 onwards, installing Cache Server requires .NET Framework >= 4.7.2. This requirement does not apply to Remote Client installation.
Install Cache Server: Run
msiexec.exe
utility from Command Prompt to install NCache Server as following. NoticeINSTALLMODE=0
indicates “cache server” installation./qn
indicates Silent Mode.msiexec.exe /I "C:\NCacheSetupPath\ncache.pro.x64.msi" INSTALLMODE=0 KEY=XXXXXXXXXXXXXXXXX USERFIRSTNAME="John" USERLASTNAME="Smith" COMPANYNAME="Alachisoft" EMAILADDRESS="john@alachisoft.com" INSTALLDIR="C:\Program Files\NCache" /qn
Install Remote Client: Run
msiexec.exe
utility from Command Prompt to install NCache Remote Client as following. NoticeINSTALLMODE=3
indicates “remote client” installation./qn
indicates Silent Mode.msiexec.exe /I "C:\NCacheSetupPath\ncache.pro.x64.msi" INSTALLMODE=3 KEY=XXXXXXXXXXXXXXXXX USERFIRSTNAME="John" USERLASTNAME="Smith" COMPANYNAME="Alachisoft" EMAILADDRESS="john@alachisoft.com" INSTALLDIR="C:\Program Files\NCache" /qn
Uninstall NCache (Server or Remote Client): Run
msiexec.exe
utility from Command Prompt to uninstall NCache as following. It’s the same command for uninstalling Server and Remote Client.msiexec.exe /x "C:\NCacheSetupPath\ncache.pro.x64.msi" /qn
Silent Mode Installation Properties
The following properties are supported by NCache installation by msiexec.exe
:
Switch/Properties | Purpose | Default Value |
---|---|---|
/I <.msi Package Path> (Required) |
Path where you have downloaded .msi file from the Alachisoft website. | Empty |
/KEY (Required for Professional) |
The key you receive from Alachisoft Sales upon downloading NCache. | - |
INSTALLMODE |
Specifies the installation type. Possible values are: 0 (Cache Server)3 (Remote Client) |
0 (Cache Server) |
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. | C:\Program Files\NCache |
/qn |
Quiet mode: Install NCache without any user intervention. | Empty |
See Also
Windows Installation
Network Installation with PowerShell
Evaluation Period Management
License Management