Gravatar for

Question by dwebb, Jan 5, 2015 2:20 PM

Install Coveo for Sitecore package via console?

Hello -- we would like to script the deployment of a Sitecore instance containing Coveo for Sitecore in as automated a way as possible.

The Sitecore instance itself can be created via a console application from HedgeHog (

Theoretically, the Coveo for Sitecore package could be installed via Powershell -- we could use the Sitecore API to load the package and then run the installation.

However, at the end of the installation, the Coveo for Sitecore configuration pages pop up and require user input.

Have you explored any options to be able to do this automatically? Or is it on the horizon?

Cheers David

1 Reply
Gravatar for

Answer by Vincent Séguin, Jan 5, 2015 2:28 PM

Hi David,

We didn't explore any options to do this, but the configuration pages are only writing values in the configuration files… i guess you could write the proper values yourself in the files (for instance, the REST endpoint and secret, CES path etc.)

Obviously, it means you have access to these files.

Gravatar for

Comment by Jean-François L'Heureux, Jan 5, 2015 2:55 PM

Writing the values directly in the configuration files is a good idea except for the QueuePassword element (and SitecorePassword element in the January 2015 release). These elements value contains passwords encrypted by Coveo's assemblies with an encryption key stored in the Sitecore instance's data folder. While these elements also support non-encrypted values, it is recommended to have them encrypted.

You may use Coveo's assemblies in Powershell to modify the config files like the Post-Installation Wizard do by using Coveo.SearchProvider.Applications.Configuration namespace classes.

Ask a question