Home → Troubleshooting → Installation → "Could not access VBScript run time for custom action"
Applies to:
@RISK 5.0 installer under Windows Vista only
Problem:
When installing @RISK in my Windows Vista system, I got the error message
Error 2738. Could not access VBScript run time for custom action
Response:
There are a few different issues involved here, all unique to Windows Vista:
Make sure to "Run as Administrator". Even when you are logged in as the Administrator, you may not be actually executing programs as an Administrator. When launching the @RISK for Excel installation file (or doing many other tasks, for that matter), make sure to right-click on the file and choose "Run as Administrator" (second item in the list). If you don't, then you are most likely running the program with limited permissions, and things such as registry keys and system files will not be created or updated properly.
Register the VBSCRIPT.DLL file. Vista does not register this file by default. To register this file manually, click Start » Run, or Start » All Programs » Accessories » Run. Type
regsvr32 vbscript.dll
into the box and press Enter. You should see a dialog indicating that registration of the file succeeded. If that fails, click Start » All Programs » Accessories, right-click on Command Prompt, and select Run as administrator. Type in
regsvr32 vbscript.dll
and press Enter. You should get a dialog stating that the registration succeeded.
NOTE: If you are running a 64-bit version of Windows Vista, register the VBSCRIPT.DLL file by running C:\windows\syswow64 instead of the system command prompt.
Once you have the VBSCRIPT.DLL file registered, launch the @RISK for Excel installer. Again, make sure you are using the "Run as administrator" option to launch the installer.
last edited: 2012-11-17