Hiya,
An issue has been identified in Sage CRM where the QuickFind service does not install successfully if Sage CRM is installed in a directory other than the default path:
C:\Program Files (x86)\Sage\CRM\
Cause
The QuickFind service installation script assumes that CRM is installed in the default directory.
When CRM is installed in a custom location, the service installation fails because the script does not correctly resolve the actual installation path.
Resolution
Fix Availability
This issue will be resolved in Sage CRM 2026 R2.
Customers upgrading to or installing 2026 R2 or later will not encounter this problem. Functionality works as expected also on versions 2025R1 and older.
Workaround for 2025R2 and 2026R1 versions
For these versions, the QuickFind service can be repaired and installed using the PowerShell script below.
Steps
- Open PowerShell as Administrator
- Copy and run the script below
This script:
- Reads the Sage CRM installation path from the registry.
- Locates the QuickFind service installation script.
- Updates the CRM_SERVICES_DIR entries in the CMD file
- Executes the QuickFind installation script.
try {
# Retrieve the Sage CRM installation directory from the registry
$installDir = (
Get-ItemProperty `
-Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\eWare\Config\/CRM' `
-Name InstallDirName
).InstallDirName
if ([string]::IsNullOrWhiteSpace($installDir)) {
throw "InstallDirName was not found in the registry."
}
# Build the path to the QuickFind installation script
$crmRoot = Split-Path $installDir -Parent
$cmdFile = Join-Path `
-Path $crmRoot `
-ChildPath 'Services\QuickFind\bin\SageCRMQuickFind-install-svc.cmd'
if (-not (Test-Path $cmdFile)) {
throw "QuickFind installation script not found: $cmdFile"
}
# Update the CRM_SERVICES_DIR entries
$updatedContent = Get-Content $cmdFile | ForEach-Object {
# Comment the default installation path
if ($_ -eq 'SET CRM_SERVICES_DIR=C:\Program Files (x86)\Sage\CRM\Services') {
"rem $_"
}
# Uncomment any alternative CRM_SERVICES_DIR entry
elseif ($_ -match '^\s*rem\s+SET CRM_SERVICES_DIR=') {
$_ -replace '^\s*rem\s+', ''
}
else {
$_
}
}
# Save the updated file
Set-Content -Path $cmdFile -Value $updatedContent
# Execute the QuickFind installer
& $cmdFile
}
catch {
Write-Error $_.Exception.Message
exit 1
}
Additional Notes
- Ensure the script is executed in an elevated PowerShell session (Run as Administrator)
- This script dynamically retrieves the CRM installation path from the registry, making it suitable for custom installation directories
- It modifies the QuickFind installation script to use the correct services directory before executing it
Summary
- Issue occurs when CRM is installed outside the default directory
- Will be fixed in Sage CRM 2026 R2
- For earlier versions, use the provided PowerShell script to successfully install the QuickFind service
