Skip to content

Commit 20ad8c6

Browse files
committed
Update README
1 parent 34ebe24 commit 20ad8c6

File tree

1 file changed

+7
-6
lines changed
  • cpp/src/arrow/flight/sql/odbc

1 file changed

+7
-6
lines changed

cpp/src/arrow/flight/sql/odbc/README

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,26 @@
2222
After 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

2727
2. 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

3737
If the registration is successful, then Apache Arrow Flight SQL ODBC Driver
3838
should 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

4546
If the generation is successful, you will find `Apache Arrow Flight SQL ODBC-<version>-win64.msi` generated under the `build` folder.
4647

0 commit comments

Comments
 (0)