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.

  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 two .DLL files (AccessControl.dll and AccessControlW.dll) and copy them to the NSIS plugins directory (usually C:\Program Files\NSIS\Plugins).

  3. Unzip the binary GeoServer package:

    unzip geoserver-[VERSION]-bin.zip
    
  4. Copy the files from src/release/installer/win 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