[jitsi-dev] Re: About create a installer


#1

Guess that was supposed to be private, but a quick reminder nonetheless:

This is an English language mailing list.

···

On Mar 13, 2012 9:28 PM, "Alex Coloma Gisbert" <alexandre.coloma@gmail.com> wrote:

David te funcionan todos los scripts? es que me da un error raro noseqie
de %
El 13/03/2012 08:31, "David Patiño" <david.patino@quobis.com> escribió:

Could you explain a little bit what are you trying to do?
Any way, I'll send you an little guide for windows:

*1.SOFTWARE REQUIREMENTS:*

-Cygwin:
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 the MinGW root)

http://sourceforge.net/projects/mingw/files/latest/download

-Install in C:\MinGW\x86
-copy mingw-make.exe to make.exe (in 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/xz-5.0.3-windows.zip
-make for win32 (v3.8.1 in this case)

-wix35-binaries (v3.5 in this case): unzip in C:\Program Files\WiX
-Use binaries (wix35-binaries.zip), not the WiX .msi installer.
http://wix.codeplex.com/releases/view/60102#DownloadId=204418

-ant (v1.8.3 in this case)

-jdk1.6 (v1.6.0_31 in this case)

*2. PATH*

-Export PATH contains:

-add ANT_HOME=C:\apache-ant-1.8.3
-add %ANT_HOME%\bin to PATH

-add C:\MinGW\x86\bin to PATH
-add C:\cygwin\bin to PATH
-add C:\MinGW\msys\1.0 to PATH
-add C:\wix35-binaries to PATH

-add BZ2_HOME=C:\MinGW\bzip2

-add LZMA_HOME=C:\MinGW\xz

-add JAVA_HOME=C:\Program Files\Java\jdk1.6.0_31

*3.CLASSPATH*

-create folder "classes" in "resources\install"

-Edit the build.xml and point to the JRE to be included in the installer
-In a certain build file, change to the path to JRE to be installed along
with
the Jitsi (either point to a zipped jre or the actual directory)
grep for d:\jre you'll find it a default value.

*4. EXECUTE SCRIPT*

-Launch Cygwin terminal

-Go to /cygdrive/c/{dir_root de 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)

*--*
* --DAVID--*

2012/3/12 Alex Coloma Gisbert <alexandre.coloma@gmail.com>

Please can you help me about this question, I can´t create a installer,
I read the tutorial, but i can´t do It. I´m trying to create a installer
for windows, can I do this with a ant target?.
If I do this in console I have a lot of errors
Alex


#2

Sorry! I'm writting this from my phone and i wrong!

···

El 13/03/2012 21:36, "Emil Ivov" <emcho@jitsi.org> escribió:

Guess that was supposed to be private, but a quick reminder nonetheless:

This is an English language mailing list.

On Mar 13, 2012 9:28 PM, "Alex Coloma Gisbert" <alexandre.coloma@gmail.com> > wrote:

David te funcionan todos los scripts? es que me da un error raro noseqie
de %
El 13/03/2012 08:31, "David Patiño" <david.patino@quobis.com> escribió:

Could you explain a little bit what are you trying to do?
Any way, I'll send you an little guide for windows:

*1.SOFTWARE REQUIREMENTS:*

-Cygwin:
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 the MinGW root)

http://sourceforge.net/projects/mingw/files/latest/download

-Install in C:\MinGW\x86
-copy mingw-make.exe to make.exe (in 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/xz-5.0.3-windows.zip
-make for win32 (v3.8.1 in this case)

-wix35-binaries (v3.5 in this case): unzip in C:\Program Files\WiX
-Use binaries (wix35-binaries.zip), not the WiX .msi installer.
http://wix.codeplex.com/releases/view/60102#DownloadId=204418

-ant (v1.8.3 in this case)

-jdk1.6 (v1.6.0_31 in this case)

*2. PATH*

-Export PATH contains:

-add ANT_HOME=C:\apache-ant-1.8.3
-add %ANT_HOME%\bin to PATH

-add C:\MinGW\x86\bin to PATH
-add C:\cygwin\bin to PATH
-add C:\MinGW\msys\1.0 to PATH
-add C:\wix35-binaries to PATH

-add BZ2_HOME=C:\MinGW\bzip2

-add LZMA_HOME=C:\MinGW\xz

-add JAVA_HOME=C:\Program Files\Java\jdk1.6.0_31

*3.CLASSPATH*

-create folder "classes" in "resources\install"

-Edit the build.xml and point to the JRE to be included in the installer
-In a certain build file, change to the path to JRE to be installed
along with
the Jitsi (either point to a zipped jre or the actual directory)
grep for d:\jre you'll find it a default value.

*4. EXECUTE SCRIPT*

-Launch Cygwin terminal

-Go to /cygdrive/c/{dir_root de 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)

*--*
* --DAVID--*

2012/3/12 Alex Coloma Gisbert <alexandre.coloma@gmail.com>

Please can you help me about this question, I can´t create a installer,
I read the tutorial, but i can´t do It. I´m trying to create a installer
for windows, can I do this with a ant target?.
If I do this in console I have a lot of errors
Alex


#3

Could you paste the output of the terminal to see the error line?

···

*--*
* --DAVID--*

2012/3/13 Alex Coloma Gisbert <alexandre.coloma@gmail.com>

Sorry! I'm writting this from my phone and i wrong!
El 13/03/2012 21:36, "Emil Ivov" <emcho@jitsi.org> escribió:

Guess that was supposed to be private, but a quick reminder nonetheless:

This is an English language mailing list.

On Mar 13, 2012 9:28 PM, "Alex Coloma Gisbert" < >> alexandre.coloma@gmail.com> wrote:

David te funcionan todos los scripts? es que me da un error raro
noseqie de %
El 13/03/2012 08:31, "David Patiño" <david.patino@quobis.com> escribió:

Could you explain a little bit what are you trying to do?
Any way, I'll send you an little guide for windows:

*1.SOFTWARE REQUIREMENTS:*

-Cygwin:
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 the MinGW root)

http://sourceforge.net/projects/mingw/files/latest/download

-Install in C:\MinGW\x86
-copy mingw-make.exe to make.exe (in 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/xz-5.0.3-windows.zip
-make for win32 (v3.8.1 in this case)

-wix35-binaries (v3.5 in this case): unzip in C:\Program Files\WiX
-Use binaries (wix35-binaries.zip), not the WiX .msi installer.
http://wix.codeplex.com/releases/view/60102#DownloadId=204418

-ant (v1.8.3 in this case)

-jdk1.6 (v1.6.0_31 in this case)

*2. PATH*

-Export PATH contains:

-add ANT_HOME=C:\apache-ant-1.8.3
-add %ANT_HOME%\bin to PATH

-add C:\MinGW\x86\bin to PATH
-add C:\cygwin\bin to PATH
-add C:\MinGW\msys\1.0 to PATH
-add C:\wix35-binaries to PATH

-add BZ2_HOME=C:\MinGW\bzip2

-add LZMA_HOME=C:\MinGW\xz

-add JAVA_HOME=C:\Program Files\Java\jdk1.6.0_31

*3.CLASSPATH*

-create folder "classes" in "resources\install"

-Edit the build.xml and point to the JRE to be included in the installer
-In a certain build file, change to the path to JRE to be installed
along with
the Jitsi (either point to a zipped jre or the actual directory)
grep for d:\jre you'll find it a default value.

*4. EXECUTE SCRIPT*

-Launch Cygwin terminal

-Go to /cygdrive/c/{dir_root de 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)

*--*
* --DAVID--*

2012/3/12 Alex Coloma Gisbert <alexandre.coloma@gmail.com>

Please can you help me about this question, I can´t create a
installer, I read the tutorial, but i can´t do It. I´m trying to create a
installer for windows, can I do this with a ant target?.
If I do this in console I have a lot of errors
Alex