I have to create installer for Jitsi SIP Communicator after I have done changes in it. I have searched on net and found some steps as given below:
SOFTWARE REQUIREMENTS
- Cygwin: include libs "make, gcc & g++" http://cygwin.com/setup.exe
- MinGW: (only gcc, no g++) (use installation file .zip, taken into account that build.xml is looking for a sub-folder x86 y x64 into MinGW root folder) http://sourceforge.net/projects/mingw/files/latest/download Install in C:\MinGW\x86
- copy mingw-make.exe to make.exe (folder C:\MinGW\x86{-}\bin)
- bzip2: (v1.0.5 in this case): install in C:\MinGW\bzip2 http://gnuwin32.sourceforge.net/downlinks/bzip2.php
- xz: (v5.0.3 in this case): unzip in C:\MinGW\xz http://tukaani.org/xz/xz5.0.3windows.zip
- make for win32: (v3.8.1 in this case) http://gnuwin32.sourceforge.net/downlinks/make.php
- wix35-binaries: (v3.5 in this case): unzip in C:\Program Files\WiX
- Use binaries (wix35-binaries.zip), not WiX .msi installer. http://wix.codeplex.com/releases/view/60102#DownloadId=204418
- ant: (v1.8.3 in this case): unzip in C:\apache-ant-1.8.3 http://ant.apache.org/bindownload.cgi
- jdk1.6: (v1.6.0_31 in this case)
ENVIRONMENT VARIABLES:
- Export variables containing:
- ANT_HOME=C:\apache-ant-1.8.3
- JAVA_HOME=C:\Program Files (x86)\Java\jdk1.6.0_31
- Add to PATH : %ANT_HOME%\bin C:\MinGW\bin C:\cygwin\bin C:\MinGW\msys\1.0 C:\Program Files\WiX C:\Program Files (x86)\Gnuwin32\Make\bin
ADDITIONAL TASKS:
- Edit "installers.properties" adding path for JRE files to add into installer and/or for JRE (.zip or folder) files.
- Compile project.
EXECUTE build SCRIPT:
- Launch Cygwin terminal
- Go to /cygdrive/.../{dir_root Jitsi} -Execute: ant build-installation-wix (to create an installer for windows x86) ant build-installation-wix-64 (to create an installer for windows x64) ant build-installation-linux (to create an installer for linux) ant dmg (to create an installer for MacOSX, only run on MacOSX
But when I excute commands given above on cygwin I found the following error:
build-installation-wix-base: [propertyfile] Creating new property file: D:\javaprojects\jitsi\release\windows\versionupdate.properties [mkdir] Created dir: D:\javaprojects\jitsi\release\windows\tmp\light [exec] Makefile:40: * target pattern contains no `%'. Stop.
BUILD FAILED D:\javaprojects\jitsi\resources\install\build.xml:302: The following error occurred while executing this line: D:\javaprojects\jitsi\resources\install\build.xml:403: exec returned: 2
Please suggest a solution.