opensearch-project / sql-odbc

OpenSearchODBC is a read-only ODBC driver for Windows and Mac for connecting to OpenSearch SQL support.
Apache License 2.0
7 stars 17 forks source link

[BUG] OpenSearch ODBC driver installer conflicts with already installed OpenDistro ODBC driver #24

Open Yury-Fridlyand opened 3 years ago

Yury-Fridlyand commented 3 years ago

Describe the bug OpenSearch and OpenDistro ODBC drivers conflicts with each other. It is impossible to install both of the on the computer. Furthermore, it is impossible to install 32 bit driver if 64 bit one is already installed and otherwise.

To Reproduce Steps to reproduce the behavior:

  1. Install OpenDistro ODBC driver taken from https://opendistro.github.io/for-elasticsearch/downloads.html
  2. Download OpenSearch ODBC driver with the same bitness. I used artifacts from this workflow run: https://github.com/opensearch-project/sql/actions/runs/1343276721
  3. Try to install it
  4. Error says that a newer version is already installed

Test 2

  1. Install OpenSearch ODBC 32-bit
  2. Try installing OpenSearch ODBC 64-bit
  3. Install succeeds, but the first driver is deleted

Expected behavior OpenSearch ODBC driver is installed and co-exist with OpenDistro ODBC driver. No conflicts between them. OpenSearch ODBC 32-bit driver is installed and co-exist with OpenSearch ODBC 64-bit driver. No conflicts between them.

Host/Environment (please complete the following information):

Additional context I guess this happened because both OpenSearch and OpenDistro ODBC drivers are registered as the same product in the system.