Search code examples
installationsitecoresalt-projectsitecore-instance-manager

How to perform an unattended installation of Sitecore?


My team is attempting to perform an automated installation of Sitecore via Salt using the Sitecore executable. We prefer to use the .exe over a manual installation of the zip package because the installation wizard handles registering Sitecore as an installed program by modifying the registry. This would theoretically let Salt know that the "state" has been fulfilled.

When running the executable with the /? argument, the following list of options is displayed:

/? or /help : this help screen
/i : install (default)
/x : uninstall
/q : force silent (no UI) mode
/qb : force basic UI mode
/nq : force full UI mode
/nosplash : do not display splash screen
/Log : enable logging
/LogFile [path] : specify log file
/ConfigFile [path] : specify configuration file
/ExtractCab : extract embedded components
/DisplayCab : display a list of embedded components
/DisplayConfig : display a list of configurations
/ComponentArgs ["id|display_name":"value"...] : additional component args
/ControlArgs ["id":"value" ...] : additional control values
/CompleteCommandArgs [args] : additional complete command 

Despite our best efforts, we are unable to find documentation on these arguments apart from the descriptions above. I think what we're after is a way to provide a config file to the executable (using the /ConfigFile argument) that contains the following information:

  • Install / uninstall
  • Installation type (full / client-only)
  • Instance name
  • Database credentials

Running the /DisplayConfig command only displays language options and that's about it.

Does anyone know how to provide a config to the executable and/or pass it the arguments it needs?


Solution

  • I wrote a blog post about the issue of getting the Sitecore installer automated:

    http://jermdavis.wordpress.com/2014/04/24/unattended-installs-of-sitecore/

    I think that might help you?