Unzip the
PHP Windows zip binary distribution into the “Files” directory.
Unzip the PECL extensions zip file for the branch into the “Files/pecl” directory.
Copy
PHP Manual CHM File into the “Files” directory.
Run the “build.bat” script with the first arguement as the version you are building for.
If you are building the installer for the non-thread-safe binaries, include “nts” ( without the quotes ) as the second argument.
Example for building for PHP version 5.2.0
build.bat 5.2.0
Example for building for PHP version 5.2.5 with non-thread-safe binaries
build.bat 5.2.0 nts
The script will produce the installer as php-VERSION-win32-install.msi where VERSION is the string passed to the build.bat script.