Installing Xperience from the command line

You can install Xperience 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 Xperience.

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

Command line installation procedure

  1. 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.
  2. Move the XML file to the folder containing Kentico Xperience Installer (Xperience<version>.exe).

  3. Execute a command with the Xperience<version>.exe <configuration XML file name>.xml syntax in the folder:

    
    
    
     Xperience_13_0.exe InstallationProfile.xml
    
    
     

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\13.0\ or the Installer folder.