[jitsi-dev] Generate windows installer


#1

Hello...
I'm trying to generate windows instaler...
im using windows 7 (x86) instaled on Virtual Box....
I do instructions from:
http://java.net/projects/jitsi/lists/users/archive/2012-03/message/31

Also try on windows XP... and... stick...
I've get this on "ant build-installation-wix" called on cygwin
terminal...

***LOG***
version:
    [javac] C:\jitsi\build.xml:466: warning: 'includeantruntime' was
not set, defaulting to build.sysclasspath=last; set to false for
repeatable builds
    [javac] Compiling 3 source files to
C:\jitsi\resources\install\classes
     [echo] Jitsi version 1.1.0-0.build.by.SVN

load-properties:

build-installation-wix:

clean-install-windows:
   [delete] Deleting directory C:\jitsi\release\windows
    [mkdir] Created dir: C:\jitsi\release\windows
    [mkdir] Created dir: C:\jitsi\release\windows\tmp

build-installation-wix-base:
[propertyfile] Creating new property file:
C:\jitsi\release\windows\versionupdate.properties
    [mkdir] Created dir: C:\jitsi\release\windows\tmp\light
     [exec] rm.exe -f ../../../../resources/install/windows/config.h
     [exec] echo.exe -e '#define PRODUCTNAME "Jitsi"' >
/cygdrive/c/jitsi/release/windows/tmp/light/config.h
     [exec] C:/mingw/x86/bin/windres.exe
-I../../../../resources/install/windows
-IC:/jitsi/release/windows/tmp/light run.rc -O coff -o
C:/jitsi/release/windows/tmp/light/run.res
     [exec] Makefile:51: recipe for target
`/cygdrive/c/jitsi/release/windows/tmp/light/run.res' failed
     [exec] gcc: error: CreateProcess: No such file or directory
     [exec] C:\mingw\x86\bin\windres.exe: preprocessing failed.
     [exec] make: ***
[/cygdrive/c/jitsi/release/windows/tmp/light/run.res] Error 1
     [exec] Makefile:51: recipe for target
`/cygdrive/c/jitsi/release/windows/tmp/light/run.res' failed

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

Total time: 2 seconds
***LOG***

probably its simple but I cant find solution....
any help... plz...

Chris
.


#2

Hi there,

Please, try with this guide update.

Cheers,

Jitsi-BuildInstallerGuide.pdf (24 KB)

···

--
     --DAVID--

2012/8/22 <krzysztof@bakun.biz>:

Hello...
I'm trying to generate windows instaler...
im using windows 7 (x86) instaled on Virtual Box....
I do instructions from:
http://java.net/projects/jitsi/lists/users/archive/2012-03/message/31

Also try on windows XP... and... stick...
I've get this on "ant build-installation-wix" called on cygwin
terminal...

***LOG***
version:
    [javac] C:\jitsi\build.xml:466: warning: 'includeantruntime' was
not set, defaulting to build.sysclasspath=last; set to false for
repeatable builds
    [javac] Compiling 3 source files to
C:\jitsi\resources\install\classes
     [echo] Jitsi version 1.1.0-0.build.by.SVN

load-properties:

build-installation-wix:

clean-install-windows:
   [delete] Deleting directory C:\jitsi\release\windows
    [mkdir] Created dir: C:\jitsi\release\windows
    [mkdir] Created dir: C:\jitsi\release\windows\tmp

build-installation-wix-base:
[propertyfile] Creating new property file:
C:\jitsi\release\windows\versionupdate.properties
    [mkdir] Created dir: C:\jitsi\release\windows\tmp\light
     [exec] rm.exe -f ../../../../resources/install/windows/config.h
     [exec] echo.exe -e '#define PRODUCTNAME "Jitsi"' >
/cygdrive/c/jitsi/release/windows/tmp/light/config.h
     [exec] C:/mingw/x86/bin/windres.exe
-I../../../../resources/install/windows
-IC:/jitsi/release/windows/tmp/light run.rc -O coff -o
C:/jitsi/release/windows/tmp/light/run.res
     [exec] Makefile:51: recipe for target
`/cygdrive/c/jitsi/release/windows/tmp/light/run.res' failed
     [exec] gcc: error: CreateProcess: No such file or directory
     [exec] C:\mingw\x86\bin\windres.exe: preprocessing failed.
     [exec] make: ***
[/cygdrive/c/jitsi/release/windows/tmp/light/run.res] Error 1
     [exec] Makefile:51: recipe for target
`/cygdrive/c/jitsi/release/windows/tmp/light/run.res' failed

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

Total time: 2 seconds
***LOG***

probably its simple but I cant find solution....
any help... plz...

Chris