Error while creating windows installer

Jiri Vanek jvanek at redhat.com
Fri Mar 8 11:34:10 UTC 2019


On 1/31/19 11:39 AM, Shruti Mehta wrote:
> Hello,
> 
>  
> 
> I configured the IcedTea with Wix Tool and want to generate an msi installer with openjdk and with
>  --disable-native-plugin flag.
> 
> The build was successful.
> 
> When I am trying to execute make win-installer , I am getting an error as follows:
> 
>  
> 
> sed: can't read C:/IceTea/icedtea-web-1.7.1/win-installer/installer.json.in: No such file or directory
> 
> make: *** [Makefile:1013: C:/IceTea/icedtea-web-1.7.1/win-installer.build/itw-installer.json] Error 2
> 
>  
Looking to my windows build logs, it looks complety same:

sed \
-e "s|../win-installer|R:/itw-test/icedtea-web/win-installer|g" \
-e s/[@]PACKAGE_VERSION[@]/1.8pre/g R:/itw-test/icedtea-web/win-installer/installer.json.in >
R:/itw-test/icedtea-web/win-installer.build/itw-installer.json
"C:/cygwin64/home/tester/bootjdk/jre/bin/java" -jar "C:/msi-deps/wixgen.jar" "R:/itw-test/image" -c
R:/itw-test/icedtea-web/win-installer.build/itw-installer.json -o
R:/itw-test/icedtea-web/win-installer.build/itw-installer.wxs
cd R:/itw-test/icedtea-web/win-installer.build && "/cygdrive/c/msi-deps/wix311-binaries/"/candle.exe
/nologo itw-installer.wxs
itw-installer.wxs

or


if [ ! -e R:/itw-test/image/bin/itw-modularjdk.args ] ; then cp
R:/itw-test/image/bin/itw-modularjdk.args R:/itw-test/image/bin/itw-modularjdk.args ; fi
cp -r R:/itw-test/icedtea-web/icedtea-web-docs/1.7.2pre+rb2c7ba07a660/html
R:/itw-test/image/icedtea-web-docs
cp R:/itw-test/icedtea-web/netx.build/lib/src.zip R:/itw-test/image/netx.src.zip
cp R:/itw-test/icedtea-web/liveconnect/lib/src.zip R:/itw-test/image/plugin.src.zip
rm -rf R:/itw-test/icedtea-web/win-installer.build
mkdir R:/itw-test/icedtea-web/win-installer.build
sed \
-e "s|../win-installer|R:/itw-test/icedtea-web/win-installer|g" \
-e s/[@]PACKAGE_VERSION[@]/1.7.2pre/g R:/itw-test/icedtea-web/win-installer/installer.json.in >
R:/itw-test/icedtea-web/win-installer.build/itw-installer.json
"C:/cygwin64/home/tester/bootjdk/jre/bin/java" -jar "C:/msi-deps/wixgen.jar" "R:/itw-test/image" -c
R:/itw-test/icedtea-web/win-installer.build/itw-installer.json -o
R:/itw-test/icedtea-web/win-installer.build/itw-installer.wxs
cd R:/itw-test/icedtea-web/win-installer.build && "/cygdrive/c/msi-deps/wix311-binaries/"/candle.exe
/nologo itw-installer.wxs
itw-installer.wxs
cd R:/itw-test/icedtea-web/win-installer.build && "/cygdrive/c/msi-deps/wix311-binaries/"/light.exe
/nologo -ext WixUIExtension itw-installer.wixobj
R:\itw-test\icedtea-web\win-installer.build\itw-installer.wxs(3004) : warning LGHT1076 : ICE61: This
product should remove only older versions of itself. The Maximum version is not less than the
current product. (1.7.0.0 1.7.0.0)

Only it is passing....:(

MAybe try our prerelease?  http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2019-March/041292.html

> 
> There is an empty installer.json file in the location.


> 
> I have attached the complete log.
> 
>  
> 
> Kindly let me know how to I resolve the error.
> 
>  
> 
> Thanks,
> 
> Shruti Mehta
> 
>  
> 
>  
> 
>  
> 


-- 
Jiri Vanek
Senior QE engineer, OpenJDK QE lead, Mgr.
Red Hat Czech
jvanek at redhat.com    M: +420775390109


More information about the distro-pkg-dev mailing list