Tuesday, June 21, 2011

Error 2738. Could not access VBScript run time for custom action

Caused:

This error message indicates that the VBScript engine is not currently registered on the machine where the install/uninstall is taking place.

Resolution:

Note: This can only be done by using Administrator privilege account. It will involved registry and thus advisable to non-technical person to not proceed until this level or else do registry backup first. These steps can be applied to fix an error 2739, Could not access JScript run time for custom action [2].

If you are using 32-bit version of Windows:

1.Run command prompt (as an administrator)

-Start->All Programs->Accessories

-Right click on command prompt and select Run as Administrator. Or

-Start->Run, type cmd. This is shortcut to launch command prompt.

2. Type the following command in the prompt: reg delete "HKCU\SOFTWARE \Classes\CLSID\{B54F3741-5B07-11CF-A4B0-00AA004A55E8}" /f, then hit Enter. This command is to remove the keys in HKCU. HKCU stands for HKEY_Current_User.

3. Type the following command: c:\windows\system32\regsvr32 vbscript.dll, then hit Enter. This command is to re-register vbscript.dll

4. Now you would not receive the error 2738 anymore. You may now able to install the software successfully.

No comments: