[PATCH] MSI installer for IcedTea-Web

Michal Vala mvala at redhat.com
Wed May 10 08:41:44 UTC 2017


Hi,

this patch 
https://michalvala.fedorapeople.org/icedtea-windows-build/win_jars.patch adds 
default paths for all jars needed for build in configure. Jars has to be placed 
in same places as for linux build from cygwin point of view.
Patch can be simplified by processing jar path with cygpath in IT_FIND_OPTIONAL_JAR.


On 05/05/2017 05:29 PM, Alex Kashchenko wrote:
> Hi,
> 
> This patch [1] adds a basic (draft) support for building MSI windows installer 
> for ITW. It adds "installer-win" target that wraps results of "install" target 
> into MSI. Build commands that worked for me:
> 
> bash autogen.sh
> bash configure --with-jdk-home=C:/path/to/jdk --disable-native-plugin 
> --with-tagsoup=c:/path/to/tagsoup-1.2.1.jar
> rd /s /q c:\cygwin64\usr\local
> make installer-win
> 
> Known limitations:
> 
> 1) cygwin must be installed into c:/cygwin64 directory and must have the 
> following packages - make, automake, autoconf, pkg-config, zip
> 
> 2) jdk, WiX [2][3] and wixgen [4][5] must be in PATH
> 
> 3) all values in installer.json descriptor are hardcoded
> 
> 4) registry values for jnlp:// protocol registration [6] are set incorrectly 
> because wixgen currently cannot create "(Default)" registry values (I'll fix that)
> 
> 5) installer uses default images taken from here [7], icon is taken from here 
> [8]; they probably need to be replaced
> 
> Resulting installer example [9]
> 
> 
> [1] http://cr.openjdk.java.net/~akasko/itw/msi_20170505.patch
> [2] http://wixtoolset.org/
> [3] https://github.com/ojdkbuild/tools_wix
> [4] https://github.com/akashche/wixgen
> [5] https://github.com/ojdkbuild/tools_wixgen
> [6] 
> https://bugs.openjdk.java.net/browse/JDK-8055464?focusedCommentId=13647232&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13647232 
> 
> [7] 
> https://github.com/wixtoolset/wix3/tree/develop/src/ext/UIExtension/wixlib/Bitmaps
> [8] http://icedtea.classpath.org/favicon.ico
> [9] https://bitbucket.org/akashche/downloads/downloads/itw_20170505.msi
> 

-- 
Michal Vala
OpenJDK QE
Red Hat Czech


More information about the distro-pkg-dev mailing list