internals:windows:installer
This is an old revision of the document!
MSI Installer Build Instructions
Pre-requisites
- .NET Framework 1.1 SP1 Runtime installed
- PHP Windows zip binary distribution
- The pre-compiled PECL extensions for Windows from http://pecl4win.php.net/branch.php
- Copy of PHP Manual in CHM format.
- Local Checked out copy of this directory
Build Steps
- 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
The script will produce the installer as php-VERSION-win32-install.msi where VERSION is the string passed to the build.bat script.
Example for building for PHP version 5.2.5 with non-thread-safe binaries
build.bat 5.2.0 nts
Example for building for PHP version 5.3.0beta1 with VC9 binaries
build.bat 5.3.0beta1 vc9
Example for building for PHP version 5.3.0 with non-thread-safe and VC9 built binaries
build.bat 5.3.0 nts vc9
Example for building for PHP version 5.3.0 with VC9 x64 built binaries
build.bat 5.3.0 x64
internals/windows/installer.1221160704.txt.gz · Last modified: 2017/09/22 13:28 (external edit)