I ran into the same problems you were talking about. I finally tried myself and built Jitsi on Windows, both 32-bit and 64-bit.
I did not use Cygwin, but just used Mingw + Msys.
Here is what I did:
- Install Mingw + Msys in the C: / mingw / x86 folder.
- Install ANT
- Install BZip2 in c: / mingw / bzip2
- Install xz to c: / mingw / xz
- Install Wix, I installed in C: / win35. Change the location of the wix installation path in the /install/build.xml resources 6) Delete the make.exe file inside mingw / msys / 1.0 / bin and rename the mingw / bin / mingw-make.exe file to make.exe
I had to modify the Makefile a bit, here are the changes I made:
1) Remote quotes in the initialization of the target directory:
- target.dir := "$(TARGET_DIR)" - cygwin.target.dir := "$(TARGET_DIR)" + target.dir := $(TARGET_DIR) + cygwin.target.dir := $(TARGET_DIR)
2) Changed single-line echo in multi-line:
- echo.exe -e '#define PRODUCTNAME "$(PRODUCTNAME)"\n#define PRODUCTBUILDVERSION "$(PRODUCTBUILDVERSION)"\n#define + echo #define PRODUCTNAME "$(PRODUCTNAME)" > $(cygwin.target.dir)/config.h + echo #define PRODUCTBUILDVERSION "$(PRODUCTBUILDVERSION)" >> $(cygwin.target.dir)/config.h + echo #define TARGET_BASENAME "$(TARGET_BASENAME)" >> $(cygwin.target.dir)/config.h + echo #define TARGET_BASENAME_EXE "$(TARGET_BASENAME).exe" >> $(cygwin.target.dir)/config.h
3) In resources / installations / installers / properties - the location where IzPack is installed is indicated, and gave a place for zip JRE files. When I used the JRE installation file, the assembly did not bind the JRE to "
+windows.jre.zip=C:\\JavaInstallers\\jre32.zip +windows.jre64.zip=C:\\JavaInstallers\\jre64.zip
Finally, I wrote a simple script package to build the installer:
set PATH=C:\apps\apache-ant-1.9.1\bin;C:\MinGW\bin;C:\MinGW\msys\1.0\bin;C:\wix35 set ANT_HOME=C:\apps\apache-ant-1.9.1 set JAVA_HOME=C:/Program Files (x86)\Java\jdk1.7.0_17 set BZ2_HOME=c:/mingw/bzip2_x86 set LZMA_HOME=C:/mingw/xz set MINGW_HOME=C:/mingw start /B /LOW /WAIT ant build-installation-wix
This is for the 32-bit version.
For 64-bit, I had to build bzip2 from the source itself. This can be done by downloading the Bzip2 source and compiling it through mingw. It was a simple task. The rest of the steps are all the same.
Please try this and let me know if this worked for you.
source share