Take a look in Event Viewer
I looked in Event Viewer to find out what MSI-file that generated the error message and found:
Log Name: Application
Source: MsiInstaller
Date: 23.09.2010 21:58:26
Event ID: 1040
... ...
Description:
Beginning a Windows Installer transaction: C:\ProgramData\Skype\{D103C4BA-F905-437A-8049-DB24763BBE36}\SkypeToolbars.msi. Client Process Id: 6564.
2.
Running MSIEXEC with logging options
I started a "Command Promt" and used the command: "cd C:\ProgramData\Skype\{D103C4BA-F905-437A-8049-DB24763BBE36}" to navigate into the folder containing the MSI-file.
Now using the command: "msiexec /i SkypeToolbars.msi /lv log.txt" (msiexec options: /i = Install, /lv = Log + Verbose output).
After clicking away the error message I just wrote "log.txt" in my "Command Promt" to open the log-file. Near the bottom of the log-file I found this line:
DEBUG: Error 2738: Could not access VBScript runtime for custom action
3.
DEBUG: Error 2738
After a quick search at Google I found out this error indicates that the VBScript engine is not registered on the computer.
The solution for a Windows Vista or Windows 7 32bit:
- Click Start -> All Programs -> Accessories
- Right click "Command Promt" and click on "Run as administrator"
- Write "cd %windir%\system32" and hit Enter
- Write "regsvr32.exe vbscript.dll" and hit Enter
- You should now get a message that says: "DllRegisterServer in vbscript.dll succeeded."
- Click "OK"
The solution for a Windows Vista or Windows 7 64bit:
- Click Start -> All Programs -> Accessories
- Right click "Command Promt" and click on "Run as administrator"
- Write "cd %windir%\syswow64" and hit Enter
- Write "regsvr32.exe vbscript.dll" and hit Enter
- You should now get a message that says: "DllRegisterServer in vbscript.dll succeeded."
- Click "OK"
4.
Try again...
Now I tried once more to run "msiexec /i SkypeToolbars.msi /lv log.txt" (I kept the /lv log.txt option to look for changes if the installer would fail again).
If you still get the same Error than continue to step 5.
5.
Cleanup registry first, then re-reg
My installation still gave me the same error, so after some more searching and reading on Google I found a solution that explained what I tried before (with the regsvr32.exe) and also an alternative step if that one should fail. The alternative step was to remove the Registry Key pointing to vbscript.dll.
The alternative solution for a Windows Vista or Windows 7 32bit is then:
- Click Start -> All Programs -> Accessories
- Right click "Command Promt" and click on "Run as administrator"
- Write "reg delete "HKCU\SOFTWARE\Classes\CLSID\{B54F3741-5B07-11CF-A4B0-00AA004A55E8}" /f" and hit Enter
- Write "cd %windir%\system32" and hit Enter
- Write "regsvr32.exe vbscript.dll" and hit Enter
- You should now get a message that says: "DllRegisterServer in vbscript.dll succeeded."
- Click "OK"
The alternative solution for a Windows Vista or Windows 7 64bit:
- Click Start -> All Programs -> Accessories
- Right click "Command Promt" and click on "Run as administrator"
- Write "reg delete "HKCU\SOFTWARE\Classes\Wow6432Node\CLSID\{B54F3741-5B07-11CF-A4B0-00AA004A55E8}" /f" and hit Enter
- Write "cd %windir%\ syswow64" and hit Enter
- Write "regsvr32.exe vbscript.dll" and hit Enter
- You should now get a message that says: "DllRegisterServer in vbscript.dll succeeded."
- Click "OK"
Now using the command "msiexec /i SkypeToolbars.msi /lv log.txt" the installer started perfectly, ran all the way thru and Finished.
Conclusion
This message indicates that VBScript engine is not currently registered on the Computer running the installer.
Vbscript.dll must get registered to solve the problem.
Ref:
http://community.spiceworks.com/how_to/show/1577
×