[jitsi-dev] Windows installer instructions link?


#1

I followed the same instructions but it didn't work, not sure if you found
any more up-to-date instructions? Have you been able to create a Windows
Installer from source so far?

Thanks,

C. M.


#2

This is the error I got:

$ ant build-installation-wix-64
Buildfile: C:\MyTest\jitsiSnapShot\jitsi\build.xml

-pre-version:

version:
    [javac] Compiling 3 source files to
C:\MyTest\jitsiSnapShot\jitsi\classes
    [javac] warning: [options] bootstrap class path not set in conjunction
with -source 1.6
    [javac] 1 warning
     [echo] Jitsi version 2.4.0.build.by.SVN

load-properties:

build-installation-wix-64:

clean-install-windows:
    [mkdir] Created dir: C:\MyTest\jitsiSnapShot\jitsi\release\windows
    [mkdir] Created dir: C:\MyTest\jitsiSnapShot\jitsi\release\windows\tmp

define-ant-contrib-task:

build-installation-wix-base:
[propertyfile] Creating new property file:
C:\MyTest\jitsiSnapShot\jitsi\release\windows\versionupdate.properties
    [mkdir] Created dir:
C:\MyTest\jitsiSnapShot\jitsi\release\windows\tmp\light
     [exec] process_begin: CreateProcess(NULL, C:/mingw/x64/bin/gcc.exe
-dumpmachine, ...) failed.
     [exec] Makefile:41: *** target pattern contains no '%'. Stop.

BUILD FAILED
C:\MyTest\jitsiSnapShot\jitsi\resources\install\build.xml:298: The
following error occurred while executing this line:
C:\MyTest\jitsiSnapShot\jitsi\resources\install\build.xml:411: exec
returned: 2

Total time: 16 seconds


#3

Afraid not so far, I'm going to try it again tonight. What error did you
get?

···

On Mon, Jan 12, 2015 at 9:37 PM, C M <cmregister@gmail.com> wrote:

I followed the same instructions but it didn't work, not sure if you found
any more up-to-date instructions? Have you been able to create a Windows
Installer from source so far?

Thanks,

C. M.

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#4

Hi,

I was getting this error as well, this answer helped me:
http://stackoverflow.com/a/22658530/49153

One thing you don't want to do though, is don't make the 'echo' statements
multi-line as he says. Keep them in the same line, and if you get an error,
change echo.exe to just echo , and it should work.

Let me know how it goes.

···

On Tue, Jan 13, 2015 at 4:29 AM, C M <cmregister@gmail.com> wrote:

This is the error I got:

$ ant build-installation-wix-64
Buildfile: C:\MyTest\jitsiSnapShot\jitsi\build.xml

-pre-version:

version:
    [javac] Compiling 3 source files to
C:\MyTest\jitsiSnapShot\jitsi\classes
    [javac] warning: [options] bootstrap class path not set in conjunction
with -source 1.6
    [javac] 1 warning
     [echo] Jitsi version 2.4.0.build.by.SVN

load-properties:

build-installation-wix-64:

clean-install-windows:
    [mkdir] Created dir: C:\MyTest\jitsiSnapShot\jitsi\release\windows
    [mkdir] Created dir: C:\MyTest\jitsiSnapShot\jitsi\release\windows\tmp

define-ant-contrib-task:

build-installation-wix-base:
[propertyfile] Creating new property file:
C:\MyTest\jitsiSnapShot\jitsi\release\windows\versionupdate.properties
    [mkdir] Created dir:
C:\MyTest\jitsiSnapShot\jitsi\release\windows\tmp\light
     [exec] process_begin: CreateProcess(NULL, C:/mingw/x64/bin/gcc.exe
-dumpmachine, ...) failed.
     [exec] Makefile:41: *** target pattern contains no '%'. Stop.

BUILD FAILED
C:\MyTest\jitsiSnapShot\jitsi\resources\install\build.xml:298: The
following error occurred while executing this line:
C:\MyTest\jitsiSnapShot\jitsi\resources\install\build.xml:411: exec
returned: 2

Total time: 16 seconds

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#5

I successfully built installer about month ago, this is my notes, probably will be useful for you

Build Jitsi WIN install package

Useful links:
https://java.net/projects/jitsi/lists/users/archive/2012-03/message/31
https://java.net/projects/jitsi/lists/users/archive/2012-03/message/15
https://java.net/projects/jitsi/lists/dev/archive/2011-06/message/128
https://java.net/projects/jitsi/lists/dev/archive/2011-07/message/169

Preconditions

Cygwin: include lib "make, gcc & g++" (http://cygwin.com/setup.exe)
MinGW (only gcc, no g++) (important: sub-folder x86 or x64 into MinGW root folder, http://sourceforge.net/projects/mingw/files/latest/download) then copy mingw-make.exe to make.exe (folder C:\MinGW\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/xz-5.0.3-windows.zip)
make for win32 (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 (http://ant.apache.org/bindownload.cgi)
JDK

Then build.
Maxim

···

On 13 Jan 2015, at 02:29, C M <cmregister@gmail.com> wrote:

This is the error I got:

$ ant build-installation-wix-64
Buildfile: C:\MyTest\jitsiSnapShot\jitsi\build.xml

-pre-version:

version:
    [javac] Compiling 3 source files to C:\MyTest\jitsiSnapShot\jitsi\classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning
     [echo] Jitsi version 2.4.0.build.by.SVN

load-properties:

build-installation-wix-64:

clean-install-windows:
    [mkdir] Created dir: C:\MyTest\jitsiSnapShot\jitsi\release\windows
    [mkdir] Created dir: C:\MyTest\jitsiSnapShot\jitsi\release\windows\tmp

define-ant-contrib-task:

build-installation-wix-base:
[propertyfile] Creating new property file: C:\MyTest\jitsiSnapShot\jitsi\release\windows\versionupdate.properties
    [mkdir] Created dir: C:\MyTest\jitsiSnapShot\jitsi\release\windows\tmp\light
     [exec] process_begin: CreateProcess(NULL, C:/mingw/x64/bin/gcc.exe -dumpmachine, ...) failed.
     [exec] Makefile:41: *** target pattern contains no '%'. Stop.

BUILD FAILED
C:\MyTest\jitsiSnapShot\jitsi\resources\install\build.xml:298: The following error occurred while executing this line:
C:\MyTest\jitsiSnapShot\jitsi\resources\install\build.xml:411: exec returned: 2

Total time: 16 seconds

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#6

Thank you very much Maxim. One question, did you bundle the JRE with the
installer? If so, did you use the exe or the zip? (I can't actually find a
zip download of the JRE, there is a .tar.gz though which can be extracted
and re-compressed as .zip, I guess).

Did you edit any of the .properties or makefile? Or did everything just run
for you without any errors?

···

On Tue, Jan 13, 2015 at 11:41 PM, Maxim Tyukov <mtyukov@gmail.com> wrote:

I successfully built installer about month ago, this is my notes, probably
will be useful for you

Build Jitsi WIN install package
Useful links:
https://java.net/projects/jitsi/lists/users/archive/2012-03/message/31
https://java.net/projects/jitsi/lists/users/archive/2012-03/message/15
https://java.net/projects/jitsi/lists/dev/archive/2011-06/message/128
https://java.net/projects/jitsi/lists/dev/archive/2011-07/message/169

*Preconditions*

   - Cygwin: include lib "make, gcc & g++" (http://cygwin.com/setup.exe)
   - MinGW (only gcc, no g++) (important: sub-folder x86 or x64 into
   MinGW root folder,
   http://sourceforge.net/projects/mingw/files/latest/download) then copy
   mingw-make.exe to make.exe (folder C:\MinGW\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/xz-5.0.3-windows.zip)
   - make for win32 (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 (http://ant.apache.org/bindownload.cgi)
   - JDK

Then build.
Maxim

On 13 Jan 2015, at 02:29, C M <cmregister@gmail.com> wrote:

This is the error I got:

$ ant build-installation-wix-64
Buildfile: C:\MyTest\jitsiSnapShot\jitsi\build.xml

-pre-version:

version:
    [javac] Compiling 3 source files to
C:\MyTest\jitsiSnapShot\jitsi\classes
    [javac] warning: [options] bootstrap class path not set in conjunction
with -source 1.6
    [javac] 1 warning
     [echo] Jitsi version 2.4.0.build.by.SVN

load-properties:

build-installation-wix-64:

clean-install-windows:
    [mkdir] Created dir: C:\MyTest\jitsiSnapShot\jitsi\release\windows
    [mkdir] Created dir: C:\MyTest\jitsiSnapShot\jitsi\release\windows\tmp

define-ant-contrib-task:

build-installation-wix-base:
[propertyfile] Creating new property file:
C:\MyTest\jitsiSnapShot\jitsi\release\windows\versionupdate.properties
    [mkdir] Created dir:
C:\MyTest\jitsiSnapShot\jitsi\release\windows\tmp\light
     [exec] process_begin: CreateProcess(NULL, C:/mingw/x64/bin/gcc.exe
-dumpmachine, ...) failed.
     [exec] Makefile:41: *** target pattern contains no '%'. Stop.

BUILD FAILED
C:\MyTest\jitsiSnapShot\jitsi\resources\install\build.xml:298: The
following error occurred while executing this line:
C:\MyTest\jitsiSnapShot\jitsi\resources\install\build.xml:411: exec
returned: 2

Total time: 16 seconds

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#7

Actually I remember details very bad, sorry in advance.

I didn’t change any thing in makefile or build.xml. But make changes in resources/install/installers.properties to indicate JRE paths:

···

-----------
# Paths to Windows JRE setups to be included in the respective setups of SIP
# Communicator and deployed as necessary. Each of them is ignored if its
# respective ZIP path is defined to a non-empty value.
windows.jre.file=C:\\Program Files\\java\\jre1.8.0_25\\bin\\java.exe
windows.jre64.file=C:\\Program Files\\java\\jre1.8.0_25\\bin\\java.exe

# Paths to the ZIP files of private extracted Windows JRE setups to be deployed
# as part of the respective setups of SIP Communicator.
windows.jre.zip=C:\\java\\jre1.8.0_25.zip
windows.jre64.zip=C:\\java\\jre1.8.0_25.zip
sip-communicator.version=2.5.5.5
——————

JRE is here:
http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html (tar.gz archive, try to unpack and pack to zip, probably will help)

After resolving issue like yours with
[exec] Makefile:41: *** target pattern contains no '%'. Stop. (As I remember its related to incorrect installation of cygwin/MinGW, try to use my notes)

I encounter some errors, but easily resolved it with google (also I believe you will find some info about errors on next steps in my useful links). One more thing I remember I encounter an issue with version, I mean version's value, so string with version in config above:

sip-communicator.version=2.5.5.5

probably required.

Maxim

On 13 Jan 2015, at 21:48, Ali Akhtar <ali.rac200@gmail.com> wrote:

Thank you very much Maxim. One question, did you bundle the JRE with the installer? If so, did you use the exe or the zip? (I can't actually find a zip download of the JRE, there is a .tar.gz though which can be extracted and re-compressed as .zip, I guess).

Did you edit any of the .properties or makefile? Or did everything just run for you without any errors?

On Tue, Jan 13, 2015 at 11:41 PM, Maxim Tyukov <mtyukov@gmail.com> wrote:
I successfully built installer about month ago, this is my notes, probably will be useful for you

Build Jitsi WIN install package

Useful links:
https://java.net/projects/jitsi/lists/users/archive/2012-03/message/31
https://java.net/projects/jitsi/lists/users/archive/2012-03/message/15
https://java.net/projects/jitsi/lists/dev/archive/2011-06/message/128
https://java.net/projects/jitsi/lists/dev/archive/2011-07/message/169

Preconditions

Cygwin: include lib "make, gcc & g++" (http://cygwin.com/setup.exe)
MinGW (only gcc, no g++) (important: sub-folder x86 or x64 into MinGW root folder, http://sourceforge.net/projects/mingw/files/latest/download) then copy mingw-make.exe to make.exe (folder C:\MinGW\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/xz-5.0.3-windows.zip)
make for win32 (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 (http://ant.apache.org/bindownload.cgi)
JDK

Then build.
Maxim

On 13 Jan 2015, at 02:29, C M <cmregister@gmail.com> wrote:

This is the error I got:

$ ant build-installation-wix-64
Buildfile: C:\MyTest\jitsiSnapShot\jitsi\build.xml

-pre-version:

version:
    [javac] Compiling 3 source files to C:\MyTest\jitsiSnapShot\jitsi\classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning
     [echo] Jitsi version 2.4.0.build.by.SVN

load-properties:

build-installation-wix-64:

clean-install-windows:
    [mkdir] Created dir: C:\MyTest\jitsiSnapShot\jitsi\release\windows
    [mkdir] Created dir: C:\MyTest\jitsiSnapShot\jitsi\release\windows\tmp

define-ant-contrib-task:

build-installation-wix-base:
[propertyfile] Creating new property file: C:\MyTest\jitsiSnapShot\jitsi\release\windows\versionupdate.properties
    [mkdir] Created dir: C:\MyTest\jitsiSnapShot\jitsi\release\windows\tmp\light
     [exec] process_begin: CreateProcess(NULL, C:/mingw/x64/bin/gcc.exe -dumpmachine, ...) failed.
     [exec] Makefile:41: *** target pattern contains no '%'. Stop.

BUILD FAILED
C:\MyTest\jitsiSnapShot\jitsi\resources\install\build.xml:298: The following error occurred while executing this line:
C:\MyTest\jitsiSnapShot\jitsi\resources\install\build.xml:411: exec returned: 2

Total time: 16 seconds

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#8

Thanks again Maxim.

Right now I'm stuck on this error:

gcc.exe error: c:jitsi/release/windows/tmp/light/run.res: No such file or
directory

Screenshot of full error: http://i.imgur.com/mMfuSsT.png

Did anyone get this error or know how to fix this?

Thanks.

···

On Wed, Jan 14, 2015 at 12:39 AM, Maxim Tyukov <mtyukov@gmail.com> wrote:

Actually I remember details very bad, sorry in advance.

I didn’t change any thing in makefile or build.xml. But make changes in
resources/install/installers.properties to indicate JRE paths:
-----------
# Paths to Windows JRE setups to be included in the respective setups of
SIP
# Communicator and deployed as necessary. Each of them is ignored if its
# respective ZIP path is defined to a non-empty value.
windows.jre.file=C:\\Program Files\\java\\jre1.8.0_25\\bin\\java.exe
windows.jre64.file=C:\\Program Files\\java\\jre1.8.0_25\\bin\\java.exe

# Paths to the ZIP files of private extracted Windows JRE setups to be
deployed
# as part of the respective setups of SIP Communicator.
windows.jre.zip=C:\\java\\jre1.8.0_25.zip
windows.jre64.zip=C:\\java\\jre1.8.0_25.zip
sip-communicator.version=2.5.5.5
——————

JRE is here:

http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html
(tar.gz archive, try to unpack and pack to zip, probably will help)

After resolving issue like yours with
[exec] Makefile:41: *** target pattern contains no '%'. Stop. (As I
remember its related to incorrect installation of cygwin/MinGW, try to use
my notes)

I encounter some errors, but easily resolved it with google (also I
believe you will find some info about errors on next steps in my useful
links). One more thing I remember I encounter an issue with version, I mean
version's value, so string with version in config above:

sip-communicator.version=2.5.5.5

probably required.

Maxim

On 13 Jan 2015, at 21:48, Ali Akhtar <ali.rac200@gmail.com> wrote:

Thank you very much Maxim. One question, did you bundle the JRE with the
installer? If so, did you use the exe or the zip? (I can't actually find a
zip download of the JRE, there is a .tar.gz though which can be extracted
and re-compressed as .zip, I guess).

Did you edit any of the .properties or makefile? Or did everything just
run for you without any errors?

On Tue, Jan 13, 2015 at 11:41 PM, Maxim Tyukov <mtyukov@gmail.com> wrote:

I successfully built installer about month ago, this is my notes,
probably will be useful for you

Build Jitsi WIN install package
Useful links:
https://java.net/projects/jitsi/lists/users/archive/2012-03/message/31
https://java.net/projects/jitsi/lists/users/archive/2012-03/message/15
https://java.net/projects/jitsi/lists/dev/archive/2011-06/message/128
https://java.net/projects/jitsi/lists/dev/archive/2011-07/message/169

*Preconditions*

   - Cygwin: include lib "make, gcc & g++" (http://cygwin.com/setup.exe)
   - MinGW (only gcc, no g++) (important: sub-folder x86 or x64 into
   MinGW root folder,
   http://sourceforge.net/projects/mingw/files/latest/download) then copy
   mingw-make.exe to make.exe (folder C:\MinGW\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/xz-5.0.3-windows.zip)
   - make for win32 (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 (http://ant.apache.org/bindownload.cgi)
   - JDK

Then build.
Maxim

On 13 Jan 2015, at 02:29, C M <cmregister@gmail.com> wrote:

This is the error I got:

$ ant build-installation-wix-64
Buildfile: C:\MyTest\jitsiSnapShot\jitsi\build.xml

-pre-version:

version:
    [javac] Compiling 3 source files to
C:\MyTest\jitsiSnapShot\jitsi\classes
    [javac] warning: [options] bootstrap class path not set in
conjunction with -source 1.6
    [javac] 1 warning
     [echo] Jitsi version 2.4.0.build.by.SVN

load-properties:

build-installation-wix-64:

clean-install-windows:
    [mkdir] Created dir: C:\MyTest\jitsiSnapShot\jitsi\release\windows
    [mkdir] Created dir: C:\MyTest\jitsiSnapShot\jitsi\release\windows\tmp

define-ant-contrib-task:

build-installation-wix-base:
[propertyfile] Creating new property file:
C:\MyTest\jitsiSnapShot\jitsi\release\windows\versionupdate.properties
    [mkdir] Created dir:
C:\MyTest\jitsiSnapShot\jitsi\release\windows\tmp\light
     [exec] process_begin: CreateProcess(NULL, C:/mingw/x64/bin/gcc.exe
-dumpmachine, ...) failed.
     [exec] Makefile:41: *** target pattern contains no '%'. Stop.

BUILD FAILED
C:\MyTest\jitsiSnapShot\jitsi\resources\install\build.xml:298: The
following error occurred while executing this line:
C:\MyTest\jitsiSnapShot\jitsi\resources\install\build.xml:411: exec
returned: 2

Total time: 16 seconds

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#9

Also Maxim, if you still have the files with which you built the windows
installer, I would be *very* grateful if you could post your
resources/install/installer.properties file and a zip of
your resources/install/native/windows directory (its only 2MB in size and
contains all the scripts and makefiles).

Once i get done, I will post an updated full list of instructions for
future users.

Thanks.

···

On Wed, Jan 14, 2015 at 1:08 AM, Ali Akhtar <ali.rac200@gmail.com> wrote:

Thanks again Maxim.

Right now I'm stuck on this error:

gcc.exe error: c:jitsi/release/windows/tmp/light/run.res: No such file or
directory

Screenshot of full error: http://i.imgur.com/mMfuSsT.png

Did anyone get this error or know how to fix this?

Thanks.

On Wed, Jan 14, 2015 at 12:39 AM, Maxim Tyukov <mtyukov@gmail.com> wrote:

Actually I remember details very bad, sorry in advance.

I didn’t change any thing in makefile or build.xml. But make changes in
resources/install/installers.properties to indicate JRE paths:
-----------
# Paths to Windows JRE setups to be included in the respective setups of
SIP
# Communicator and deployed as necessary. Each of them is ignored if its
# respective ZIP path is defined to a non-empty value.
windows.jre.file=C:\\Program Files\\java\\jre1.8.0_25\\bin\\java.exe
windows.jre64.file=C:\\Program Files\\java\\jre1.8.0_25\\bin\\java.exe

# Paths to the ZIP files of private extracted Windows JRE setups to be
deployed
# as part of the respective setups of SIP Communicator.
windows.jre.zip=C:\\java\\jre1.8.0_25.zip
windows.jre64.zip=C:\\java\\jre1.8.0_25.zip
sip-communicator.version=2.5.5.5
——————

JRE is here:

http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html
(tar.gz archive, try to unpack and pack to zip, probably will help)

After resolving issue like yours with
[exec] Makefile:41: *** target pattern contains no '%'. Stop. (As I
remember its related to incorrect installation of cygwin/MinGW, try to use
my notes)

I encounter some errors, but easily resolved it with google (also I
believe you will find some info about errors on next steps in my useful
links). One more thing I remember I encounter an issue with version, I mean
version's value, so string with version in config above:

sip-communicator.version=2.5.5.5

probably required.

Maxim

On 13 Jan 2015, at 21:48, Ali Akhtar <ali.rac200@gmail.com> wrote:

Thank you very much Maxim. One question, did you bundle the JRE with the
installer? If so, did you use the exe or the zip? (I can't actually find a
zip download of the JRE, there is a .tar.gz though which can be extracted
and re-compressed as .zip, I guess).

Did you edit any of the .properties or makefile? Or did everything just
run for you without any errors?

On Tue, Jan 13, 2015 at 11:41 PM, Maxim Tyukov <mtyukov@gmail.com> wrote:

I successfully built installer about month ago, this is my notes,
probably will be useful for you

Build Jitsi WIN install package
Useful links:
https://java.net/projects/jitsi/lists/users/archive/2012-03/message/31
https://java.net/projects/jitsi/lists/users/archive/2012-03/message/15
https://java.net/projects/jitsi/lists/dev/archive/2011-06/message/128
https://java.net/projects/jitsi/lists/dev/archive/2011-07/message/169

*Preconditions*

   - Cygwin: include lib "make, gcc & g++" (http://cygwin.com/setup.exe
   )
   - MinGW (only gcc, no g++) (important: sub-folder x86 or x64 into
   MinGW root folder,
   http://sourceforge.net/projects/mingw/files/latest/download) then copy
   mingw-make.exe to make.exe (folder C:\MinGW\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/xz-5.0.3-windows.zip)
   - make for win32 (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 (http://ant.apache.org/bindownload.cgi)
   - JDK

Then build.
Maxim

On 13 Jan 2015, at 02:29, C M <cmregister@gmail.com> wrote:

This is the error I got:

$ ant build-installation-wix-64
Buildfile: C:\MyTest\jitsiSnapShot\jitsi\build.xml

-pre-version:

version:
    [javac] Compiling 3 source files to
C:\MyTest\jitsiSnapShot\jitsi\classes
    [javac] warning: [options] bootstrap class path not set in
conjunction with -source 1.6
    [javac] 1 warning
     [echo] Jitsi version 2.4.0.build.by.SVN

load-properties:

build-installation-wix-64:

clean-install-windows:
    [mkdir] Created dir: C:\MyTest\jitsiSnapShot\jitsi\release\windows
    [mkdir] Created dir:
C:\MyTest\jitsiSnapShot\jitsi\release\windows\tmp

define-ant-contrib-task:

build-installation-wix-base:
[propertyfile] Creating new property file:
C:\MyTest\jitsiSnapShot\jitsi\release\windows\versionupdate.properties
    [mkdir] Created dir:
C:\MyTest\jitsiSnapShot\jitsi\release\windows\tmp\light
     [exec] process_begin: CreateProcess(NULL, C:/mingw/x64/bin/gcc.exe
-dumpmachine, ...) failed.
     [exec] Makefile:41: *** target pattern contains no '%'. Stop.

BUILD FAILED
C:\MyTest\jitsiSnapShot\jitsi\resources\install\build.xml:298: The
following error occurred while executing this line:
C:\MyTest\jitsiSnapShot\jitsi\resources\install\build.xml:411: exec
returned: 2

Total time: 16 seconds

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#10

I'm so very close.

I've managed to work through all of the errors, now the exe file is being
made.

The only problem occurs in the 'unzip-windows-jre' task. The specific
output I get is:

unzip-windows-jre:
     [copy] Copying 1 file to C:\jitsi\release\windows\tmp\light

BUILD FAILED
C:\jitsi\resources\install\build.xml:289: The following error occurred
while executing this line:
C:\jitsi\resources\install\build.xml:571: exec returned: -1073741515

The line 289 in resources/install/build.xml is:

        <antcall target="build-installation-wix-base" />

Line 571 is:

        <exec
                executable="${wix.home}\heat.exe"
                dir="${light.dir}"
                failonerror="true">

So it seems to be failing to attach the jre. Anyone know why?

I have tried with both jre exes and zips.

···

On Wed, Jan 14, 2015 at 1:14 AM, Ali Akhtar <ali.rac200@gmail.com> wrote:

Also Maxim, if you still have the files with which you built the windows
installer, I would be *very* grateful if you could post your
resources/install/installer.properties file and a zip of
your resources/install/native/windows directory (its only 2MB in size and
contains all the scripts and makefiles).

Once i get done, I will post an updated full list of instructions for
future users.

Thanks.

On Wed, Jan 14, 2015 at 1:08 AM, Ali Akhtar <ali.rac200@gmail.com> wrote:

Thanks again Maxim.

Right now I'm stuck on this error:

gcc.exe error: c:jitsi/release/windows/tmp/light/run.res: No such file or
directory

Screenshot of full error: http://i.imgur.com/mMfuSsT.png

Did anyone get this error or know how to fix this?

Thanks.

On Wed, Jan 14, 2015 at 12:39 AM, Maxim Tyukov <mtyukov@gmail.com> wrote:

Actually I remember details very bad, sorry in advance.

I didn’t change any thing in makefile or build.xml. But make changes in
resources/install/installers.properties to indicate JRE paths:
-----------
# Paths to Windows JRE setups to be included in the respective setups of
SIP
# Communicator and deployed as necessary. Each of them is ignored if its
# respective ZIP path is defined to a non-empty value.
windows.jre.file=C:\\Program Files\\java\\jre1.8.0_25\\bin\\java.exe
windows.jre64.file=C:\\Program Files\\java\\jre1.8.0_25\\bin\\java.exe

# Paths to the ZIP files of private extracted Windows JRE setups to be
deployed
# as part of the respective setups of SIP Communicator.
windows.jre.zip=C:\\java\\jre1.8.0_25.zip
windows.jre64.zip=C:\\java\\jre1.8.0_25.zip
sip-communicator.version=2.5.5.5
——————

JRE is here:

http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html
(tar.gz archive, try to unpack and pack to zip, probably will help)

After resolving issue like yours with
[exec] Makefile:41: *** target pattern contains no '%'. Stop. (As I
remember its related to incorrect installation of cygwin/MinGW, try to use
my notes)

I encounter some errors, but easily resolved it with google (also I
believe you will find some info about errors on next steps in my useful
links). One more thing I remember I encounter an issue with version, I mean
version's value, so string with version in config above:

sip-communicator.version=2.5.5.5

probably required.

Maxim

On 13 Jan 2015, at 21:48, Ali Akhtar <ali.rac200@gmail.com> wrote:

Thank you very much Maxim. One question, did you bundle the JRE with the
installer? If so, did you use the exe or the zip? (I can't actually find a
zip download of the JRE, there is a .tar.gz though which can be extracted
and re-compressed as .zip, I guess).

Did you edit any of the .properties or makefile? Or did everything just
run for you without any errors?

On Tue, Jan 13, 2015 at 11:41 PM, Maxim Tyukov <mtyukov@gmail.com> >>> wrote:

I successfully built installer about month ago, this is my notes,
probably will be useful for you

Build Jitsi WIN install package
Useful links:
https://java.net/projects/jitsi/lists/users/archive/2012-03/message/31
https://java.net/projects/jitsi/lists/users/archive/2012-03/message/15
https://java.net/projects/jitsi/lists/dev/archive/2011-06/message/128
https://java.net/projects/jitsi/lists/dev/archive/2011-07/message/169

*Preconditions*

   - Cygwin: include lib "make, gcc & g++" (
   http://cygwin.com/setup.exe)
   - MinGW (only gcc, no g++) (important: sub-folder x86 or x64 into
   MinGW root folder,
   http://sourceforge.net/projects/mingw/files/latest/download) then copy
   mingw-make.exe to make.exe (folder C:\MinGW\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/xz-5.0.3-windows.zip)
   - make for win32 (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 (http://ant.apache.org/bindownload.cgi)
   - JDK

Then build.
Maxim

On 13 Jan 2015, at 02:29, C M <cmregister@gmail.com> wrote:

This is the error I got:

$ ant build-installation-wix-64
Buildfile: C:\MyTest\jitsiSnapShot\jitsi\build.xml

-pre-version:

version:
    [javac] Compiling 3 source files to
C:\MyTest\jitsiSnapShot\jitsi\classes
    [javac] warning: [options] bootstrap class path not set in
conjunction with -source 1.6
    [javac] 1 warning
     [echo] Jitsi version 2.4.0.build.by.SVN

load-properties:

build-installation-wix-64:

clean-install-windows:
    [mkdir] Created dir: C:\MyTest\jitsiSnapShot\jitsi\release\windows
    [mkdir] Created dir:
C:\MyTest\jitsiSnapShot\jitsi\release\windows\tmp

define-ant-contrib-task:

build-installation-wix-base:
[propertyfile] Creating new property file:
C:\MyTest\jitsiSnapShot\jitsi\release\windows\versionupdate.properties
    [mkdir] Created dir:
C:\MyTest\jitsiSnapShot\jitsi\release\windows\tmp\light
     [exec] process_begin: CreateProcess(NULL, C:/mingw/x64/bin/gcc.exe
-dumpmachine, ...) failed.
     [exec] Makefile:41: *** target pattern contains no '%'. Stop.

BUILD FAILED
C:\MyTest\jitsiSnapShot\jitsi\resources\install\build.xml:298: The
following error occurred while executing this line:
C:\MyTest\jitsiSnapShot\jitsi\resources\install\build.xml:411: exec
returned: 2

Total time: 16 seconds

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#11

(Resolved the last issue, it was due to .Net framework not being
installed).

I'm now down to what I think is the last issue, the product version issue
that Maxim mentioned:

build-installation-wix-msi:
     [copy] Copying 5 files to C:\jitsi\release\windows\tmp
     [exec] installer-windows.wxs
     [exec] C:\jitsi\release\windows\tmp\installer-windows.wxs(9) : error
CNDL0108 : The Product/@Version attribute's value, '2.5.0.build.by.SVN', is
not a valid version. Legal version values should look like 'x.x.x.x' where
x is an integer from 0 to 65534.
     [exec] C:\jitsi\release\windows\tmp\installer-windows.wxs(9) : error
CNDL0010 : The Product/@Version attribute was not found; it is required.

BUILD FAILED

I have tried putting in sip-communicator.version=2.5.5.5 in
resources/install/installer.properties , didn't have any effect. I then
also tried putting it in resources/install/ant-build-config.properties ,
and it still didn't have any effect.

Could anyone tell me where its setting this property to be
'2.5.0.build.by.SVN'? Or how to fix this error?

Appreciate any help.

···

On Wed, Jan 14, 2015 at 8:55 AM, Ali Akhtar <ali.rac200@gmail.com> wrote:

I'm so very close.

I've managed to work through all of the errors, now the exe file is being
made.

The only problem occurs in the 'unzip-windows-jre' task. The specific
output I get is:

unzip-windows-jre:
     [copy] Copying 1 file to C:\jitsi\release\windows\tmp\light

BUILD FAILED
C:\jitsi\resources\install\build.xml:289: The following error occurred
while executing this line:
C:\jitsi\resources\install\build.xml:571: exec returned: -1073741515

The line 289 in resources/install/build.xml is:

        <antcall target="build-installation-wix-base" />

Line 571 is:

        <exec
                executable="${wix.home}\heat.exe"
                dir="${light.dir}"
                failonerror="true">

So it seems to be failing to attach the jre. Anyone know why?

I have tried with both jre exes and zips.

On Wed, Jan 14, 2015 at 1:14 AM, Ali Akhtar <ali.rac200@gmail.com> wrote:

Also Maxim, if you still have the files with which you built the windows
installer, I would be *very* grateful if you could post your
resources/install/installer.properties file and a zip of
your resources/install/native/windows directory (its only 2MB in size and
contains all the scripts and makefiles).

Once i get done, I will post an updated full list of instructions for
future users.

Thanks.

On Wed, Jan 14, 2015 at 1:08 AM, Ali Akhtar <ali.rac200@gmail.com> wrote:

Thanks again Maxim.

Right now I'm stuck on this error:

gcc.exe error: c:jitsi/release/windows/tmp/light/run.res: No such file
or directory

Screenshot of full error: http://i.imgur.com/mMfuSsT.png

Did anyone get this error or know how to fix this?

Thanks.

On Wed, Jan 14, 2015 at 12:39 AM, Maxim Tyukov <mtyukov@gmail.com> >>> wrote:

Actually I remember details very bad, sorry in advance.

I didn’t change any thing in makefile or build.xml. But make changes in
resources/install/installers.properties to indicate JRE paths:
-----------
# Paths to Windows JRE setups to be included in the respective setups
of SIP
# Communicator and deployed as necessary. Each of them is ignored if its
# respective ZIP path is defined to a non-empty value.
windows.jre.file=C:\\Program Files\\java\\jre1.8.0_25\\bin\\java.exe
windows.jre64.file=C:\\Program Files\\java\\jre1.8.0_25\\bin\\java.exe

# Paths to the ZIP files of private extracted Windows JRE setups to be
deployed
# as part of the respective setups of SIP Communicator.
windows.jre.zip=C:\\java\\jre1.8.0_25.zip
windows.jre64.zip=C:\\java\\jre1.8.0_25.zip
sip-communicator.version=2.5.5.5
——————

JRE is here:

http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html
(tar.gz archive, try to unpack and pack to zip, probably will help)

After resolving issue like yours with
[exec] Makefile:41: *** target pattern contains no '%'. Stop. (As I
remember its related to incorrect installation of cygwin/MinGW, try to use
my notes)

I encounter some errors, but easily resolved it with google (also I
believe you will find some info about errors on next steps in my useful
links). One more thing I remember I encounter an issue with version, I mean
version's value, so string with version in config above:

sip-communicator.version=2.5.5.5

probably required.

Maxim

On 13 Jan 2015, at 21:48, Ali Akhtar <ali.rac200@gmail.com> wrote:

Thank you very much Maxim. One question, did you bundle the JRE with
the installer? If so, did you use the exe or the zip? (I can't actually
find a zip download of the JRE, there is a .tar.gz though which can be
extracted and re-compressed as .zip, I guess).

Did you edit any of the .properties or makefile? Or did everything just
run for you without any errors?

On Tue, Jan 13, 2015 at 11:41 PM, Maxim Tyukov <mtyukov@gmail.com> >>>> wrote:

I successfully built installer about month ago, this is my notes,
probably will be useful for you

Build Jitsi WIN install package
Useful links:
https://java.net/projects/jitsi/lists/users/archive/2012-03/message/31
https://java.net/projects/jitsi/lists/users/archive/2012-03/message/15
https://java.net/projects/jitsi/lists/dev/archive/2011-06/message/128
https://java.net/projects/jitsi/lists/dev/archive/2011-07/message/169

*Preconditions*

   - Cygwin: include lib "make, gcc & g++" (
   http://cygwin.com/setup.exe)
   - MinGW (only gcc, no g++) (important: sub-folder x86 or x64 into
   MinGW root folder,
   http://sourceforge.net/projects/mingw/files/latest/download) then copy
   mingw-make.exe to make.exe (folder C:\MinGW\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/xz-5.0.3-windows.zip)
   - make for win32 (
   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 (http://ant.apache.org/bindownload.cgi)
   - JDK

Then build.
Maxim

On 13 Jan 2015, at 02:29, C M <cmregister@gmail.com> wrote:

This is the error I got:

$ ant build-installation-wix-64
Buildfile: C:\MyTest\jitsiSnapShot\jitsi\build.xml

-pre-version:

version:
    [javac] Compiling 3 source files to
C:\MyTest\jitsiSnapShot\jitsi\classes
    [javac] warning: [options] bootstrap class path not set in
conjunction with -source 1.6
    [javac] 1 warning
     [echo] Jitsi version 2.4.0.build.by.SVN

load-properties:

build-installation-wix-64:

clean-install-windows:
    [mkdir] Created dir: C:\MyTest\jitsiSnapShot\jitsi\release\windows
    [mkdir] Created dir:
C:\MyTest\jitsiSnapShot\jitsi\release\windows\tmp

define-ant-contrib-task:

build-installation-wix-base:
[propertyfile] Creating new property file:
C:\MyTest\jitsiSnapShot\jitsi\release\windows\versionupdate.properties
    [mkdir] Created dir:
C:\MyTest\jitsiSnapShot\jitsi\release\windows\tmp\light
     [exec] process_begin: CreateProcess(NULL,
C:/mingw/x64/bin/gcc.exe -dumpmachine, ...) failed.
     [exec] Makefile:41: *** target pattern contains no '%'. Stop.

BUILD FAILED
C:\MyTest\jitsiSnapShot\jitsi\resources\install\build.xml:298: The
following error occurred while executing this line:
C:\MyTest\jitsiSnapShot\jitsi\resources\install\build.xml:411: exec
returned: 2

Total time: 16 seconds

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#12

Use ant build.... -Dlabel=222

···

On Jan 14, 2015 1:37 PM, "Ali Akhtar" <ali.rac200@gmail.com> wrote:

(Resolved the last issue, it was due to .Net framework not being
installed).

I'm now down to what I think is the last issue, the product version issue
that Maxim mentioned:

build-installation-wix-msi:
     [copy] Copying 5 files to C:\jitsi\release\windows\tmp
     [exec] installer-windows.wxs
     [exec] C:\jitsi\release\windows\tmp\installer-windows.wxs(9) : error
CNDL0108 : The Product/@Version attribute's value, '2.5.0.build.by.SVN', is
not a valid version. Legal version values should look like 'x.x.x.x' where
x is an integer from 0 to 65534.
     [exec] C:\jitsi\release\windows\tmp\installer-windows.wxs(9) : error
CNDL0010 : The Product/@Version attribute was not found; it is required.

BUILD FAILED

I have tried putting in sip-communicator.version=2.5.5.5 in
resources/install/installer.properties , didn't have any effect. I then
also tried putting it in resources/install/ant-build-config.properties ,
and it still didn't have any effect.

Could anyone tell me where its setting this property to be
'2.5.0.build.by.SVN'? Or how to fix this error?

Appreciate any help.

On Wed, Jan 14, 2015 at 8:55 AM, Ali Akhtar <ali.rac200@gmail.com> wrote:

I'm so very close.

I've managed to work through all of the errors, now the exe file is being
made.

The only problem occurs in the 'unzip-windows-jre' task. The specific
output I get is:

unzip-windows-jre:
     [copy] Copying 1 file to C:\jitsi\release\windows\tmp\light

BUILD FAILED
C:\jitsi\resources\install\build.xml:289: The following error occurred
while executing this line:
C:\jitsi\resources\install\build.xml:571: exec returned: -1073741515

The line 289 in resources/install/build.xml is:

        <antcall target="build-installation-wix-base" />

Line 571 is:

        <exec
                executable="${wix.home}\heat.exe"
                dir="${light.dir}"
                failonerror="true">

So it seems to be failing to attach the jre. Anyone know why?

I have tried with both jre exes and zips.

On Wed, Jan 14, 2015 at 1:14 AM, Ali Akhtar <ali.rac200@gmail.com> wrote:

Also Maxim, if you still have the files with which you built the windows
installer, I would be *very* grateful if you could post your
resources/install/installer.properties file and a zip of
your resources/install/native/windows directory (its only 2MB in size and
contains all the scripts and makefiles).

Once i get done, I will post an updated full list of instructions for
future users.

Thanks.

On Wed, Jan 14, 2015 at 1:08 AM, Ali Akhtar <ali.rac200@gmail.com> >>> wrote:

Thanks again Maxim.

Right now I'm stuck on this error:

gcc.exe error: c:jitsi/release/windows/tmp/light/run.res: No such file
or directory

Screenshot of full error: http://i.imgur.com/mMfuSsT.png

Did anyone get this error or know how to fix this?

Thanks.

On Wed, Jan 14, 2015 at 12:39 AM, Maxim Tyukov <mtyukov@gmail.com> >>>> wrote:

Actually I remember details very bad, sorry in advance.

I didn’t change any thing in makefile or build.xml. But make changes
in resources/install/installers.properties to indicate JRE paths:
-----------
# Paths to Windows JRE setups to be included in the respective setups
of SIP
# Communicator and deployed as necessary. Each of them is ignored if
its
# respective ZIP path is defined to a non-empty value.
windows.jre.file=C:\\Program Files\\java\\jre1.8.0_25\\bin\\java.exe
windows.jre64.file=C:\\Program Files\\java\\jre1.8.0_25\\bin\\java.exe

# Paths to the ZIP files of private extracted Windows JRE setups to be
deployed
# as part of the respective setups of SIP Communicator.
windows.jre.zip=C:\\java\\jre1.8.0_25.zip
windows.jre64.zip=C:\\java\\jre1.8.0_25.zip
sip-communicator.version=2.5.5.5
——————

JRE is here:

http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html
(tar.gz archive, try to unpack and pack to zip, probably will help)

After resolving issue like yours with
[exec] Makefile:41: *** target pattern contains no '%'. Stop. (As I
remember its related to incorrect installation of cygwin/MinGW, try to use
my notes)

I encounter some errors, but easily resolved it with google (also I
believe you will find some info about errors on next steps in my useful
links). One more thing I remember I encounter an issue with version, I mean
version's value, so string with version in config above:

sip-communicator.version=2.5.5.5

probably required.

Maxim

On 13 Jan 2015, at 21:48, Ali Akhtar <ali.rac200@gmail.com> wrote:

Thank you very much Maxim. One question, did you bundle the JRE with
the installer? If so, did you use the exe or the zip? (I can't actually
find a zip download of the JRE, there is a .tar.gz though which can be
extracted and re-compressed as .zip, I guess).

Did you edit any of the .properties or makefile? Or did everything
just run for you without any errors?

On Tue, Jan 13, 2015 at 11:41 PM, Maxim Tyukov <mtyukov@gmail.com> >>>>> wrote:

I successfully built installer about month ago, this is my notes,
probably will be useful for you

Build Jitsi WIN install package
Useful links:
https://java.net/projects/jitsi/lists/users/archive/2012-03/message/31
https://java.net/projects/jitsi/lists/users/archive/2012-03/message/15
https://java.net/projects/jitsi/lists/dev/archive/2011-06/message/128
https://java.net/projects/jitsi/lists/dev/archive/2011-07/message/169

*Preconditions*

   - Cygwin: include lib "make, gcc & g++" (
   http://cygwin.com/setup.exe)
   - MinGW (only gcc, no g++) (important: sub-folder x86 or x64 into
   MinGW root folder,
   http://sourceforge.net/projects/mingw/files/latest/download)
   then copy mingw-make.exe to make.exe (folder C:\MinGW\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/xz-5.0.3-windows.zip)
   - make for win32 (
   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 (http://ant.apache.org/bindownload.cgi)
   - JDK

Then build.
Maxim

On 13 Jan 2015, at 02:29, C M <cmregister@gmail.com> wrote:

This is the error I got:

$ ant build-installation-wix-64
Buildfile: C:\MyTest\jitsiSnapShot\jitsi\build.xml

-pre-version:

version:
    [javac] Compiling 3 source files to
C:\MyTest\jitsiSnapShot\jitsi\classes
    [javac] warning: [options] bootstrap class path not set in
conjunction with -source 1.6
    [javac] 1 warning
     [echo] Jitsi version 2.4.0.build.by.SVN

load-properties:

build-installation-wix-64:

clean-install-windows:
    [mkdir] Created dir: C:\MyTest\jitsiSnapShot\jitsi\release\windows
    [mkdir] Created dir:
C:\MyTest\jitsiSnapShot\jitsi\release\windows\tmp

define-ant-contrib-task:

build-installation-wix-base:
[propertyfile] Creating new property file:
C:\MyTest\jitsiSnapShot\jitsi\release\windows\versionupdate.properties
    [mkdir] Created dir:
C:\MyTest\jitsiSnapShot\jitsi\release\windows\tmp\light
     [exec] process_begin: CreateProcess(NULL,
C:/mingw/x64/bin/gcc.exe -dumpmachine, ...) failed.
     [exec] Makefile:41: *** target pattern contains no '%'. Stop.

BUILD FAILED
C:\MyTest\jitsiSnapShot\jitsi\resources\install\build.xml:298: The
following error occurred while executing this line:
C:\MyTest\jitsiSnapShot\jitsi\resources\install\build.xml:411: exec
returned: 2

Total time: 16 seconds

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#13

do you mean ant build-installation-wix -Dlabel=222 ?

Or ant build-installation-wix -Dsipcommunicator-version=5.5.5.5 ?

···

On Wed, Jan 14, 2015 at 9:05 PM, Damian Minkov <damencho@jitsi.org> wrote:

Use ant build.... -Dlabel=222
On Jan 14, 2015 1:37 PM, "Ali Akhtar" <ali.rac200@gmail.com> wrote:

(Resolved the last issue, it was due to .Net framework not being
installed).

I'm now down to what I think is the last issue, the product version issue
that Maxim mentioned:

build-installation-wix-msi:
     [copy] Copying 5 files to C:\jitsi\release\windows\tmp
     [exec] installer-windows.wxs
     [exec] C:\jitsi\release\windows\tmp\installer-windows.wxs(9) : error
CNDL0108 : The Product/@Version attribute's value, '2.5.0.build.by.SVN', is
not a valid version. Legal version values should look like 'x.x.x.x' where
x is an integer from 0 to 65534.
     [exec] C:\jitsi\release\windows\tmp\installer-windows.wxs(9) : error
CNDL0010 : The Product/@Version attribute was not found; it is required.

BUILD FAILED

I have tried putting in sip-communicator.version=2.5.5.5 in
resources/install/installer.properties , didn't have any effect. I then
also tried putting it in resources/install/ant-build-config.properties ,
and it still didn't have any effect.

Could anyone tell me where its setting this property to be
'2.5.0.build.by.SVN'? Or how to fix this error?

Appreciate any help.

On Wed, Jan 14, 2015 at 8:55 AM, Ali Akhtar <ali.rac200@gmail.com> wrote:

I'm so very close.

I've managed to work through all of the errors, now the exe file is
being made.

The only problem occurs in the 'unzip-windows-jre' task. The specific
output I get is:

unzip-windows-jre:
     [copy] Copying 1 file to C:\jitsi\release\windows\tmp\light

BUILD FAILED
C:\jitsi\resources\install\build.xml:289: The following error occurred
while executing this line:
C:\jitsi\resources\install\build.xml:571: exec returned: -1073741515

The line 289 in resources/install/build.xml is:

        <antcall target="build-installation-wix-base" />

Line 571 is:

        <exec
                executable="${wix.home}\heat.exe"
                dir="${light.dir}"
                failonerror="true">

So it seems to be failing to attach the jre. Anyone know why?

I have tried with both jre exes and zips.

On Wed, Jan 14, 2015 at 1:14 AM, Ali Akhtar <ali.rac200@gmail.com> >>> wrote:

Also Maxim, if you still have the files with which you built the
windows installer, I would be *very* grateful if you could post your
resources/install/installer.properties file and a zip of
your resources/install/native/windows directory (its only 2MB in size and
contains all the scripts and makefiles).

Once i get done, I will post an updated full list of instructions for
future users.

Thanks.

On Wed, Jan 14, 2015 at 1:08 AM, Ali Akhtar <ali.rac200@gmail.com> >>>> wrote:

Thanks again Maxim.

Right now I'm stuck on this error:

gcc.exe error: c:jitsi/release/windows/tmp/light/run.res: No such file
or directory

Screenshot of full error: http://i.imgur.com/mMfuSsT.png

Did anyone get this error or know how to fix this?

Thanks.

On Wed, Jan 14, 2015 at 12:39 AM, Maxim Tyukov <mtyukov@gmail.com> >>>>> wrote:

Actually I remember details very bad, sorry in advance.

I didn’t change any thing in makefile or build.xml. But make changes
in resources/install/installers.properties to indicate JRE paths:
-----------
# Paths to Windows JRE setups to be included in the respective setups
of SIP
# Communicator and deployed as necessary. Each of them is ignored if
its
# respective ZIP path is defined to a non-empty value.
windows.jre.file=C:\\Program Files\\java\\jre1.8.0_25\\bin\\java.exe
windows.jre64.file=C:\\Program
Files\\java\\jre1.8.0_25\\bin\\java.exe

# Paths to the ZIP files of private extracted Windows JRE setups to
be deployed
# as part of the respective setups of SIP Communicator.
windows.jre.zip=C:\\java\\jre1.8.0_25.zip
windows.jre64.zip=C:\\java\\jre1.8.0_25.zip
sip-communicator.version=2.5.5.5
——————

JRE is here:

http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html
(tar.gz archive, try to unpack and pack to zip, probably will help)

After resolving issue like yours with
[exec] Makefile:41: *** target pattern contains no '%'. Stop. (As I
remember its related to incorrect installation of cygwin/MinGW, try to use
my notes)

I encounter some errors, but easily resolved it with google (also I
believe you will find some info about errors on next steps in my useful
links). One more thing I remember I encounter an issue with version, I mean
version's value, so string with version in config above:

sip-communicator.version=2.5.5.5

probably required.

Maxim

On 13 Jan 2015, at 21:48, Ali Akhtar <ali.rac200@gmail.com> wrote:

Thank you very much Maxim. One question, did you bundle the JRE with
the installer? If so, did you use the exe or the zip? (I can't actually
find a zip download of the JRE, there is a .tar.gz though which can be
extracted and re-compressed as .zip, I guess).

Did you edit any of the .properties or makefile? Or did everything
just run for you without any errors?

On Tue, Jan 13, 2015 at 11:41 PM, Maxim Tyukov <mtyukov@gmail.com> >>>>>> wrote:

I successfully built installer about month ago, this is my notes,
probably will be useful for you

Build Jitsi WIN install package
Useful links:

https://java.net/projects/jitsi/lists/users/archive/2012-03/message/31

https://java.net/projects/jitsi/lists/users/archive/2012-03/message/15
https://java.net/projects/jitsi/lists/dev/archive/2011-06/message/128
https://java.net/projects/jitsi/lists/dev/archive/2011-07/message/169

*Preconditions*

   - Cygwin: include lib "make, gcc & g++" (
   http://cygwin.com/setup.exe)
   - MinGW (only gcc, no g++) (important: sub-folder x86 or x64
   into MinGW root folder,
   http://sourceforge.net/projects/mingw/files/latest/download)
   then copy mingw-make.exe to make.exe (folder C:\MinGW\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/xz-5.0.3-windows.zip)
   - make for win32 (
   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 (http://ant.apache.org/bindownload.cgi)
   - JDK

Then build.
Maxim

On 13 Jan 2015, at 02:29, C M <cmregister@gmail.com> wrote:

This is the error I got:

$ ant build-installation-wix-64
Buildfile: C:\MyTest\jitsiSnapShot\jitsi\build.xml

-pre-version:

version:
    [javac] Compiling 3 source files to
C:\MyTest\jitsiSnapShot\jitsi\classes
    [javac] warning: [options] bootstrap class path not set in
conjunction with -source 1.6
    [javac] 1 warning
     [echo] Jitsi version 2.4.0.build.by.SVN

load-properties:

build-installation-wix-64:

clean-install-windows:
    [mkdir] Created dir:
C:\MyTest\jitsiSnapShot\jitsi\release\windows
    [mkdir] Created dir:
C:\MyTest\jitsiSnapShot\jitsi\release\windows\tmp

define-ant-contrib-task:

build-installation-wix-base:
[propertyfile] Creating new property file:
C:\MyTest\jitsiSnapShot\jitsi\release\windows\versionupdate.properties
    [mkdir] Created dir:
C:\MyTest\jitsiSnapShot\jitsi\release\windows\tmp\light
     [exec] process_begin: CreateProcess(NULL,
C:/mingw/x64/bin/gcc.exe -dumpmachine, ...) failed.
     [exec] Makefile:41: *** target pattern contains no '%'. Stop.

BUILD FAILED
C:\MyTest\jitsiSnapShot\jitsi\resources\install\build.xml:298: The
following error occurred while executing this line:
C:\MyTest\jitsiSnapShot\jitsi\resources\install\build.xml:411: exec
returned: 2

Total time: 16 seconds

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#14

The first one.

···

On Jan 14, 2015 6:13 PM, "Ali Akhtar" <ali.rac200@gmail.com> wrote:

do you mean ant build-installation-wix -Dlabel=222 ?

Or ant build-installation-wix -Dsipcommunicator-version=5.5.5.5 ?

On Wed, Jan 14, 2015 at 9:05 PM, Damian Minkov <damencho@jitsi.org> wrote:

Use ant build.... -Dlabel=222
On Jan 14, 2015 1:37 PM, "Ali Akhtar" <ali.rac200@gmail.com> wrote:

(Resolved the last issue, it was due to .Net framework not being
installed).

I'm now down to what I think is the last issue, the product version
issue that Maxim mentioned:

build-installation-wix-msi:
     [copy] Copying 5 files to C:\jitsi\release\windows\tmp
     [exec] installer-windows.wxs
     [exec] C:\jitsi\release\windows\tmp\installer-windows.wxs(9) :
error CNDL0108 : The Product/@Version attribute's value,
'2.5.0.build.by.SVN', is not a valid version. Legal version values should
look like 'x.x.x.x' where x is an integer from 0 to 65534.
     [exec] C:\jitsi\release\windows\tmp\installer-windows.wxs(9) :
error CNDL0010 : The Product/@Version attribute was not found; it is
required.

BUILD FAILED

I have tried putting in sip-communicator.version=2.5.5.5 in
resources/install/installer.properties , didn't have any effect. I then
also tried putting it in resources/install/ant-build-config.properties ,
and it still didn't have any effect.

Could anyone tell me where its setting this property to be
'2.5.0.build.by.SVN'? Or how to fix this error?

Appreciate any help.

On Wed, Jan 14, 2015 at 8:55 AM, Ali Akhtar <ali.rac200@gmail.com> >>> wrote:

I'm so very close.

I've managed to work through all of the errors, now the exe file is
being made.

The only problem occurs in the 'unzip-windows-jre' task. The specific
output I get is:

unzip-windows-jre:
     [copy] Copying 1 file to C:\jitsi\release\windows\tmp\light

BUILD FAILED
C:\jitsi\resources\install\build.xml:289: The following error occurred
while executing this line:
C:\jitsi\resources\install\build.xml:571: exec returned: -1073741515

The line 289 in resources/install/build.xml is:

        <antcall target="build-installation-wix-base" />

Line 571 is:

        <exec
                executable="${wix.home}\heat.exe"
                dir="${light.dir}"
                failonerror="true">

So it seems to be failing to attach the jre. Anyone know why?

I have tried with both jre exes and zips.

On Wed, Jan 14, 2015 at 1:14 AM, Ali Akhtar <ali.rac200@gmail.com> >>>> wrote:

Also Maxim, if you still have the files with which you built the
windows installer, I would be *very* grateful if you could post your
resources/install/installer.properties file and a zip of
your resources/install/native/windows directory (its only 2MB in size and
contains all the scripts and makefiles).

Once i get done, I will post an updated full list of instructions for
future users.

Thanks.

On Wed, Jan 14, 2015 at 1:08 AM, Ali Akhtar <ali.rac200@gmail.com> >>>>> wrote:

Thanks again Maxim.

Right now I'm stuck on this error:

gcc.exe error: c:jitsi/release/windows/tmp/light/run.res: No such
file or directory

Screenshot of full error: http://i.imgur.com/mMfuSsT.png

Did anyone get this error or know how to fix this?

Thanks.

On Wed, Jan 14, 2015 at 12:39 AM, Maxim Tyukov <mtyukov@gmail.com> >>>>>> wrote:

Actually I remember details very bad, sorry in advance.

I didn’t change any thing in makefile or build.xml. But make changes
in resources/install/installers.properties to indicate JRE paths:
-----------
# Paths to Windows JRE setups to be included in the respective
setups of SIP
# Communicator and deployed as necessary. Each of them is ignored if
its
# respective ZIP path is defined to a non-empty value.
windows.jre.file=C:\\Program Files\\java\\jre1.8.0_25\\bin\\java.exe
windows.jre64.file=C:\\Program
Files\\java\\jre1.8.0_25\\bin\\java.exe

# Paths to the ZIP files of private extracted Windows JRE setups to
be deployed
# as part of the respective setups of SIP Communicator.
windows.jre.zip=C:\\java\\jre1.8.0_25.zip
windows.jre64.zip=C:\\java\\jre1.8.0_25.zip
sip-communicator.version=2.5.5.5
——————

JRE is here:

http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html
(tar.gz archive, try to unpack and pack to zip, probably will help)

After resolving issue like yours with
[exec] Makefile:41: *** target pattern contains no '%'. Stop. (As I
remember its related to incorrect installation of cygwin/MinGW, try to use
my notes)

I encounter some errors, but easily resolved it with google (also I
believe you will find some info about errors on next steps in my useful
links). One more thing I remember I encounter an issue with version, I mean
version's value, so string with version in config above:

sip-communicator.version=2.5.5.5

probably required.

Maxim

On 13 Jan 2015, at 21:48, Ali Akhtar <ali.rac200@gmail.com> wrote:

Thank you very much Maxim. One question, did you bundle the JRE with
the installer? If so, did you use the exe or the zip? (I can't actually
find a zip download of the JRE, there is a .tar.gz though which can be
extracted and re-compressed as .zip, I guess).

Did you edit any of the .properties or makefile? Or did everything
just run for you without any errors?

On Tue, Jan 13, 2015 at 11:41 PM, Maxim Tyukov <mtyukov@gmail.com> >>>>>>> wrote:

I successfully built installer about month ago, this is my notes,
probably will be useful for you

Build Jitsi WIN install package
Useful links:

https://java.net/projects/jitsi/lists/users/archive/2012-03/message/31

https://java.net/projects/jitsi/lists/users/archive/2012-03/message/15

https://java.net/projects/jitsi/lists/dev/archive/2011-06/message/128

https://java.net/projects/jitsi/lists/dev/archive/2011-07/message/169

*Preconditions*

   - Cygwin: include lib "make, gcc & g++" (
   http://cygwin.com/setup.exe)
   - MinGW (only gcc, no g++) (important: sub-folder x86 or x64
   into MinGW root folder,
   http://sourceforge.net/projects/mingw/files/latest/download)
   then copy mingw-make.exe to make.exe (folder C:\MinGW\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/xz-5.0.3-windows.zip)
   - make for win32 (
   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 (http://ant.apache.org/bindownload.cgi)
   - JDK

Then build.
Maxim

On 13 Jan 2015, at 02:29, C M <cmregister@gmail.com> wrote:

This is the error I got:

$ ant build-installation-wix-64
Buildfile: C:\MyTest\jitsiSnapShot\jitsi\build.xml

-pre-version:

version:
    [javac] Compiling 3 source files to
C:\MyTest\jitsiSnapShot\jitsi\classes
    [javac] warning: [options] bootstrap class path not set in
conjunction with -source 1.6
    [javac] 1 warning
     [echo] Jitsi version 2.4.0.build.by.SVN

load-properties:

build-installation-wix-64:

clean-install-windows:
    [mkdir] Created dir:
C:\MyTest\jitsiSnapShot\jitsi\release\windows
    [mkdir] Created dir:
C:\MyTest\jitsiSnapShot\jitsi\release\windows\tmp

define-ant-contrib-task:

build-installation-wix-base:
[propertyfile] Creating new property file:
C:\MyTest\jitsiSnapShot\jitsi\release\windows\versionupdate.properties
    [mkdir] Created dir:
C:\MyTest\jitsiSnapShot\jitsi\release\windows\tmp\light
     [exec] process_begin: CreateProcess(NULL,
C:/mingw/x64/bin/gcc.exe -dumpmachine, ...) failed.
     [exec] Makefile:41: *** target pattern contains no '%'. Stop.

BUILD FAILED
C:\MyTest\jitsiSnapShot\jitsi\resources\install\build.xml:298: The
following error occurred while executing this line:
C:\MyTest\jitsiSnapShot\jitsi\resources\install\build.xml:411: exec
returned: 2

Total time: 16 seconds

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev