MDAC 2.8 SP1 "INF Install failure. Access denied" on Win2k Server (long elaboration)

P

Petr Prikryl

(Originally published in microsoft.public.data.ado. Please, if you know
better newgroup, tel me.)

Summary: When running MDAC_type.exe, the installation ends
with "INF Install failure. Reason: Access is denied."
I belong to the Administrators group and I did also try to
install the MDAC as Administrator (both the local and the
domain one) -- no difference.

I am going to summarize my up-to-date experience which
still did not help to solve the problem.

Details: The MDAC 2.8 SP1 is the prerequisite for
instalation Visual Studio 2005. For some reasons I use the
MS Windows 2000 Server, SP4, 5.00.2195 as a development
environment.

In my case, it seems that the C:\WINNT\INF\rspfiles.inf
files caused the ACCESS DENIED problem even though
it was successfully opened and closed during previous steps.

The steps displayed in the "Microsoft Data Access
Components 2.8 SP1 Setup" window:
* End User License Agreement -- checked, pressed Next.
* Checking... (displayed shortly, probably checking if
the DLLs are in use.)
* Installing the Software (Setup will now install Microsoft
Data Access Components 2.8 SP1. Click Finish to begin
the installation) -- clicked Finish
* Installing Components (Installing MDAC Setup Response
Files.) -- displays the message box with error icon,
title "Advanced INF installer",
text "INF Install failure. Reason: Access is denied." -- OK
* Setup Could not Complete (Setup cannot be completed because
an error was encountered during setup. Please contact your
software vendor for more information. Click Close to exit
setup.) -- Clicked Close.

I did follow the "Microsoft Data Access Components (MDAC)
Installation (May 2005)"
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmdac/html/data_mdacinstall.asp
including the "Troubleshooting Setup Issues".

I tried also "How to MDAC setup troubleshooting guide"
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q232060

and "Frequently asked questions about the installation of
Microsoft Data Access Components (MDAC)"
http://support.microsoft.com/?kbid=842193 Revision 2.0;
November 21, 2005

Then I have downloaded the ComponentChecker and discovered
that my current MDAC version is UNKNOWN (or the like
message) because of mixing more versions (Occasionally, I
have installed and uninstalled MS SQL Server 2000. The
result was that versions of MDAC from 2.5 through 2.6, 2.7,
2.8 were installed.) Using the tricks described in the paper
(letter?)
http://msauer.mvps.org/images/error.pdf#search='MDAC 2.8 SP1 failed'
I successfully reached the status when ComponentChecker
shows the MDAC version 2.8 RTM (no mismatch in COM Details
or in Registry, only some mismatched files related probably
to SQL and Office).

Then I did unpack the mdac_type.exe for MDAC 2.8 SP1 to
c:\MDACsetup281 and got the www.sysinternals.com utilities
ListDLLs, FileMon, and RegMon.

I am using the AVG Antivirus; so, I did deactivate the Resident
Shield, E-mail Scanner, and the Shell Extension. I believe
it should be enough. I did not completely uninstalled the
AVG antivirus.

When logged-in as the local administrator, I have ensured
that msado15.dll, oledb32.dll, and odbc32.dll are not used
(ListDLLs).

Then I have run the FileMon and set the filter to
"dasetup.exe". After, I have launched the
c:\MDACsetup281\setup.exe and clicked until everything have
finished. You can find the following logs zipped in the
http://www.skil.cz/MDACproblem/MdacAccessDenied.zip:

dasetup.log (C:\WINNT\dasetup.log)
MdacFilemon5.LOG (filtered by "dasetup.exe")
MdacFilemonRspfiles5.LOG (filtered by "rspfiles.inf")

Here are the snipets that caught my eye...

dasetup.log -- near the end of the log
-------------------------------------------------------
[...snip...]
Executing Action: INSTALLW2KMIGRATIONPACK
arg1: 'C:\MDACsetup281\'
arg2: 'rspfiles.inf'
args: '"C:\MDACsetup281\" "rspfiles.inf" -1 0 N'
INSTALLW2KMIGRATIONPACK Getting OS Version Info
INSTALLW2KMIGRATIONPACK Exception Pack Path: 'C:\MDACsetup281\'
INSTALLW2KMIGRATIONPACK Exception Pack INF : 'rspfiles.inf'
INSTALLW2KMIGRATIONPACK Time out Value : -1
INSTALLW2KMIGRATIONPACK Flags : 0
INSTALLW2KMIGRATIONPACK Testing C:\MDACsetup281\\rspfiles.inf for existance
INSTALLW2KMIGRATIONPACK Getting OS Version Info
INSTALLW2KMIGRATIONPACK Testing C:\MDACsetup281\\rspfiles.inf for existance
INSTALLW2KMIGRATIONPACK Get the FriendlyName
INSTALLW2KMIGRATIONPACK Get the ComponentID
INSTALLW2KMIGRATIONPACK Get the VersionMajor
INSTALLW2KMIGRATIONPACK Get the VersionMinor
INSTALLW2KMIGRATIONPACK Get the BuildNumber
INSTALLW2KMIGRATIONPACK Get the QFENumber
INSTALLW2KMIGRATIONPACK Set the INF Name
INSTALLW2KMIGRATIONPACK Get the CatalogFile
INSTALLW2KMIGRATIONPACK ParamLine:
'C:\MDACsetup281\\rspfiles.inf,DefaultInstall,,0,N'
INSTALLW2KMIGRATIONPACK Calling LaunchINFSectionEx with params:
'C:\MDACsetup281\\rspfiles.inf,DefaultInstall,,0,N', 0
INSTALLW2KMIGRATIONPACK HINSTANCE: 1901920256
INSTALLW2KMIGRATIONPACK LaunchInfSectionEx ProcAddress: 1901961552
INSTALLW2KMIGRATIONPACK LaunchINFSection Return Code: -2147024891
INSTALLW2KMIGRATIONPACK Freeing AdvPack.dll Function Pointer
INSTALLW2KMIGRATIONPACK ExitCode: 0x80070005
INSTALLW2KMIGRATIONPACK LaunchINFSectionEx Failed: 0x80070005
Return HR: 0x80070005
Exiting function: ExecuteInstall()
Return value: (HRESULT) 0x80070005
---------------------------------------------------------


MdacFilemonRspfiles5.LOG (filtered by "rspfiles.inf",
cut-off the first columns with event no. time and the
process info like "7325 15:25:37 dasetup.exe:1012") -- the
last lines in the log.
---------------------------------------------------------
[...snip...]
OPEN C:\WINNT\INF\rspfiles.inf SUCCESS Options: Open Access: All
QUERY INFORMATION C:\WINNT\INF\rspfiles.inf SUCCESS Length: 1147
QUERY INFORMATION C:\WINNT\INF\rspfiles.inf SUCCESS Length: 1147
CLOSE C:\WINNT\INF\rspfiles.inf SUCCESS
CLOSE C:\mdacsetup281\rspfiles.inf SUCCESS
OPEN C:\WINNT\INF\rspfiles.inf ACCESS DENIED PRIKRYL\Administrator
---------------------------------------------------------

Notice the earlier SUCCESSful OPEN and CLOSE of
C:\WINNT\INF\rspfiles.inf, and the final ACCESS DENIED.

I have no idea what to try next. (I do not want to reinstall
everything.)

Thanks for your time and experience.
pepr

P.S. Feel free to correct my English.
 
D

Dave Patrick

This one may help.

http://support.microsoft.com/?id=842239

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| (Originally published in microsoft.public.data.ado. Please, if you know
| better newgroup, tel me.)
|
| Summary: When running MDAC_type.exe, the installation ends
| with "INF Install failure. Reason: Access is denied."
| I belong to the Administrators group and I did also try to
| install the MDAC as Administrator (both the local and the
| domain one) -- no difference.
|
| I am going to summarize my up-to-date experience which
| still did not help to solve the problem.
|
| Details: The MDAC 2.8 SP1 is the prerequisite for
| instalation Visual Studio 2005. For some reasons I use the
| MS Windows 2000 Server, SP4, 5.00.2195 as a development
| environment.
|
| In my case, it seems that the C:\WINNT\INF\rspfiles.inf
| files caused the ACCESS DENIED problem even though
| it was successfully opened and closed during previous steps.
|
| The steps displayed in the "Microsoft Data Access
| Components 2.8 SP1 Setup" window:
| * End User License Agreement -- checked, pressed Next.
| * Checking... (displayed shortly, probably checking if
| the DLLs are in use.)
| * Installing the Software (Setup will now install Microsoft
| Data Access Components 2.8 SP1. Click Finish to begin
| the installation) -- clicked Finish
| * Installing Components (Installing MDAC Setup Response
| Files.) -- displays the message box with error icon,
| title "Advanced INF installer",
| text "INF Install failure. Reason: Access is denied." -- OK
| * Setup Could not Complete (Setup cannot be completed because
| an error was encountered during setup. Please contact your
| software vendor for more information. Click Close to exit
| setup.) -- Clicked Close.
|
| I did follow the "Microsoft Data Access Components (MDAC)
| Installation (May 2005)"
|
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmdac/html/data_mdacinstall.asp
| including the "Troubleshooting Setup Issues".
|
| I tried also "How to MDAC setup troubleshooting guide"
| http://support.microsoft.com/default.aspx?scid=kb;en-us;Q232060
|
| and "Frequently asked questions about the installation of
| Microsoft Data Access Components (MDAC)"
| http://support.microsoft.com/?kbid=842193 Revision 2.0;
| November 21, 2005
|
| Then I have downloaded the ComponentChecker and discovered
| that my current MDAC version is UNKNOWN (or the like
| message) because of mixing more versions (Occasionally, I
| have installed and uninstalled MS SQL Server 2000. The
| result was that versions of MDAC from 2.5 through 2.6, 2.7,
| 2.8 were installed.) Using the tricks described in the paper
| (letter?)
| http://msauer.mvps.org/images/error.pdf#search='MDAC 2.8 SP1 failed'
| I successfully reached the status when ComponentChecker
| shows the MDAC version 2.8 RTM (no mismatch in COM Details
| or in Registry, only some mismatched files related probably
| to SQL and Office).
|
| Then I did unpack the mdac_type.exe for MDAC 2.8 SP1 to
| c:\MDACsetup281 and got the www.sysinternals.com utilities
| ListDLLs, FileMon, and RegMon.
|
| I am using the AVG Antivirus; so, I did deactivate the Resident
| Shield, E-mail Scanner, and the Shell Extension. I believe
| it should be enough. I did not completely uninstalled the
| AVG antivirus.
|
| When logged-in as the local administrator, I have ensured
| that msado15.dll, oledb32.dll, and odbc32.dll are not used
| (ListDLLs).
|
| Then I have run the FileMon and set the filter to
| "dasetup.exe". After, I have launched the
| c:\MDACsetup281\setup.exe and clicked until everything have
| finished. You can find the following logs zipped in the
| http://www.skil.cz/MDACproblem/MdacAccessDenied.zip:
|
| dasetup.log (C:\WINNT\dasetup.log)
| MdacFilemon5.LOG (filtered by "dasetup.exe")
| MdacFilemonRspfiles5.LOG (filtered by "rspfiles.inf")
|
| Here are the snipets that caught my eye...
|
| dasetup.log -- near the end of the log
| -------------------------------------------------------
| [...snip...]
| Executing Action: INSTALLW2KMIGRATIONPACK
| arg1: 'C:\MDACsetup281\'
| arg2: 'rspfiles.inf'
| args: '"C:\MDACsetup281\" "rspfiles.inf" -1 0 N'
| INSTALLW2KMIGRATIONPACK Getting OS Version Info
| INSTALLW2KMIGRATIONPACK Exception Pack Path: 'C:\MDACsetup281\'
| INSTALLW2KMIGRATIONPACK Exception Pack INF : 'rspfiles.inf'
| INSTALLW2KMIGRATIONPACK Time out Value : -1
| INSTALLW2KMIGRATIONPACK Flags : 0
| INSTALLW2KMIGRATIONPACK Testing C:\MDACsetup281\\rspfiles.inf for
existance
| INSTALLW2KMIGRATIONPACK Getting OS Version Info
| INSTALLW2KMIGRATIONPACK Testing C:\MDACsetup281\\rspfiles.inf for
existance
| INSTALLW2KMIGRATIONPACK Get the FriendlyName
| INSTALLW2KMIGRATIONPACK Get the ComponentID
| INSTALLW2KMIGRATIONPACK Get the VersionMajor
| INSTALLW2KMIGRATIONPACK Get the VersionMinor
| INSTALLW2KMIGRATIONPACK Get the BuildNumber
| INSTALLW2KMIGRATIONPACK Get the QFENumber
| INSTALLW2KMIGRATIONPACK Set the INF Name
| INSTALLW2KMIGRATIONPACK Get the CatalogFile
| INSTALLW2KMIGRATIONPACK ParamLine:
| 'C:\MDACsetup281\\rspfiles.inf,DefaultInstall,,0,N'
| INSTALLW2KMIGRATIONPACK Calling LaunchINFSectionEx with params:
| 'C:\MDACsetup281\\rspfiles.inf,DefaultInstall,,0,N', 0
| INSTALLW2KMIGRATIONPACK HINSTANCE: 1901920256
| INSTALLW2KMIGRATIONPACK LaunchInfSectionEx ProcAddress: 1901961552
| INSTALLW2KMIGRATIONPACK LaunchINFSection Return Code: -2147024891
| INSTALLW2KMIGRATIONPACK Freeing AdvPack.dll Function Pointer
| INSTALLW2KMIGRATIONPACK ExitCode: 0x80070005
| INSTALLW2KMIGRATIONPACK LaunchINFSectionEx Failed: 0x80070005
| Return HR: 0x80070005
| Exiting function: ExecuteInstall()
| Return value: (HRESULT) 0x80070005
| ---------------------------------------------------------
|
|
| MdacFilemonRspfiles5.LOG (filtered by "rspfiles.inf",
| cut-off the first columns with event no. time and the
| process info like "7325 15:25:37 dasetup.exe:1012") -- the
| last lines in the log.
| ---------------------------------------------------------
| [...snip...]
| OPEN C:\WINNT\INF\rspfiles.inf SUCCESS Options: Open Access: All
| QUERY INFORMATION C:\WINNT\INF\rspfiles.inf SUCCESS Length: 1147
| QUERY INFORMATION C:\WINNT\INF\rspfiles.inf SUCCESS Length: 1147
| CLOSE C:\WINNT\INF\rspfiles.inf SUCCESS
| CLOSE C:\mdacsetup281\rspfiles.inf SUCCESS
| OPEN C:\WINNT\INF\rspfiles.inf ACCESS DENIED PRIKRYL\Administrator
| ---------------------------------------------------------
|
| Notice the earlier SUCCESSful OPEN and CLOSE of
| C:\WINNT\INF\rspfiles.inf, and the final ACCESS DENIED.
|
| I have no idea what to try next. (I do not want to reinstall
| everything.)
|
| Thanks for your time and experience.
| pepr
|
| P.S. Feel free to correct my English.
|
|
 
P

Petr Prikryl

Thanks, Dave,

but it did not help. I have Windows 2000 so I did use the regedt32.exe
instead of regedit.exe.
I had added the Administrator and the Full control permissions, but the
symptoms are still
the same. I am willing to learn new things to dig deeper, but I do not know
where to dig
now. Is the subkey
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Migration
DLLs
the general one?

(I do not understand the purpose. I had graduated at CS dept.
but I do not have deep knowledge related to MS OS.)

pepr


This one may help.
http://support.microsoft.com/?id=842239

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| (Originally published in microsoft.public.data.ado. Please, if you know
| better newgroup, tel me.)
|
| Summary: When running MDAC_type.exe, the installation ends
| with "INF Install failure. Reason: Access is denied."
| I belong to the Administrators group and I did also try to
| install the MDAC as Administrator (both the local and the
| domain one) -- no difference.
|
| I am going to summarize my up-to-date experience which
| still did not help to solve the problem.
|
| Details: The MDAC 2.8 SP1 is the prerequisite for
| instalation Visual Studio 2005. For some reasons I use the
| MS Windows 2000 Server, SP4, 5.00.2195 as a development
| environment.
|
| In my case, it seems that the C:\WINNT\INF\rspfiles.inf
| files caused the ACCESS DENIED problem even though
| it was successfully opened and closed during previous steps.
|
| The steps displayed in the "Microsoft Data Access
| Components 2.8 SP1 Setup" window:
| * End User License Agreement -- checked, pressed Next.
| * Checking... (displayed shortly, probably checking if
| the DLLs are in use.)
| * Installing the Software (Setup will now install Microsoft
| Data Access Components 2.8 SP1. Click Finish to begin
| the installation) -- clicked Finish
| * Installing Components (Installing MDAC Setup Response
| Files.) -- displays the message box with error icon,
| title "Advanced INF installer",
| text "INF Install failure. Reason: Access is denied." -- OK
| * Setup Could not Complete (Setup cannot be completed because
| an error was encountered during setup. Please contact your
| software vendor for more information. Click Close to exit
| setup.) -- Clicked Close.
|
| I did follow the "Microsoft Data Access Components (MDAC)
| Installation (May 2005)"
|
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmdac/html/data_mdacinstall.asp
| including the "Troubleshooting Setup Issues".
|
| I tried also "How to MDAC setup troubleshooting guide"
| http://support.microsoft.com/default.aspx?scid=kb;en-us;Q232060
|
| and "Frequently asked questions about the installation of
| Microsoft Data Access Components (MDAC)"
| http://support.microsoft.com/?kbid=842193 Revision 2.0;
| November 21, 2005
|
| Then I have downloaded the ComponentChecker and discovered
| that my current MDAC version is UNKNOWN (or the like
| message) because of mixing more versions (Occasionally, I
| have installed and uninstalled MS SQL Server 2000. The
| result was that versions of MDAC from 2.5 through 2.6, 2.7,
| 2.8 were installed.) Using the tricks described in the paper
| (letter?)
| http://msauer.mvps.org/images/error.pdf#search='MDAC 2.8 SP1 failed'
| I successfully reached the status when ComponentChecker
| shows the MDAC version 2.8 RTM (no mismatch in COM Details
| or in Registry, only some mismatched files related probably
| to SQL and Office).
|
| Then I did unpack the mdac_type.exe for MDAC 2.8 SP1 to
| c:\MDACsetup281 and got the www.sysinternals.com utilities
| ListDLLs, FileMon, and RegMon.
|
| I am using the AVG Antivirus; so, I did deactivate the Resident
| Shield, E-mail Scanner, and the Shell Extension. I believe
| it should be enough. I did not completely uninstalled the
| AVG antivirus.
|
| When logged-in as the local administrator, I have ensured
| that msado15.dll, oledb32.dll, and odbc32.dll are not used
| (ListDLLs).
|
| Then I have run the FileMon and set the filter to
| "dasetup.exe". After, I have launched the
| c:\MDACsetup281\setup.exe and clicked until everything have
| finished. You can find the following logs zipped in the
| http://www.skil.cz/MDACproblem/MdacAccessDenied.zip:
|
| dasetup.log (C:\WINNT\dasetup.log)
| MdacFilemon5.LOG (filtered by "dasetup.exe")
| MdacFilemonRspfiles5.LOG (filtered by "rspfiles.inf")
|
| Here are the snipets that caught my eye...
|
| dasetup.log -- near the end of the log
| -------------------------------------------------------
| [...snip...]
| Executing Action: INSTALLW2KMIGRATIONPACK
| arg1: 'C:\MDACsetup281\'
| arg2: 'rspfiles.inf'
| args: '"C:\MDACsetup281\" "rspfiles.inf" -1 0 N'
| INSTALLW2KMIGRATIONPACK Getting OS Version Info
| INSTALLW2KMIGRATIONPACK Exception Pack Path: 'C:\MDACsetup281\'
| INSTALLW2KMIGRATIONPACK Exception Pack INF : 'rspfiles.inf'
| INSTALLW2KMIGRATIONPACK Time out Value : -1
| INSTALLW2KMIGRATIONPACK Flags : 0
| INSTALLW2KMIGRATIONPACK Testing C:\MDACsetup281\\rspfiles.inf for
existance
| INSTALLW2KMIGRATIONPACK Getting OS Version Info
| INSTALLW2KMIGRATIONPACK Testing C:\MDACsetup281\\rspfiles.inf for
existance
| INSTALLW2KMIGRATIONPACK Get the FriendlyName
| INSTALLW2KMIGRATIONPACK Get the ComponentID
| INSTALLW2KMIGRATIONPACK Get the VersionMajor
| INSTALLW2KMIGRATIONPACK Get the VersionMinor
| INSTALLW2KMIGRATIONPACK Get the BuildNumber
| INSTALLW2KMIGRATIONPACK Get the QFENumber
| INSTALLW2KMIGRATIONPACK Set the INF Name
| INSTALLW2KMIGRATIONPACK Get the CatalogFile
| INSTALLW2KMIGRATIONPACK ParamLine:
| 'C:\MDACsetup281\\rspfiles.inf,DefaultInstall,,0,N'
| INSTALLW2KMIGRATIONPACK Calling LaunchINFSectionEx with params:
| 'C:\MDACsetup281\\rspfiles.inf,DefaultInstall,,0,N', 0
| INSTALLW2KMIGRATIONPACK HINSTANCE: 1901920256
| INSTALLW2KMIGRATIONPACK LaunchInfSectionEx ProcAddress: 1901961552
| INSTALLW2KMIGRATIONPACK LaunchINFSection Return Code: -2147024891
| INSTALLW2KMIGRATIONPACK Freeing AdvPack.dll Function Pointer
| INSTALLW2KMIGRATIONPACK ExitCode: 0x80070005
| INSTALLW2KMIGRATIONPACK LaunchINFSectionEx Failed: 0x80070005
| Return HR: 0x80070005
| Exiting function: ExecuteInstall()
| Return value: (HRESULT) 0x80070005
| ---------------------------------------------------------
|
|
| MdacFilemonRspfiles5.LOG (filtered by "rspfiles.inf",
| cut-off the first columns with event no. time and the
| process info like "7325 15:25:37 dasetup.exe:1012") -- the
| last lines in the log.
| ---------------------------------------------------------
| [...snip...]
| OPEN C:\WINNT\INF\rspfiles.inf SUCCESS Options: Open Access: All
| QUERY INFORMATION C:\WINNT\INF\rspfiles.inf SUCCESS Length: 1147
| QUERY INFORMATION C:\WINNT\INF\rspfiles.inf SUCCESS Length: 1147
| CLOSE C:\WINNT\INF\rspfiles.inf SUCCESS
| CLOSE C:\mdacsetup281\rspfiles.inf SUCCESS
| OPEN C:\WINNT\INF\rspfiles.inf ACCESS DENIED PRIKRYL\Administrator
| ---------------------------------------------------------
|
| Notice the earlier SUCCESSful OPEN and CLOSE of
| C:\WINNT\INF\rspfiles.inf, and the final ACCESS DENIED.
|
| I have no idea what to try next. (I do not want to reinstall
| everything.)
|
| Thanks for your time and experience.
| pepr
|
| P.S. Feel free to correct my English.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top