View Single Post
  #2 (permalink)  
Old 04-23-2008
MowGreen [MVP]
 

Posts: n/a
Re: Windows Script Host has no script engine for ".js" files
A similar error found in XP :
http://www.winhelponline.com/article...indows-XP.html

You could try registering jscript.dll and see if that resolves the
issue. Suggest you do it from an Elevated Command Prompt
Start Search
type in cmd
Click Search
*Right* click cmd and choose 'Run as administrator'
Follow and/or Approve the prompts
At the prompt, type in and then press Enter after each command

regsvr32 %systemroot%\system32\jscript.dll
exit

Not sure if the reg file on Ramesh's page is applicable to Vista,
though. JSFile is located in HKEY_CLASSES_ROOT\.JS in XP and mowst
likely is in Vista, too. Compare and contrast it with the reg file to
see if it is applicable to Vista, Stephan.

MowGreen [MVP 2003-2008]
===============
*-343-* FDNY
Never Forgotten
===============




Stephan G. wrote:

> Hello.
>
> I am running Windows Vista Home Premium with service pack 1, although
> this problem existed even before SP1 was installed.
>
> Although under both Firefox and Internet Explorer I am able to fully
> utilize websites with javascript, and seem to be able to run other
> scripts (installation and otherwise) with little difficulty, there are a
> minority of installation scripts that lead to the following window
> popping up and the script terminating:
>
> WINDOW TITLE: Windows Script Host
> MESSAGE: There is no script engine for file extension ".js".
> POSSIBLE ACTIONS: OK button only. When pressed, the
> action seems to terminate without
> completion.
>
> Any thoughts of this? I have been poking around in the Microsoft KB
> about the Windows Script Host, and I have come to understand what it
> does, but I can't locate what is causing this error.
>
> Is there a way to completely uninstall and reinstall the Windows Script
> Host?
>
> Thanks.
>
> -Stephan.

Reply With Quote