You can install Kentico from the command line without any user interface and user interaction involved. The command line installation also allows you to modify an existing instance and add or remove components. You 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 fully substituting the manual installation procedure, and can include the following components:
- the program files
- new web projects and registration of the projects as applications in IIS
- the new database on your SQL server
- sample websites based on available templates
Command line installation procedure
- Create an XML configuration file during the custom installation process using the Save XML configuration link. This allows you to set all options in the Installer UI and generate a matching XML configuration file.
- You can also create the XML file manually 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:
The installation is executed 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\12.0\ or the Installer folder.
Was this page helpful?