[jitsi-dev] Windows installer instructions link?

Hi,

I'm starting from scratch again for the Windows Installer.

I'm on x64 Windows, but I'm confused as to which packages are needed for
MinGW after reading
https://java.net/projects/jitsi/lists/users/archive/2012-03/message/32

It says "should use the x64 version", but I don't see where I can get the
x64 version.

Also, @Maxim, you said in your earlier post:

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)

Did you mean that I need to create an empty sub-folder x64 under the MinGW root?

Here is my setyup selection, is it correct?

http://imgur.com/iUPmWVW

Thanks,

C.M.

Hi Ali,

Thanks for your comment.

I did install all the available package for MinGW, but I don't see the
mingw-make.exe, only mingw32-make.exe. Did I miss anything here?

These are the packages I installed

http://imgur.com/8KX6SJP

Thanks,

C.M.

Hey C.M,

Did you mean that I need to create an empty sub-folder x64 under the

MinGW root?

Yes, you want to install MinGW to C:\MinGW\x64 , and if you wanted to build
a 32 bit installer, then you will just have to copy & rename the x64 folder
to x86 .

Then other things like xz will need to be installed to C:\MinGW

Here is my setyup selection, is it correct?

I think I installed mingw32-base, mingw32-gcc-g++, and mys-base . Can't
recall if I installed the developer tools or not, to be on the safe side
I'd say install them.

Here is my PATH variable:

%ANT_HOME%\bin;%JAVA_HOME%\bin;C:\cygwin\bin;C:\mingw\x86\bin;C:\mingw\x86\msys\1.0;C:\Program
Files\WiX;C:\Program Files (x86)\GnuWin32\bin;

WIX has to be unzipped in program files\WiX

···

On Mon, Jan 19, 2015 at 7:45 PM, C M <cmregister@gmail.com> wrote:

Hi,

I'm starting from scratch again for the Windows Installer.

I'm on x64 Windows, but I'm confused as to which packages are needed for
MinGW after reading
https://java.net/projects/jitsi/lists/users/archive/2012-03/message/32

It says "should use the x64 version", but I don't see where I can get the
x64 version.

Also, @Maxim, you said in your earlier post:

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)

Did you mean that I need to create an empty sub-folder x64 under the MinGW root?

Here is my setyup selection, is it correct?

http://imgur.com/iUPmWVW

Thanks,

C.M.

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

Yeah, that's the file you'll rename. I think the name has simply changed
since the time of the instructions.

···

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

Hi Ali,

Thanks for your comment.

I did install all the available package for MinGW, but I don't see the
mingw-make.exe, only mingw32-make.exe. Did I miss anything here?

These are the packages I installed

http://imgur.com/8KX6SJP

Thanks,

C.M.

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

Hi Ali,

After I comment out the quote in Make file, I'm getting the following error:

···

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

-pre-version:

version:
    [javac] Compiling 3 source files to C:\myProjects\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:
   [delete] Deleting directory C:\myProjects\jitsi\release\windows
    [mkdir] Created dir: C:\myProjects\jitsi\release\windows
    [mkdir] Created dir: C:\myProjects\jitsi\release\windows\tmp

define-ant-contrib-task:

build-installation-wix-base:
[propertyfile] Creating new property file:
C:\myProjects\jitsi\release\windows\versionupdate.properties
    [mkdir] Created dir: C:\myProjects\jitsi\release\windows\tmp\light
     [exec] rm.exe -f ../../../../resources/install/windows/config.h
     [exec] echo -e '#define PRODUCTNAME "Jitsi"\n#define
PRODUCTBUILDVERSION "2.4.0.build.by.SVN"\n#define TARGET_BASENAME
"Jitsi"\n#define TARGET_BASENAME_EXE "Jitsi.exe"' >
C:\myProjects\jitsi/release/windows/tmp/light/config.h
     [exec] Makefile:48: recipe for target
'C:\myProjects\jitsi/release/windows/tmp/light/config.h' failed
     [exec] /usr/bin/sh:
C:myProjectsjitsi/release/windows/tmp/light/config.h: No such file or
directory
     [exec] make.exe: ***
[C:\myProjects\jitsi/release/windows/tmp/light/config.h] Error 1

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

Total time: 1 second
---------------------------------
It's empty under dir C:\myProjects\jitsi\release\windows\tmp\light, any
idea?

Also,
in
http://stackoverflow.com/questions/14495465/installer-for-jitsi-sip-communicator/22658530#22658530,
it says
"3) In the resources/install/installers/properties - Specified the location
where IzPack is installed", but I don't see any where the izPack is
installed, am I missing sth here?

Thanks,

C.M.

Thanks Ali,

I was able to move forward, but getting a new error:

···

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

-pre-version:

version:
    [javac] Compiling 3 source files to C:\myProjects\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:
   [delete] Deleting directory C:\myProjects\jitsi\release\windows
    [mkdir] Created dir: C:\myProjects\jitsi\release\windows
    [mkdir] Created dir: C:\myProjects\jitsi\release\windows\tmp

define-ant-contrib-task:

build-installation-wix-base:
[propertyfile] Creating new property file:
C:\myProjects\jitsi\release\windows\versionupdate.properties
    [mkdir] Created dir: C:\myProjects\jitsi\release\windows\tmp\light
     [echo] sc.basedir=C:/myProjects/jitsi
     [echo] TARGET_DIR=C:/myProjects/jitsi/release/windows/tmp/light
     [echo] windows.app.dir=C:/myProjects/jitsi/release/windows
     [exec] rm.exe -f ../../../../resources/install/windows/config.h
     [exec] echo -e '#define PRODUCTNAME "Jitsi"\n#define
PRODUCTBUILDVERSION "2.4.0.build.by.SVN"\n#define TARGET_BASENAME
"Jitsi"\n#define TARGET_BASENAME_EXE "Jitsi.exe"' >
C:/myProjects/jitsi/release/windows/tmp/light/config.h
     [exec] C:/mingw/x64/bin/windres.exe
-I../../../../resources/install/windows
-IC:/myProjects/jitsi/release/windows/tmp/light run.rc -O coff -o
C:/myProjects/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:/myProjects/jitsi/release/windows/tmp/light
-I"C:/tools/Java/jdk1.7.0_45/include"
-I"C:/tools/Java/jdk1.7.0_45/include/win32" registry.c run.c
C:/myProjects/jitsi/release/windows/tmp/light/run.res ../setup/nls.c
-mwindows -o C:/myProjects/jitsi/release/windows/tmp/light/Jitsi.exe
-ladvapi32 -lpsapi
     [exec] run.c:11:17: fatal error: jni.h: No such file or directory
     [exec] #include <jni.h>
     [exec] ^
     [exec] compilation terminated.
     [exec] Makefile:42: recipe for target
'C:/myProjects/jitsi/release/windows/tmp/light/Jitsi.exe' failed
     [exec] make.exe: ***
[C:/myProjects/jitsi/release/windows/tmp/light/Jitsi.exe] Error 1

BUILD FAILED
C:\myProjects\jitsi\resources\install\build.xml:298: The following error
occurred while executing this line:
C:\myProjects\jitsi\resources\install\build.xml:416: exec returned: 2
----------------------------------------------

I can see the "jni.h" is right under the
"C:/tools/Java/jdk1.7.0_45/include", but somehow it's not getting picked up.

Thanks,

C.M.

IzPack isn't necessary anymore, but you do need bz. Please see my last
comment for instructions on what you need to install, and what your PATH
should look like.

I did say not to make the echos in the same line.

···

On Thu, Jan 22, 2015 at 5:55 PM, C M <cmregister@gmail.com> wrote:

Hi Ali,

After I comment out the quote in Make file, I'm getting the following
error:
---------------------------------
$ ant build-installation-wix-64
Buildfile: C:\myProjects\jitsi\build.xml

-pre-version:

version:
    [javac] Compiling 3 source files to C:\myProjects\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:
   [delete] Deleting directory C:\myProjects\jitsi\release\windows
    [mkdir] Created dir: C:\myProjects\jitsi\release\windows
    [mkdir] Created dir: C:\myProjects\jitsi\release\windows\tmp

define-ant-contrib-task:

build-installation-wix-base:
[propertyfile] Creating new property file:
C:\myProjects\jitsi\release\windows\versionupdate.properties
    [mkdir] Created dir: C:\myProjects\jitsi\release\windows\tmp\light
     [exec] rm.exe -f ../../../../resources/install/windows/config.h
     [exec] echo -e '#define PRODUCTNAME "Jitsi"\n#define
PRODUCTBUILDVERSION "2.4.0.build.by.SVN"\n#define TARGET_BASENAME
"Jitsi"\n#define TARGET_BASENAME_EXE "Jitsi.exe"' >
C:\myProjects\jitsi/release/windows/tmp/light/config.h
     [exec] Makefile:48: recipe for target
'C:\myProjects\jitsi/release/windows/tmp/light/config.h' failed
     [exec] /usr/bin/sh:
C:myProjectsjitsi/release/windows/tmp/light/config.h: No such file or
directory
     [exec] make.exe: ***
[C:\myProjects\jitsi/release/windows/tmp/light/config.h] Error 1

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

Total time: 1 second
---------------------------------
It's empty under dir C:\myProjects\jitsi\release\windows\tmp\light, any
idea?

Also,
in
http://stackoverflow.com/questions/14495465/installer-for-jitsi-sip-communicator/22658530#22658530,
it says
"3) In the resources/install/installers/properties - Specified the
location where IzPack is installed", but I don't see any where the izPack
is installed, am I missing sth here?

Thanks,

C.M.

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

You need to set JAVA_HOME variable in your environment.

···

On Jan 23, 2015 1:03 AM, "C M" <cmregister@gmail.com> wrote:

Thanks Ali,

I was able to move forward, but getting a new error:
----------------------------------------------
$ ant build-installation-wix-64
Buildfile: C:\myProjects\jitsi\build.xml

-pre-version:

version:
    [javac] Compiling 3 source files to C:\myProjects\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:
   [delete] Deleting directory C:\myProjects\jitsi\release\windows
    [mkdir] Created dir: C:\myProjects\jitsi\release\windows
    [mkdir] Created dir: C:\myProjects\jitsi\release\windows\tmp

define-ant-contrib-task:

build-installation-wix-base:
[propertyfile] Creating new property file:
C:\myProjects\jitsi\release\windows\versionupdate.properties
    [mkdir] Created dir: C:\myProjects\jitsi\release\windows\tmp\light
     [echo] sc.basedir=C:/myProjects/jitsi
     [echo] TARGET_DIR=C:/myProjects/jitsi/release/windows/tmp/light
     [echo] windows.app.dir=C:/myProjects/jitsi/release/windows
     [exec] rm.exe -f ../../../../resources/install/windows/config.h
     [exec] echo -e '#define PRODUCTNAME "Jitsi"\n#define
PRODUCTBUILDVERSION "2.4.0.build.by.SVN"\n#define TARGET_BASENAME
"Jitsi"\n#define TARGET_BASENAME_EXE "Jitsi.exe"' >
C:/myProjects/jitsi/release/windows/tmp/light/config.h
     [exec] C:/mingw/x64/bin/windres.exe
-I../../../../resources/install/windows
-IC:/myProjects/jitsi/release/windows/tmp/light run.rc -O coff -o
C:/myProjects/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:/myProjects/jitsi/release/windows/tmp/light
-I"C:/tools/Java/jdk1.7.0_45/include"
-I"C:/tools/Java/jdk1.7.0_45/include/win32" registry.c run.c
C:/myProjects/jitsi/release/windows/tmp/light/run.res ../setup/nls.c
-mwindows -o C:/myProjects/jitsi/release/windows/tmp/light/Jitsi.exe
-ladvapi32 -lpsapi
     [exec] run.c:11:17: fatal error: jni.h: No such file or directory
     [exec] #include <jni.h>
     [exec] ^
     [exec] compilation terminated.
     [exec] Makefile:42: recipe for target
'C:/myProjects/jitsi/release/windows/tmp/light/Jitsi.exe' failed
     [exec] make.exe: ***
[C:/myProjects/jitsi/release/windows/tmp/light/Jitsi.exe] Error 1

BUILD FAILED
C:\myProjects\jitsi\resources\install\build.xml:298: The following error
occurred while executing this line:
C:\myProjects\jitsi\resources\install\build.xml:416: exec returned: 2
----------------------------------------------

I can see the "jni.h" is right under the
"C:/tools/Java/jdk1.7.0_45/include", but somehow it's not getting picked up.

Thanks,

C.M.

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

I don't know, haven't had that error.

···

On Fri, Jan 23, 2015 at 4:01 AM, C M <cmregister@gmail.com> wrote:

Thanks Ali,

I was able to move forward, but getting a new error:
----------------------------------------------
$ ant build-installation-wix-64
Buildfile: C:\myProjects\jitsi\build.xml

-pre-version:

version:
    [javac] Compiling 3 source files to C:\myProjects\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:
   [delete] Deleting directory C:\myProjects\jitsi\release\windows
    [mkdir] Created dir: C:\myProjects\jitsi\release\windows
    [mkdir] Created dir: C:\myProjects\jitsi\release\windows\tmp

define-ant-contrib-task:

build-installation-wix-base:
[propertyfile] Creating new property file:
C:\myProjects\jitsi\release\windows\versionupdate.properties
    [mkdir] Created dir: C:\myProjects\jitsi\release\windows\tmp\light
     [echo] sc.basedir=C:/myProjects/jitsi
     [echo] TARGET_DIR=C:/myProjects/jitsi/release/windows/tmp/light
     [echo] windows.app.dir=C:/myProjects/jitsi/release/windows
     [exec] rm.exe -f ../../../../resources/install/windows/config.h
     [exec] echo -e '#define PRODUCTNAME "Jitsi"\n#define
PRODUCTBUILDVERSION "2.4.0.build.by.SVN"\n#define TARGET_BASENAME
"Jitsi"\n#define TARGET_BASENAME_EXE "Jitsi.exe"' >
C:/myProjects/jitsi/release/windows/tmp/light/config.h
     [exec] C:/mingw/x64/bin/windres.exe
-I../../../../resources/install/windows
-IC:/myProjects/jitsi/release/windows/tmp/light run.rc -O coff -o
C:/myProjects/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:/myProjects/jitsi/release/windows/tmp/light
-I"C:/tools/Java/jdk1.7.0_45/include"
-I"C:/tools/Java/jdk1.7.0_45/include/win32" registry.c run.c
C:/myProjects/jitsi/release/windows/tmp/light/run.res ../setup/nls.c
-mwindows -o C:/myProjects/jitsi/release/windows/tmp/light/Jitsi.exe
-ladvapi32 -lpsapi
     [exec] run.c:11:17: fatal error: jni.h: No such file or directory
     [exec] #include <jni.h>
     [exec] ^
     [exec] compilation terminated.
     [exec] Makefile:42: recipe for target
'C:/myProjects/jitsi/release/windows/tmp/light/Jitsi.exe' failed
     [exec] make.exe: ***
[C:/myProjects/jitsi/release/windows/tmp/light/Jitsi.exe] Error 1

BUILD FAILED
C:\myProjects\jitsi\resources\install\build.xml:298: The following error
occurred while executing this line:
C:\myProjects\jitsi\resources\install\build.xml:416: exec returned: 2
----------------------------------------------

I can see the "jni.h" is right under the
"C:/tools/Java/jdk1.7.0_45/include", but somehow it's not getting picked up.

Thanks,

C.M.

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