Putting this question to the Sitecore crowd as it relates to the overall Coveo for Sitecore install, specifically the installation of Coveo Enterprise Search (CES).
I'm trying to automate the installation of Coveo CES server using the MSI bundled in the EXE provided, as outlined here.
Installing the EXE manually works, using all of the default options except for enabling the Admin Service, providing the relevant domains, credentials etc, and the admin service certificate is generated successfully.
My issue is that when the same configuration is installed silently via command line, the product and services get installed correctly, but the install fails during creation of the admin certificate. It appears there is no parameter available to specify the path for the admin certificate generation, but I'm not sure if this is the core issue.
Is there an additional parameter that is missing from the documentation? Or is there another workaround available to get this to work?
Here is the installation command I'm trying to execute:
"Coveo Enterprise Search 7.0 x64 (8388).msi" /qn /l* ces.log ADDLOCAL=BaseFeature,VCRedist,CESService,Admin,AdminService,CESConsole ISSITECORE=Yes INSTALLLOCATION=C:\cestest LOGONTYPE=account LOGONACCOUNT_DOMAIN=domain LOGONACCOUNT_USERNAME=coveo LOGONACCOUNT_PASSWORD=xxxxxx USE_ADMIN_SERVICE_SECURITY=Yes ADMINSERVICELOGON_USERNAME=coveoservice ADMINSERVICELOGON_PASSWORD=xxxxxx SKIP_SERVICES_CHECK=Yes
Here are the relevant lines out of the installation log:
Action started 12:48:00: CreateShortcuts.
Action ended 12:48:00: CreateShortcuts. Return value 1.
Action started 12:48:00: CA_CreateCertificateForAdminService.
SFXCA: Extracting custom action to temporary directory: C:\WINDOWS\Installer\MSI30DA.tmp-\
SFXCA: Binding to CLR version v2.0.50727
Calling custom action ManagedInstallerLib!ManagedInstallerLib.AdminServiceSecurity.CreateCertificateForAdminService
Generate the self signed certificate.
Import the certificate into the stores.
Bind the certificate.
Exception while securing the Admin Service...
An exception has occurred at source : mscorlib
System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at ManagedInstallerLib.AdminServiceSecurity.CreateCertificate(Session p_Session)
Done securing the Admin Service...
Action ended 12:48:12: CA_CreateCertificateForAdminService. Return value 1.
Action started 12:48:12: WriteRegistryValues.
Action ended 12:48:12: WriteRegistryValues. Return value 1.
Any pointers would be appreciated!