You have not mentioned where you want to install. Do you want to install on windows or on linux, if it is on windows then you should go to PHP installation direct and from there execute your yiic.bat script as :
php.exe yiic.bat webapp /install/location