Error removing ODBC driver
I created a package, but when i try to uninstall it i get the following error.
1917
Error removing ODBC driver: [4], ODBC error [2]: [3]. Verify that you have sufficient privileges to remove ODBC drivers.
With the name of the driver. And ODBC Error 6. Component not found in the registry.
I checked and registry key has been removed from ODBC.
Thanks.
1917
Error removing ODBC driver: [4], ODBC error [2]: [3]. Verify that you have sufficient privileges to remove ODBC drivers.
With the name of the driver. And ODBC Error 6. Component not found in the registry.
I checked and registry key has been removed from ODBC.
Thanks.
0 Comments
[ + ] Show comments
Answers (9)
Please log in to answer
Posted by:
anonymous_9363
16 years ago
There are 2 entries for drivers in the ODBC branch:
HKLM\Software\ODBC\ODBCINST.INI\[Driver name]
HKLM\Software\ODBC\ODBCINST.INI\ODBC Drivers\[Driver name]=Installed
Both need to be removed. I imagine the error is because whichever one remains is permissioned differently to the other.
HKLM\Software\ODBC\ODBCINST.INI\[Driver name]
HKLM\Software\ODBC\ODBCINST.INI\ODBC Drivers\[Driver name]=Installed
Both need to be removed. I imagine the error is because whichever one remains is permissioned differently to the other.
Posted by:
ogeccut
16 years ago
Posted by:
anonymous_9363
16 years ago
What does ProcMon show you is happening when the remove takes place? It could be that the error message is, like more than one MS error message I've encountered is saying "Something happened but I don't know exactly what, so I'm going to show you a message which approximates the error which occured."
Posted by:
ogeccut
16 years ago
I get NAME NOT FOUND on the registry key.
When i check registry key for Adaptive Server Anywhere has been removed.
Could it be that msi is checking for the key that has been removed already?
Also i used custom action to set permissions to HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI
I used set setacl.exe and cmd argument:
"HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI" /registry /grant Everyone /Full /p:yes /silent
After the install i did not see everyone in the user permissions lest?
I am using wrong arguments?
Thank you.
When i check registry key for Adaptive Server Anywhere has been removed.
Could it be that msi is checking for the key that has been removed already?
Also i used custom action to set permissions to HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI
I used set setacl.exe and cmd argument:
"HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI" /registry /grant Everyone /Full /p:yes /silent
After the install i did not see everyone in the user permissions lest?
I am using wrong arguments?
Thank you.
Posted by:
anonymous_9363
16 years ago
Posted by:
ogeccut
16 years ago
Posted by:
ogeccut
16 years ago
OK, fixed the cmd arguments and gave everyone full rights. However when error comes up the registry entry for Adaptive server is gone from ODBC Drivers as well as ODBCINST.INI. And error displays: Component not found in the registry. Verify that you have privileges to remove ODBC drivers.
Thank you for your help.
Thank you for your help.
Posted by:
anonymous_9363
16 years ago
I think what's happened here is that the ODBC entries are out of kilter, in that a related registry key which the MSI is looking for, is missing. That's what's causing the error 6, I believe. Are you sure it installs properly to begin with? That is, are the registry entries complete when you do an install?
Posted by:
ogeccut
16 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.