发一个安装vs模板时 no script engine for file extension ".js" 的解法

  • 本帖最后由 yinguowei 于 2012-4-9 23:30 编辑 *

无他,HelloWorld时候碰到,

安装那个msvc.bat,会报错:There is no script engine for file extension “.js”

顺手查了一下:
http://www.winhelponline.com/articles/230/1/Error-There-is-no-script-engine-for-file-extension-when-running-js-files.html

按网页里面第一个方法解决了

*]
Click Start, Run and type:

regsvr32 %systemroot%system32jscript.dll
*]Press
ENTER
]Download
xp_js_fix.reg from the *
Attachments
section below, and save it to Desktop
*]Right-click
xp_js_fix.reg and choose
Merge
*]Click
Yes when asked for confirmation.

主要是刚从cocoa迁移过来,没做过html、js之类不懂。。

附件上:
14

支持一下,许多同学安装模板的时候都碰到了这个问题