m4_dnl -*-html-*- m4_include(`template.m4') m4_dnl $Id$ m4_define(`EN') m4_define(`DE_FILE', `build-installer-de.html') PAGE_START

Build Gpg4win installer packages on your own

Attention: This page (and the other pages to build Gpg4win) is not yet updated to Gpg4win2.

Conventional ".exe installer"

Building a new Gpg4win installer package is mostly automized. The build procedure can be executed on a GNU/Linux system or within a virtual maschine also on Windows and other systems.

What you need is:

MSI Installer

Attention: The Gpg4win MSI Installer is only supported since Gpg4win 1.9.0beta.

What you need is:

Now you need to execute the following steps:

  1. Change into the src/ directory of the Gpg4win source code where you built the conventional installer before (compare Build Gpg4win under GNU/Linux):
    $ cd src
  2. Execute make-msi.pl to create the required WiX source files:
    $ make msi
  3. No change into the same directory ("src") on the Windows system and execute script "make-msi.bat" to create the MSI package:
    > make-msi.bat gpg4win-Version.wix
    or
    > make-msi.bat gpg4win-light-Version.wix

    where "Version" is the complete version number of the just created concentional installer, e.g. "1.9.0-svn595". You will find the resulting .wix files in the same directory.

    This routine assumes that WiX is installed in a default location. In case it is not, you need to adapt the search path (PATH system variable).

  4. The MSI package is not ready and stored as file "gpg4win.msi". You can install it in the following way:
    > msiexec /i gpg4win.msi
    and also de-install it:
    > msiexec /x gpg4win.msi

How to access the Gpg4win build files from Windows

The WiX software requires access to the file tree where the conventional intaller was created. This is possible in many ways of which three opportunities are illustrated here. These are not step-by-step preocedures and thus need to be adapted for your individual environment.