[jitsi-dev] how to build one installer for windows


#1

Hello guys!
I am a developer interested in Jitsi, it's great!!!
I did some graphical customizations and I can build and run the project
successfully under NetBeans.
Now I would like to generate one installer for windows.
How can I do with the ant targets defined in /resources/install/build.xml?

I installed izpack, make for windows, cygwin and mingw. But I have a problem
on line 45 of /src/native/windows/runMakefile. It seems something related to
cygwin.
The message is:

build-installation-wix-base:
Creating new property file:
C:\UC\sip-communicator-1.0b1.3455\release\windows\versionupdate.properties
Created dir: C:\UC\sip-communicator-1.0b1.3455\release\windows\tmp\light
makefile:45: *** target pattern contains no `%'. Stop.
C:\UC\sip-communicator-1.0b1.3455\resources\install\build.xml:295: The
following error occurred while executing this line:
C:\UC\sip-communicator-1.0b1.3455\resources\install\build.xml:397: exec
returned: 2

Can I avoid to recompile the native libraries? I am only interested in doing
some experiment on the user interface.

Can you help me guys?

Best regards.


#2

Now I would like to generate one installer for windows.
How can I do with the ant targets defined in /resources/install/build.xml?

Execute a build-installation-wix target appropriate to the Windows
architecture of choice.

I installed izpack

IzPack is no longer used.

make for windows, cygwin and mingw. But I have a problem
on line 45 of /src/native/windows/runMakefile. It seems something related to
cygwin.
The message is:

build-installation-wix-base:
Creating new property file:
C:\UC\sip-communicator-1.0b1.3455\release\windows\versionupdate.properties
Created dir: C:\UC\sip-communicator-1.0b1.3455\release\windows\tmp\light
makefile:45: *** target pattern contains no `%'. Stop.

It likely means that you're either not executing the
build-installation-wix target under Cygwin or you've specified a path
using the Windows path character instead of the UNIX one (i.e. you
should better write, for example, C:/PROGRA~1/WiX instead of
C:\Program Files\WiX).

Can I avoid to recompile the native libraries? I am only interested in doing
some experiment on the user interface.

The native libraries are not being recompiled during the execution of
build-installation-wix, a few executables such as run.exe and
setup.exe are and their recompilation is mandatory.

···

2011/5/12 Giorgio Chiriacò <giorgio.chiriaco@gmail.com>:


#3

Hello guys,

first of all thank you very much Lyubomir Marinov for the tips. They were
very useful for me, so the problem i described in the previous email, with
line 45 of /src/native/windows/runMakefile, is resolved for me.

But now i have another problem with the build, executing the command
${wix.home}/heat.exe, in the target "build-installation-wix-base".
The message is: "exec returned: -1073741515".
It looks like another problem related to compilation, but i am not sure.

Now my environment is:
Windows Xp Professional
Cygwin with make (last version)
MinGw (last version)
Wix3

I start "ant build-installation-wix" under the cygwin console.

Do you think that it may be a problem related to a corruption of my
environment?
Can you tell me what is the best configuration (tools and their version) to
build one installer for windows?

Thank you in advance,
Giorgio

···

2011/5/12 Lyubomir Marinov <lubo@jitsi.org>

2011/5/12 Giorgio Chiriacò <giorgio.chiriaco@gmail.com>:
> Now I would like to generate one installer for windows.
> How can I do with the ant targets defined in
/resources/install/build.xml?

Execute a build-installation-wix target appropriate to the Windows
architecture of choice.

> I installed izpack

IzPack is no longer used.

> make for windows, cygwin and mingw. But I have a problem
> on line 45 of /src/native/windows/runMakefile. It seems something related
to
> cygwin.
> The message is:
>
> build-installation-wix-base:
> Creating new property file:
>
C:\UC\sip-communicator-1.0b1.3455\release\windows\versionupdate.properties
> Created dir: C:\UC\sip-communicator-1.0b1.3455\release\windows\tmp\light
> makefile:45: *** target pattern contains no `%'. Stop.

It likely means that you're either not executing the
build-installation-wix target under Cygwin or you've specified a path
using the Windows path character instead of the UNIX one (i.e. you
should better write, for example, C:/PROGRA~1/WiX instead of
C:\Program Files\WiX).

> Can I avoid to recompile the native libraries? I am only interested in
doing
> some experiment on the user interface.

The native libraries are not being recompiled during the execution of
build-installation-wix, a few executables such as run.exe and
setup.exe are and their recompilation is mandatory.


#4

As far as googling got me, that means "The application failed to
initialize properly". You likely have to extract the WiX 3.5 ZIP
distribution in C:\Program Files\WiX and not use their setup.

···

2011/5/18 Giorgio Chiriacò <giorgio.chiriaco@gmail.com>:

The message is: "exec returned: -1073741515".