paodelta
Posts: 15
Joined: Thu Jan 25, 2007 12:50 pm
Location: Italy

problem uninstalling ODBC driver

I've created a test project which with a unique feature that installs an ODBC driver.
The driver is correctly installed and works well when I use it. The uninstall remove all the files from the disc (2 DLL, the first from WindowsFolder and the second - the odbc driver - from SystemFolder) but dosen't remove the registry key HKLM\SOFTWARE\ODBC\ODBC.INI\<driver name> and HKLM\SOFTWARE\ODBC\ODBC.INI\ODBC Drivers\<driver name>.
As a consequence of this ODBCAD32.EXE lists the driver in the 'Drivers' folder.

I use AI 4.7 on WinXP SP2.

Regards,
Paolo
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Paolo,

It's hard to tell what's wrong, maybe these registry keys are in use when Windows Installer tries to remove them. Please try to reproduce this on other computer and let me know if you get the same behavior.

Best Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
paodelta
Posts: 15
Joined: Thu Jan 25, 2007 12:50 pm
Location: Italy

Hi Gigi,
I've executed the test project on a clean winxp sp2 machine (a vmware virtual machine, indeed) and the rsult was the same. No active program, other than system component exe, there was during the uninstall.

How does it work the ODBC driver install/unistall procedure? Which is the program that writes the registry keys? I don't know if this issue refers to AI, to Windows Installer or to the DLL implementing the ODBC driver... probably AI isn't responible for this behaviuor...

Best regards,
Paolo
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Paolo,

ODBC drivers install/uninstall is fully controlled by Windows Installer under "InstallODBC" standard action:
http://msdn2.microsoft.com/en-us/library/aa369538.aspx

Best Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”