Error Installing VC6 - ODBC's SQLINSTALLDRIVERMANAGER FAILED
I had to install an old copy of Visual C++ on a Windows XP computer today.
I kept getting the error: ODBC's SQLINSTALLDRIVERMANAGER FAILED
Twice, actually, once at the beginning of the VC6 install, and another near then end. The install failed.
Apparently the fix has to do with registry permissions.
Several minutes of web searching led me to this specific fix. It uses some recursive registry tool from Microsoft to make sure the Administrators group has full permissions to many sections of the registry.
I've copied the whole thing here because the site was down the first time I accessed it...
1. Download and install subinacl from:
2. Create a file named reset.cmd in C:\Program Files\Windows Resource
3. Edit the reset.cmd file with the following content.
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f
subinacl /subdirectories %SystemDrive% /grant=administrators=f
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=systems=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=system=f
subinacl /subdirectories %SystemDrive% /grant=system=f
4. Enter into CMD prompt.
5. Enter the following commands one at a time and click Enter.
cd "C:\Program Files\Windows Resource Kits\Tools"
Tags: VC6, install, problem, ODBC, permissions, fails, visualc, cplusplus
>> Leonard Chan's Homepage
>> Scribble Web
>> Error Installing VC6 - ODBC's SQLINSTALLDRIVERMANAGER FAILED