You will get that error message if a particular .DLL file that is needed during the installation is for some reason not registered correctly.
I have created a batch file that will re-register all the DLLs in the System32 folder.
Here are the steps to set it up and use it:
First make sure your system is set up to show file extensions - Open My Computer, click on the Tools menu, select Folder Options, select the View tab, remove the check in front of 'Hide extensions for known file types,' then click the Apply and OK buttons, and close the My Computer window.
[b]1.[/b] Below is a section of text. Create a new .TXT document on your Desktop (right click on the Desktop and select New - Text Document) and name it [b]RegisterDLLs.txt[/b].
[b]2.[/b] Open the new text document. Copy & Paste the entire section of [b]bold[/b] text below into it, Save and Close.
[b]3.[/b] Now change the file's extension from .TXT to .BAT (right click on it and choose Rename).
[b]4.[/b] Lastly, double left click on the file to run it. Afterwards, you can delete [b]RegisterDLLs.bat[/b] from your Desktop.
[b]Note:[/b] It will take a long time for it to complete since there are a lot of DLLs in System32.
------------------------------------
[b]echo off
echo.
echo This batch file will register all dll files in the system32 directory.
echo.
echo If you do not want to continue, press Ctrl+C to exit.
echo.
pause
echo on
cd %windir%\system32
for %%s in (*.dll) do regsvr32 /s %%s[/b]
---------------------------------------
This should take care of your issue.