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

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"

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.1208028467.txt.gz · Last modified: 2017/09/22 13:28 (external edit)