Problem installing cocos2d-x templates

I was having troubles creating a new project so I uninstalled the templates to try to reenstall them.
I uninstalled the templates by following these stemps: http://www.cocos2d-x.org/projects/cocos2d-x/wiki/How_to_remove_cocos2d-x_templates

Then I reran the install-msvc-templates.bat and the templates don’t re-install.

How Can i install the templates again?

Seriously. Can anybody tell me why I can’t reinstall the templates?

Are you using Visual Studio Professional?
VS Express are not tested yet.

Mr Walzer Wang , sry to report here , i have got heap error . Can some one help me out with it

Thanks for replying Walzer Wang. Always apreciate your help.

I am using professional for 2008, and express for 2010.

I am having a problem with the visual studio 2010 with creating a new template, see this thread for details: http://www.cocos2d-x.org/boards/12/topics/7534?r=7781

So I uninstalled the the templates via the instructions here: http://www.cocos2d-x.org/projects/cocos2d-x/wiki/How_to_remove_cocos2d-x_templates

After that I reran the “install-templates-msvc.bat” to re-install the templates would not install anymore. So I unistalled my visual studios and reinstalled them.

I somehow got the templates installed again. I don’t know how cuz I tried so many things. One of them worked I guesse.

I learned my lesson. I won’t uninstalling the tempaltes again. It’s hard to reinstall them. I’ll just stick with Visual Studio 2008 professional.