Could not access VBScript run time for custom action

how are you,
I have been using avast business 4.8 version on my windows 2008 server.
When I upgrade it to Business Protection, I hit an error message of ‘Could not access VBScript run time for custom action.’
I am working as an administrator.

any idea?

Hi,

this is a known/observed issue on some windows installations. Please find the VBScript runtime dll (usually c:\Windows\System32\vbscript.dll) and re-register it with COM from the command line:

regsvr32 c:\Windows\System32\vbscript.dll

This should do the trick, try installing again.

Thanks
jx

Re-register the dll don’t work in our case.

This really is some kind of windows configuration issue, not related to avast products. Most likely other products depending on VBScript will malfunction as well.

One other thing you may try is reinstalling the VC redistributable: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=29

HTH

jx

Is it a 64bit OS?
If so, maybe registering both the 32bit and 64bit versions of the DLL is needed?

Yes, Igor, is a MS Windows Server 2008 (64 bits).

We have re-registered both dll (32 and 64) and don’t work.

We are going to try the reinstallation of the VC redistributable.

We have reinstalled the VC++ 2008 Redistributable and we have installed VC++ 2010 Redistributable, but the ABP setup program doesn’t work. :cry:

We think that we must reinstall our MS test server. :-\

Thanks.

Is there anything specific about these servers (where vbscript runtime fails)?
Language version of the OS, specific configuration, … anything?

Hi, could you please try to do a “fix” described here? http://blogs.msdn.com/b/heaths/archive/2007/05/31/windows-installer-errors-2738-and-2739-with-script-custom-actions.aspx

thanks.

Same problem here - affected 8 clients.
We use a .vbs Skript for mapping network drives and for autostarting services;
since the deployment of ABP on the clients we are not able to start any .vbs script.

Windows Script Host error message: Scriptmodule “VBScript” for script “\servername.…” was not found.

Already tried to register .dll again, already reinstalled vcredist.exe - still same problem.
Checked system with sfc /scannow - no problems found.
Uninstalled ABP - problem persits!!!

Only way to solve this is to restore a system-point!

After deploying ABP again - same problem happens!

Probably this helps to analyse this one:

  • error only occours on GERMAN Windows VISTA Clients (all of them fully patches with latest
    updates)
  • all of the affected clients run AVAST PRO v6 before the deployment; this version was
    automatically removed through the “silent” deployment using the ABP console

I have got ONE Vista client which is NOT affected because I manually uninstalled AVAST v6
before the new ABP client was deployed …

Also noticed an other problem:
on all WIN 7 clients (German) you are not able to open Windows Media Player after the deployment

This one can be solved by simply uninstalling ABP and reinstall it using the “email deplayment” option.

Any suggestions for repairing the scripting host are highly appreciated!

Thanks in advance!

Hi,
we’ve just released update of the Business Protection (Plus) - http://forum.avast.com/index.php?topic=82941.0
It sould fix this problem

regards

Having the same problem. Running Win server 2008 (not R2) 64bit. Tried installing the latest BP admin console (SP1), it comes up with the error during setup (right after clicking the first ‘next’) and doesn’t update/install. Cannot uninstall the current BP Admin console. It gives the same error (VBScript). I’m out of options here. This isn’t a test server, I cannot just reload it. It’s a production server.

BTW, all this started because I cannot get the admin console to create a client installer. See this post I started: http://forum.avast.com/index.php?topic=81963.0

Was able to finally get that server to work, but tried everything on that post. Please help!

I UNINSTALLED AVAST - MY SCRIPTHOST IS DEAD NOW - AVAST LEFT UNCHANGABLE REGISTRY ENTRIES SO I NEED TO REINSTALL WINDOWS - WHATS BETTER INSTALLING SECURITY SOFTWARE THAT DESTROYS MY INSTALLATION OR GETTING A VIRUS THAT DESTROYS MY INSTALLATION.

So iam having to options now i reinstall avast and my scripthost works - or i uninstall avast and i dont use my scripthost no more - people i need to reinstall my system or what???

Chromebandit