Can't install msvc templates.

I run the “install-templates-msvc.bat” and the templates don’t install.

i get this error when the “InstallWizardForVS2010Exprees.js” runs from the batch file:
Input Error: There is no script engine for file extension “.js”.

I’ve spent the whole weekend just trying to get cocos2d-x installed on my computer and I am getting very frustrated.

If anyone can help me out, i Will be very happy.

Figured it out.
The info on this web page fixed it for me.
http://www.winhelponline.com/articles/230/1/Error-There-is-no-script-engine-for-file-extension-when-running-js-files.html