Installing Kentico from the command line
You can install Kentico from the command line without any user interface and user interaction involved using the Kentico Installer. The command line installation also allows you to modify an existing installation and add or remove components contained in this installation. You will need to prepare a configuration XML file and execute a command from the command line with this XML file as a parameter.
The main purpose of the command line installation is the possibility of automated installation and modification of Kentico.
The command line installation is capable of substituting the whole procedure including the installation of:
- the program files,
- new web project and IIS configuration,
- new database on your SQL server,
- sample websites based on available web templates.
Command line installation procedure
Create an XML configuration file during the custom installation process using the Save XML configuration link. This way, you can comfortably set all the options you need in the Installer UI and the XML file will be generated automatically for you.
- You can also create the XML file according to the specifications.
Move the XML file to the folder containing Kentico Installer (Kentico<version>.exe).
Execute a command with the Kentico<version>.exe <configuration XML file name>.xml syntax in the folder:
Kentico_8_0.exe KenticoInstallationProfile.xml
The installation will be executed and carried out according to the configuration in the XML file.
The log file
If the command line Installation crashes without explanation, try searching for the log file in the default locations: C:\Program Files (x86)\Kentico\8.0\ or the Installer folder.