Skip to content

[BUG] GUI Installer does not log to config.installation_history following succerssful install or upgrade #409

@jimp100

Description

@jimp100

Component

Installer (GUI)

Performance Monitor Version

2.0.0,2.1.0

SQL Server Version

Microsoft SQL Server 2022

Windows Version

Windows 11 Pro 25H2

Describe the Bug

The GUI installer does not insert a record into config.installation_history to record the success of an install or upgrade.

CLI Installer calls LogInstallationHistory() - this is no equivalent in GUI Installer

Noticed when upgrading from v2.0 -> 2.1 and the GUI told me there was no previous install found.

Steps to Reproduce

  1. Perform a clean install of v2.0 with GUI Installer
  2. Run v2.1 GUI Installer - it will fail to detect the previous install due to failure to get version number from config.installation_history
  3. Continue with v2.1 install will result in a error due to missing columns caused by upgrade script not being run.

Expected Behavior

GUI Installer inserts a record into config.installation_history so install version can be detected, and upgrade scripts are run successfully.

Actual Behavior

No config.installation_history record is inserted causing errors with subsequent upgrades.

Error Messages / Log Output


Screenshots

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions