[Geoserver-devel] [JIRA] (GEOS-10713) Windows installer generation script fails because a file is not found

Juan Luis Rodríguez created an issue

GeoServer / BugGEOS-10713

Windows installer generation script fails because a file is not found

Issue Type:

BugBug

Affects Versions:

2.21-M0, 2.22-M0, 2.22-RC

Assignee:

Unassigned

Components:

Windows Installer

Created:

20/Oct/22 1:17 PM

Priority:

MediumMedium

Reporter:

Juan Luis Rodríguez

https://github.com/geoserver/geoserver/pull/6088has moved the file src/release/NOTICE.md → licenses/NOTICE.md. This file is needed by the Windows Installer. It converts it to Rich Text Format (rtf) and shows the content in the installer’s license screen.

This has broken the Windows installer script that needs a NOTICE.md file in the geoserver-*-bin.zip file that it’s used for generating the exe. Currently this is the error thrown:

!system: "pandoc -s -f markdown -t rtf "..\source\NOTICE.md" -o license.rtf"
pandoc.exe: ..\source\NOTICE.md: openBinaryFile: does not exist (No such file or directory)
!makensis: returned 1, aborting
!system: returned 1
Error in script "geoserver_winsetup.nsi" on line 130 -- aborting creation process
!insertmacro: MUI_PAGE_WELCOME

https://github.com/geoserver/geoserver/blob/169d2502d24ec044bf4f4796ab2aa951c5d1e5d6/src/release/installer/win/build/geoserver_winsetup.nsi#L187-L191

To fix this a markdown or rtf file needs to be included in the bin ZIP file with the license to show to the user in the installer.

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100209-sha1:392b984)

Atlassian logo