Skip to content

ODBC and Native Client installer fixes #330

Open

Description

@dhensby

Old ODBC builds. The ODBC links in src/install-odbc.ts#L4-L13 resolve to fixed 2023 builds:

Input Resolves to
odbc-version: 18 (x64 and x86) 18.3.1.1
odbc-version: 17 (x64 and x86) 17.10.4.1

Microsoft's release notes list 18.3.3.1 and 17.10.6.1 (April 2024) as security updates, and the current versions are 18.7.1.1 and 17.11.1.1. The action therefore installs an old driver that lacks those fixes. On the hosted images the ODBC 17 step finishes in under half a second, which suggests that msiexec finds a driver already installed and does nothing. I haven't checked which version the images have.

Restart handling. msiexec runs with /passive and without /norestart (src/installers/msi-installer.ts#L54-L69). Any non-zero exit code fails the action, including 3010 (success, restart required). Without /norestart, Windows Installer may also restart the machine when it needs to replace a file in use. I haven't seen either happen on a hosted runner.

No log on failure. msiexec writes no log file, so a failed install reports only the exit code.

arm64. getArch() returns x86 for any runner that isn't x64 (src/installers/installer.ts#L20-L22), so an arm64 runner gets the x86 MSI.

Suggested fix:

  • Update the ODBC links to the current builds, and say in the README which build each version installs.
  • Pass /norestart, and treat 3010 as success with a warning, as the action already does for SQL Server setup.
  • Write a log with /l*v and print it when the install fails.
  • Decide what to do on arm64.

Activity

  1. added
    bug
    on Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions