Build Windows installerΒΆ

At the time the GeoServer project does not have financial resources and man power to stand up a Windows build server (if you can help with this, please contact the developer list). However you can create your own installer (using a Windows machine).

Note

This step requires a Windows machine.

Note

A community provided Powershell script that automates the following steps is available here.

  1. Download and install NSIS.

  2. Install the NSIS Access Control plugin. The simplest way to do this is to download the zip, extract the .DLL files (AccessControl.dll) and copy it to the NSIS plugins directory (usually C:\Program Files\NSIS\Plugins\x86-ansi).

  3. Unzip the binary GeoServer package:

    unzip geoserver-[VERSION]-bin.zip
    
  4. Copy the files LICENSE.txt, src/release/GPL.txt and the following files from src/release/installer/win from Geoserver git repository to the root of the unpacked archive (the same directory level as the start.jar):

    GeoServerEXE.nsi
    gs.ico
    header.bmp
    side_left.bmp
    splash.bmp
    wrapper.conf
    wrapper.dll
    wrapper.exe
    wrapper.jar
    wrapper-server-license.txt
    
    _images/win-installer1.png
  5. Right-click on the installer script GeoServerEXE.nsi and select Compile Script.

    _images/win-installer2.png

After successfully compiling the script, an installer named geoserver-[VERSION].exe will be located in the root of the unpacked archive.

_images/win-installer3.png