In windows you might have a problem while installing ZF using composer.
In my case I got following error
xcopy’ is not recognized as an internal or external command
I was using wnidows7.
and solved the problem by setting up the windows environment variable path with following value.
NB: to set environment path variable, Right click on my computer -> Properties-> Advanced System Settings -> Environment variable -> System Variables -> PATH -> Edit