Loading
Investigate SQL Server Express 2019 Prerequisite Detection Failure in InstallShield

Title: Investigate SQL Server Express 2019 Prerequisite Detection Failure in InstallShield

Description:

The InstallShield prerequisite for Microsoft SQL Server Express 2019 is failing to detect an existing SQL Server installation.

Currently, the detection logic checks for a specific registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{17DCED0E-5B27-453A-B2B4-E487B869B28A}

The GUID may vary across installations or package versions, resulting in false negatives. When the detection fails, InstallShield attempts to install SQL Server Express 2019 even though it is already installed. The SQL Server installer detects the existing installation and does not perform a new installation, but the process triggers a reboot. After reboot, InstallShield repeats the same detection failure, resulting in a continuous installation and reboot loop.

As a temporary workaround, the detection logic was updated to check the following registry path:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names\SQL

This change resolved the issue in the current test scenario. However, further investigation is required to ensure that the approach is reliable across different SQL Server installations and configurations.

Expected Outcome:

  • Investigate the supported detection mechanisms for the SQL Server Express 2019 prerequisite provided by Revenera InstallShield.
  • Identify a reliable method to detect an existing SQL Server Express 2019 installation without depending on a hardcoded uninstall GUID.
  • Confirm compatibility across supported SQL Server installation configurations and Windows environments.
  • Prevent unnecessary SQL Server installation attempts and repeated reboot cycles.
  • Recommend a maintainable, long-term solution using InstallShield's supported prerequisite detection capabilities.

 


Loading
Investigate SQL Server Express 2019 Prerequisite Detection Failure in InstallShield