Extract it to a directory. For example C:\Users\Joe\apache-ant-1.7-bin.
Edit your environment variables: On Windows XP: Right click on
My Computer and select properties, then select Advance tab. On
Vista: Right click on Computer and select properties => Advanced
System Settings, then click on Environment Variables button.
Add two system environment variables: JAVA_HOME = C:\Program Files\Java\jdk1.6.0_01 ANT_HOME = C:\Users\Joe\apache-ant-1.7-bin
Edit PATH envroment variable and add the following to the end: ;%JAVA_HOME%\bin;%ANT_HOME%\bin;