Invoking an installation
To start a Sitecore installation, use the following syntax:
This starts the Sitecore installation and uses the given configuration loaded from the specified path.
The working directory is set as follows:
- If provided, the working directory is set to the given path.
- The current directory is used.
One or more tasks can also be passed to enable the execution of only a selection of tasks from the full configuration. If no tasks are passed (or an empty list is provided) all the tasks are executed. Task execution can be further restricted by using the From and To parameters to specify an inclusive subset of tasks.
The parameters contained in the configuration file can also be overridden at the command line.
Examples
Examples based on JSON configuration files.
Example 1
Starts an installation based on a JSON configuration file.
Example 2
Starts an installation based on a JSON configuration file and executes only the named tasks.
Example 3
Starts an installation based on a JSON configuration file and executes all the tasks except the named tasks.
Example 4
Starts an installation based on a JSON configuration file and executes from the specified task.
Example 5
Starts an installation based on a JSON configuration file and executes all the tasks from the task named Alpha to the task named Beta.
Example 6
Starts an installation based on a JSON configuration file and overrides the value for the SiteName parameter contained in that file.
Example 7
Starts an installation based on a JSON configuration file and skips parameter validation.