SQLite3 ODBC Driver - Advanced Installer Community
prerak6962
Posts: 112
Joined: Mon Dec 08, 2014 5:26 pm

SQLite3 ODBC Driver

Hi,

I would like to create an ODBC data source which uses SQLite3 driver. Is there any in built driver in AI that I can use?
I could not find it, so I downloaded the sqliteodbc.exe from internet and unzipped it. But there are multiple .dll files in it. Which one should I use to install the driver and than create an ODBC data resource?

Thank you
Prerak
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: SQLite3 ODBC Driver

Hello Prerak,

If the "sqliteodbc.exe" file is a setup installation file, then there is no need to unzip it. You can simply add it as a prerequisite to your installation project.

Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
prerak6962
Posts: 112
Joined: Mon Dec 08, 2014 5:26 pm

Re: SQLite3 ODBC Driver

Hi Daniel,

Thank you for the information. It helped me to achieve my requirements.

But now I am facing an other issue. During installation, I create some registry entries. Now if I uninstall the sqliteODBC prerequisite from control panel, the registry entries for my product also get deleted.
I want that the registry entries should only be removed upon uninstallation of my product.
I have attached the screenshot of my "Organization" window in AI below.
Capture.PNG
Capture.PNG (47.05 KiB) Viewed 7745 times
The two SQLite3 ODBC Driver are my prerequisites, one for 32-bit and other for 64-bit.

Prerak
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: SQLite3 ODBC Driver

Hello Prerak,

Please send us the .AIP (project file) to support at advancedinstaller dot com so we can fully investigate its settings. Also, please explicitly name the registries which are uninstalled during your prerequisite removal.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: SQLite3 ODBC Driver

Hello,

This seems to be an issue generated by the "sqliteodbc_w64.exe" setup installation. It seems when the SQLite3 driver is uninstalled its uninstall process completely deletes the "HKLM\SOFTWARE\ODBC\ODBC.INI" registry key and all of its subkeys. This seems to be a wrong action taken during the SQLite3 driver uninstall. You can manually install and uninstall the "sqliteodbc_w64.exe" setup to check this behavior.

I'm afraid that there is nothing we can do on our side regarding this and you should forward the issue to the vendor of the SQLite ODBC Driver setup.

If there is anything we can assist you with just let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”