Skip to content

Conversation

@alinaliBQ
Copy link
Contributor

@alinaliBQ alinaliBQ commented Nov 4, 2025

Rationale for this change

Implement ODBC installer code for Windows. The primary platform for ODBC is MSVC Windows. The version is set to 1.0.0.

What changes are included in this PR?

  • ODBC msi installer
  • Added components to other parts of Arrow, so we can select ODBC component for cpack

Are these changes tested?

Tested locally on MSVC Windows

Are there any user-facing changes?

N/A

@github-actions
Copy link

github-actions bot commented Nov 4, 2025

⚠️ GitHub issue #47787 has been automatically assigned in GitHub to PR creator.

Need to add `component` to other parts to be able to select the ODBC components

Co-Authored-By: alinalibq <[email protected]>
@alinaliBQ alinaliBQ force-pushed the gh-47787-odbc-msi-installer branch from ce5c956 to 34ebe24 Compare November 11, 2025 00:24
Copy link
Contributor Author

@alinaliBQ alinaliBQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lidavidm @kou This ODBC msi installer draft PR is ready for initial review. Please let me know your thoughts, thanks!

ARROW_FLIGHT: ON
ARROW_FLIGHT_SQL: ON
ARROW_FLIGHT_SQL_ODBC: ON
ARROW_FLIGHT_SQL_ODBC_INSTALLER: ON
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: after ODBC can build in MSVC #48067, need to add ARROW_FLIGHT_SQL_ODBC_INSTALLER: ON in MSVC CI. Leaving this change here for now. Rest of PR can be reviewed.

Comment on lines +111 to +112
# rc
*.rc
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is for ODBC dll

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For installer to be able to select different components, we needed to add COMPONENT to other parts of Arrow cpp that gets build with ODBC.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an image of Arrow banner

@alinaliBQ alinaliBQ changed the title GH-47787: [C++][FlightRPC] WIP: ODBC msi Windows installer GH-47787: [C++][FlightRPC] ODBC msi Windows installer Nov 11, 2025
@github-actions github-actions bot added awaiting committer review Awaiting committer review and removed awaiting review Awaiting review labels Nov 11, 2025
@alinaliBQ alinaliBQ force-pushed the gh-47787-odbc-msi-installer branch from 8487389 to 20ad8c6 Compare November 13, 2025 20:20
With stable product and upgrade id, Windows will be able to properly recognize ODBC installer as the same product, and prevent double-installation from happening.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant