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

  1. Unzip the PHP Windows zip binary distribution into the “Files” directory.
  2. Unzip the PECL extensions zip file for the branch into the “Files/pecl” directory.
  3. Copy PHP Manual CHM File into the “Files” directory.
  4. Run the “build.bat” script with the first arguement as the version you are building for.
  5. 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

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

The script will produce the installer as php-VERSION-win32-install.msi where VERSION is the string passed to the build.bat script.

internals/windows/installer.1221159286.txt.gz · Last modified: 2017/09/22 13:28 (external edit)