Skip to content
Community Hub
  • Login
  • Site
  • Search
  • User

x Want to ask a question or reply? Click here to join the group.
Sage CRM
  • Sage Global Solutions

Sage CRM

Welcome to the Sage CRM Support Group on Community Hub! Available 24/7, the forums are a great place to ask and answer product questions, as well as share tips and tricks with Sage peers, partners, and pros.
Fixes and workarounds QuickFind Service Fails to Install When CRM Is Installed in a Non-Default Directory (For version 2025R2 and 2026R1) [Fix]
  • Forums
  • Blogs
  • Videos
  • Members
  • Resources
  • More
  • Cancel
  • Ask a question
  • +Fixes and workarounds
  • Move Quickfind folder to any location [Steps]
  • QuickFind Service Fails to Install When CRM Is Installed in a Non-Default Directory (For version 2025R2 and 2026R1) [Fix]

QuickFind Service Fails to Install When CRM Is Installed in a Non-Default Directory (For version 2025R2 and 2026R1) [Fix]

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

White check mark 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

  1. Open PowerShell as Administrator
  2. Copy and run the script below

This script:

  1. Reads the Sage CRM installation path from the registry.
  2. Locates the QuickFind service installation script.
  3. Updates the CRM_SERVICES_DIR entries in the CMD file
  4. 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
  • Share
  • History
  • More
  • Cancel
Recommended
Sage
Africa & Middle East Canada France Portugal Spain United Kingdom & Ireland United States Global Solutions
  • facebook
  • instagram
  • linkedin
  • youtube
COMMUNITY
  • Site help
  • Site map
COMPANY
  • Overview
  • About us
  • Careers
  • News
  • Sage events
  • Investors
  • Sage Foundation
PARTNERS
  • Sage Partner Program
  • Partner Hub
  • Developers & ISVs
  • Sage Marketplace
SUPPORT & TRAINING
  • Contact Support
  • Sage Knowledgebase
  • Sage University
  • Sage Advice Blog
  • © Sage Group plc 2024
  • Privacy
  • Cookies
  • Community guidelines
  • General data protection regulation

*Community Hub is the new name for Sage City