I get the following script errors while trying to create a new Win-32 Application:
Before loading Application Wizard:
Line: 1, Char: 1, Error: Invalid Character, Code: 0, URL: file:///C:/Program%20Files%20(x86)/Microsoft%20Visual%20Studio%2010.0/VC/VCWizards/1033/Script.js
Line: 1, Char: 1, Error: Invalid Character, Code: 0, URL: file:///C:/Program%20Files%20(x86)/Microsoft%20Visual%20Studio%2010.0/VC/VCWizards/1033/Common.js
Line: 322, Char: 2, Error: “The value of the property ‘setDirection’ is null or undefined, not a Function object”, Code: 0, URL: file:///C:/cocos2dx/template/msvc/CCAppWiz.win32/HTML/1033/default.htm
Select “Finish” on Application Wizard:
Line: 345, Char: 2, Error: “The value of the property ‘OnWizFinish’ is null or undefined, not a Function object”, Code: 0, URL: file:///C:/cocos2dx/template/msvc/CCAppWiz.win32/HTML/1033/default.htm
I am running Windows 7 and Microsoft Visual C++ 2010 Express.
I have also tried deleting the templates and reinstalling them a number of times with no change, as well as reinstalling Cocos2d-x.
I am having exactly the same problem and cannot sort it. Its very frustrating. Can anyone help with this? I have also tried uninstalling internet explorer 8 and 9 on my vista installation with no success. Same issues on windows 7 64 installation. Any help would be appreciated.
I had exactly the same problem with VS 2010 on Windows 7 and seem to have managed to get it to work for me. I’m not an expert with W7 (or VS2010) so this may not work for everyone…
With explorer I had to “unblock” two template files :
cocos2d-1.0.1-x-0.11.0\template\msvc\CCAppWiz.win32\HTML\1033\default.htm
cocos2d-1.0.1-x-0.11.0\template\msvc\CCAppWiz.win32\HTML\1033\features.htm
Right click on the files, select “Properties” and click on “Unblock” at the bottom next to the message “This file came from another computer and might be blocked to help protect this computer.”
After unblocking these files the wizard appears to run correctly.