Thanks Damencho, the -Dlabel=5434 worked like a charm.
Now I'm failing on "wix-sign-file" part, and it's complaining about not
able to find "-llzma", but
I do have "LZMA_HOME='C:\MinGW\xz'" defined already. Am I missing sth else
here?
···
--------------------------------------------------------------------------------
$ ant build-installation-wix-64 -Dlabel=5434
Buildfile: C:\projects\jitsi\build.xml
-pre-version:
[copy] Copying 1 file to
C:\projects\jitsi\src\net\java\sip\communicator\impl\version
version:
[javac] Compiling 3 source files to C:\projects\jitsi\classes
[javac] warning: [options] bootstrap class path not set in conjunction
with -source 1.6
[javac] 1 warning
[echo] Jitsi version 2.9.5434
load-properties:
build-installation-wix-64:
clean-install-windows:
[delete] Deleting directory C:\projects\jitsi\release\windows
[mkdir] Created dir: C:\projects\jitsi\release\windows
[mkdir] Created dir: C:\projects\jitsi\release\windows\tmp
define-ant-contrib-task:
build-installation-wix-base:
[propertyfile] Creating new property file:
C:\projects\jitsi\release\windows\versionupdate.properties
[mkdir] Created dir: C:\projects\jitsi\release\windows\tmp\light
[exec] rm.exe -f ../../../../resources/install/windows/config.h
[exec] echo.exe -e '#define PRODUCTNAME "Jitsi"\n#define COMPANYNAME "
jitsi.org"\n#define PRODUCTBUILDVERSION "2.9.5434"
\n#define PRODUCTBUILDVERSION_COMMA 2,9,5434,0\n#define TARGET_BASENAME
"Jitsi"\n#define TARGET_BASENAME_EXE "Jitsi.exe"' > /
cygdrive/c/projects/jitsi/release/windows/tmp/light/config.h
[exec] C:/mingw/x64/bin/windres.exe
-I../../../../resources/install/windows
-IC:/projects/jitsi/release/windows/tmp/ligh
t run.rc -O coff -o C:/projects/jitsi/release/windows/tmp/light/run.res
[exec] C:/mingw/x64/bin/gcc.exe -O2 -Wall -Wreturn-type
-DPSAPI_VERSION=1 -DWINVER=0x0502 -D_WIN32_WINNT=0x0502 -IC:/pr
ojects/jitsi/release/windows/tmp/light
-I"C:/tools/Java/jdk1.7.0_75/include"
-I"C:/tools/Java/jdk1.7.0_75/include/win32" regi
stry.c run.c C:/projects/jitsi/release/windows/tmp/light/run.res
../setup/nls.c -mwindows -o C:/projects/jitsi/release/window
s/tmp/light/Jitsi.exe -ladvapi32 -lpsapi
[exec] C:/mingw/x64/mingw32/bin/strip.exe
C:/projects/jitsi/release/windows/tmp/light/Jitsi.exe
wix-sign-file:
[copy] Copying 1 file to C:\projects\jitsi\release\windows\tmp\light
enable-splash:
[mkdir] Created dir: C:\projects\jitsi\release\windows\tmp\light\lib
[copy] Copying 4 files to
C:\projects\jitsi\release\windows\tmp\light\lib
[mkdir] Created dir:
C:\projects\jitsi\release\windows\tmp\light\lib\bundle
[copy] Copying 3 files to
C:\projects\jitsi\release\windows\tmp\light\lib\bundle
[mkdir] Created dir: C:\projects\jitsi\release\windows\tmp\light\native
[copy] Copying 24 files to
C:\projects\jitsi\release\windows\tmp\light\native
define-ant-contrib-task:
wix-sign-dlls:
wix-sign-file:
wix-sign-file:
wix-sign-file:
wix-sign-file:
wix-sign-file:
wix-sign-file:
wix-sign-file:
wix-sign-file:
wix-sign-file:
wix-sign-file:
wix-sign-file:
wix-sign-file:
wix-sign-file:
wix-sign-file:
wix-sign-file:
wix-sign-file:
wix-sign-file:
wix-sign-file:
wix-sign-file:
wix-sign-file:
[mkdir] Created dir:
C:\projects\jitsi\release\windows\tmp\light\sc-bundles
[copy] Copying 143 files to
C:\projects\jitsi\release\windows\tmp\light\sc-bundles
unzip-windows-jre:
[copy] Copying 1 file to C:\projects\jitsi\release\windows\tmp\light
[xslt] Processing C:\projects\jitsi\release\windows\tmp\heat.wxs to
C:\projects\jitsi\release\windows\tmp\component-defi
nes.wxi
[xslt] Loading stylesheet
C:\projects\jitsi\resources\install\windows\heat-component-defines.xsl
[xslt] Processing C:\projects\jitsi\release\windows\tmp\heat.wxs to
C:\projects\jitsi\release\windows\tmp\component-refs
.wxi
[xslt] Loading stylesheet
C:\projects\jitsi\resources\install\windows\heat-component-refs.xsl
[xslt] Processing C:\projects\jitsi\release\windows\tmp\heat.wxs to
C:\projects\jitsi\release\windows\tmp\lib-dir-id.pro
perties
[xslt] Loading stylesheet
C:\projects\jitsi\resources\install\windows\heat-component-libsearch.xsl
[copy] Copying 1 file to C:\projects\jitsi\release\windows\tmp
[exec] rm.exe -f ../../../../../resources/install/windows/config.h
[exec] echo.exe -e '#define PRODUCTNAME "Jitsi"\n#undef PACKAGECODE' >
/cygdrive/c/projects/jitsi/release/windows/tmp/li
ght/config.h
[exec] C:/mingw/x64/bin/windres.exe
-I../../../../../resources/install/windows
-IC:/projects/jitsi/release/windows/tmp/l
ight cleansweep.rc -O coff -o
C:/projects/jitsi/release/windows/tmp/light/cleansweep.res
[exec] C:/mingw/x64/bin/gcc.exe -O2 -Wall -Wreturn-type
-DWINVER=0x0502 -D_WIN32_WINNT=0x0502 -IC:/projects/jitsi/releas
e/windows/tmp/light cleansweep.c
C:/projects/jitsi/release/windows/tmp/light/cleansweep.res -mwindows -o
C:/projects/jitsi/re
lease/windows/tmp/light/cleansweep.exe -lshell32
[exec] cleansweep.c:20:1: warning: 'CleanSweep_isAdmin' defined but
not used [-Wunused-function]
[exec] CleanSweep_isAdmin()
[exec] ^
[exec] C:/mingw/x64/mingw32/bin/strip.exe
C:/projects/jitsi/release/windows/tmp/light/cleansweep.exe
wix-sign-file:
build-installation-wix-msi:
[move] Warning: Could not find file
C:\projects\jitsi\release\windows\tmp\setup.msi to copy.
build-installation-wix-msi:
[copy] Copying 5 files to C:\projects\jitsi\release\windows\tmp
[exec] installer-windows.wxs
[copy] Copying 3 files to C:\projects\jitsi\release\windows\tmp\light
[exec] C:\projects\jitsi\release\windows\tmp\installer-windows.wxs(31)
: warning LGHT1076 : ICE61: This product should r
emove only older versions of itself. The Maximum version is not less than
the current product. (2.9.5434 2.9.5434)
build-installation-wix-locale:
[exec] installer-windows.wxs
[exec] C:\projects\jitsi\release\windows\tmp\installer-windows.wxs(31)
: warning LGHT1076 : ICE61: This product should r
emove only older versions of itself. The Maximum version is not less than
the current product. (2.9.5434 2.9.5434)
[exec] Microsoft (R) Windows Installer Xml Transform Builder version
3.5.2519.0
[exec] Copyright (C) Microsoft Corporation. All rights reserved.
[exec]
[exec] Microsoft (R) Windows Script Host Version 5.8
[exec] Copyright (C) Microsoft Corporation. All rights reserved.
[exec]
wix-sign-file:
[exec] setup.msi: 49.2 MiB / 97.0 MiB = 0.507, 1.8 MiB/s, 0:54
[exec] rm.exe -f ../../../../resources/install/windows/config.h
[exec] echo.exe -e '#define PRODUCTNAME "Jitsi"\n#undef
PACKAGECODE\n#undef PACKAGESIZE\n#define PRODUCTBUILDVERSION "2.
9.5434"' > /cygdrive/c/projects/jitsi/release/windows/tmp/config.h
[exec] C:/mingw/x64/bin/windres.exe
-I../../../../resources/install/windows
-IC:/projects/jitsi/release/windows/tmp setu
p.rc -O coff -o C:/projects/jitsi/release/windows/tmp/setup.res
[exec] C:/mingw/x64/bin/gcc.exe -O2 -Wall -Wreturn-type
-DWINVER=0x0502 -D_WIN32_WINNT=0x0502 -IC:/projects/jitsi/releas
e/windows/tmp -DBSPATCH_API_STATIC -DBZ2_API_STATIC -I.
-Ic:\mingw\bzip2/include -Ic:\mingw\bzip2 -DLZMA_API_STATIC -IC:\MinG
W\xz/include -IC:\MinGW\xz/api -I../run bspatch.c lasterror.c nls.c
../run/registry.c setup.c C:/projects/jitsi/release/windo
ws/tmp/setup.res -mwindows -Lc:\mingw\bzip2/lib/x86 -Lc:\mingw\bzip2
-LC:\MinGW\xz/lib/x86 -LC:\MinGW\xz/.libs -o C:/projects
/jitsi/release/windows/tmp/setup.exe -ladvapi32 -lbz2 -llzma -lole32
-lshell32
[exec] setup.c:1322:1: warning: 'Setup_isWow64Acceptable' defined but
not used [-Wunused-function]
[exec] Setup_isWow64Acceptable()
[exec] ^
[exec] Makefile:61: recipe for target
'/cygdrive/c/projects/jitsi/release/windows/tmp/setup.exe' failed
[exec]
c:/mingw/x64/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe:
cannot find -lbz2
[exec]
c:/mingw/x64/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe:
cannot find -llzma
[exec] collect2.exe: error: ld returned 1 exit status
[exec] make: ***
[/cygdrive/c/projects/jitsi/release/windows/tmp/setup.exe] Error 1
BUILD FAILED
C:\projects\jitsi\resources\install\build.xml:304: The following error
occurred while executing this line:
C:\projects\jitsi\resources\install\build.xml:707: exec returned: 2
Total time: 1 minute 12 seconds
--------------------------
Hi,
you can try $ant build-installation-wix-64 -Dlabel=5434
Regards
damencho