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:

http://www.microsoft.com/downloads/details.aspx?FamilyID=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b&displaylang=en

2. Create a file named reset.cmd in C:\Program Files\Windows Resource
Kits\Tools folder.

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\
cd "C:\Program Files\Windows Resource Kits\Tools"
reset.cmd



Source: http://www.mikeangelo.com/Lists/OnLine%20WEB%20Support/DispForm.aspx?ID=8



Tags: VC6, install, problem, ODBC, permissions, fails, visualc, cplusplus
Related Scribbles:
  • Programming
  • System Administration


  • ID: 897
    Author:
    leonard
    Date Updated:
    2008-02-28 00:33:10
    Date Created:
    2008-02-28 00:33:10

    Edit

    Comments?
     >> Leonard Chan's Homepage  >> Scribble Web  >> Error Installing VC6 - ODBC's SQLINSTALLDRIVERMANAGER FAILED
    leonard.lotus-land.ca is hosted by Perceptus Solutions Inc.