File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
cpp/src/arrow/flight/sql/odbc Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 2222After the build succeeds, the ODBC DLL will be located in
2323`build\debug\Debug` for a debug build and `build\release\Release` for a release build.
2424
25- 1. Open Power Shell as administrator.
25+ 1. Open Windows Power Shell as administrator.
2626
27272. Register your ODBC DLL:
2828 Need to replace <path\to\repo> with actual path to repository in the commands.
2929
3030 i. `cd to repo.`
3131 ii. `cd <path\to\repo>`
3232 iii. Run script to register your ODBC DLL as Apache Arrow Flight SQL ODBC Driver
33- `.\cpp\src\arrow\flight\sql\odbc\install \install_odbc.cmd <path\to\repo>\cpp\build\< release | debug >\< Release | Debug>\arrow_flight_sql_odbc.dll`
33+ `.\cpp\src\arrow\flight\sql\odbc\tests \install_odbc.cmd <path\to\repo>\cpp\build\< release | debug >\< Release | Debug>\arrow_flight_sql_odbc.dll`
3434 Example command for reference:
35- `.\cpp\src\arrow\flight\sql\odbc\install \install_odbc.cmd C:\path\to\arrow\cpp\build\release\Release\arrow_flight_sql_odbc.dll`
35+ `.\cpp\src\arrow\flight\sql\odbc\tests \install_odbc.cmd C:\path\to\arrow\cpp\build\release\Release\arrow_flight_sql_odbc.dll`
3636
3737If the registration is successful, then Apache Arrow Flight SQL ODBC Driver
3838should show as an available ODBC driver in the x64 ODBC Driver Manager.
3939
4040## Steps to Generate Windows Installer
41- 1. Build with `ARROW_FLIGHT_SQL_ODBC=ON` and `ARROW_FLIGHT_SQL_ODBC_INSTALLER=ON`.
42- 2. `cd` to `build` folder.
43- 3. Run `cpack`.
41+ 1. Install WiX toolset v6 from [GitHub](https://github.com/wixtoolset/wix/releases/).
42+ 2. Build with `ARROW_FLIGHT_SQL_ODBC=ON` and `ARROW_FLIGHT_SQL_ODBC_INSTALLER=ON`.
43+ 3. `cd` to `build` folder.
44+ 4. Run `cpack`.
4445
4546If the generation is successful, you will find `Apache Arrow Flight SQL ODBC-<version>-win64.msi` generated under the `build` folder.
4647
You can’t perform that action at this time.
0 commit comments