Fix: Could not Access Javascript / VBScript Run time for Custom Action (2738 Error)

  • Blog
  • September 22, 2022

If you receive the error “Could not Access Javascript / VBScript Run time for Custom Action” (2738 Error), there are a few potential fixes. This error can occur if the VBScript engine is not properly registered, or if the script is not accessible.

To register the VBScript engine:
1. Open the Windows Command Prompt.
2. Type “regsvr32 vbscript.dll” and hit Enter.
3. You should see a message that says “DllRegisterServer in vbscript.dll succeeded.”

If that doesn’t work, the script may not be accessible. In that case, you can try one of the following:
1. Make sure the script is in the same directory as the installer.
2. Register the script manually.
3. Use a different scripting language.

Fix: Could not Access Javascript / VBScript Run time for Custom Action (2738 Error)

What is the problem?

When trying to install or uninstall a program, you may get the following error message: “Could not access VBScript run time for custom action.” This error can occur if the VBScript engine is not properly registered on your computer.

Section: How do I fix it?

To fix this problem, you need to re-register the VBScript engine on your computer. To do this, follow these steps:

1. Click Start, and then click Run.
2. In the Open box, type the following command, and then click OK:

regsvr32 vbscript.dll

3. You should see a message that says “DllRegisterServer in vbscript.dll succeeded.”
4. Click OK, and then close the Command Prompt window.

You should now be able to install or uninstall programs without getting the “Could not access VBScript run time for custom action” error message.

How to fix it

If you see the error message “Could not Access VBScript Run time for Custom Action” (or “Could not Access Javascript Run time for Custom Action”), it means that the install process is trying to use a script but is unable to do so.

There are two possible causes for this error:

The first is that the script is not installed on the target machine. This is usually the case with older versions of Windows. The second is that the script is not properly registered on the target machine.

To fix this error, you need to register the script on the target machine. To do this, open a command prompt and type:

regsvr32 vbscript.dll

If you see the error message “Could not Access VBScript Run time for Custom Action” (or “Could not Access Javascript Run time for Custom Action”), it means that the install process is trying to use a script but is unable to do so.

There are two possible causes for this error:

The first is that the script is not installed on the target machine. This is usually the case with older versions of Windows. The second is that the script is not properly registered on the target machine.

To fix this error, you need to register the script on the target machine. To do this, open a command prompt and type:

regsvr32 vbscript.dll

You may also need to register the script with a different name if it is a 64-bit machine. To do this, type the following at the command prompt:

regsvr32 vbscript.dll /s

This should fix the problem and allow you to install the software.

Conclusion

When trying to install or uninstall a program, you may encounter the following error: “Could not access VBScript run time for custom action [2].” This error can occur for a variety of reasons, but it is generally caused by a conflict between the program you are trying to install or uninstall and another program on your computer.

In order to fix this error, you will need to uninstall the conflicting program and then try to install or uninstall the program again. If you are still having trouble, you may need to contact the software developer for further assistance.

Resources

If you are receiving the error message “Could not Access Javascript / VBScript Run time for Custom Action” (2738 Error), it is most likely due to one or more missing registry entries. The registry is a database that stores information and settings for the Windows operating system and for applications that run on Windows. Registry entries are created when you install or update a program, and they contain information such as the location of files and folders on your computer, the types of files that are associated with a program, and the settings for a program.

In order to fix this error, you will need to add the following registry keys:

HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID\{ F414C260-6AC0-11CF-B6D1-00AA00BBBB58}\InprocServer32
HKEY_CLASSES_ROOT\CLSID\{ F414C260-6AC0-11CF-B6D1-00AA00BBBB58}\InprocServer32

These keys should be added to the registry with the following values:

“C:\Windows\system32\vbscript.dll”
“C:\Windows\system32\jscript.dll”

After adding these keys, you should be able to run your custom action successfully.

Fix: Could not Access Javascript / VBScript Run time for Custom Action (2738 Error)

    Leave Your Comment Here