[sip-comm-dev] PROBLEMS with build-installation-wix


#1

Hi guys,

I'm trying to generate a windows installer with build-installation-wix but
it doesn't work.
Could you help me?

Thanks you,

···

====================================================================================================================

Buildfile: C:\************\trunk\build.xml

-pre-version:

version:
    [javac] C:\************\trunk\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:\************\trunk\classes
     [echo] SIP Communicator version 1.0-alpha6-0.build.by.SVN

load-properties:

build-installation-wix:

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

define-jsmooth-task:

windows-generate-exe:

build-installation-wix-base:
[propertyfile] Creating new property file:
C:\************\trunk\release\windows\versionupdate.properties
    [mkdir] Created dir: C:\************\trunk\release\windows\tmp\light
     [copy] Copying 4 files to
C:\************\trunk\release\windows\tmp\light
    [mkdir] Created dir: C:\************\trunk\release\windows\tmp\light\lib
     [copy] Copying 5 files to
C:\************\trunk\release\windows\tmp\light\lib
    [mkdir] Created dir:
C:\************\trunk\release\windows\tmp\light\lib\bundle
     [copy] Copying 3 files to
C:\************\trunk\release\windows\tmp\light\lib\bundle
    [mkdir] Created dir:
C:\************\trunk\release\windows\tmp\light\native
     [copy] Copying 39 files to
C:\************\trunk\release\windows\tmp\light\native
    [mkdir] Created dir:
C:\************\trunk\release\windows\tmp\light\sc-bundles
     [copy] Copying 97 files to
C:\************\trunk\release\windows\tmp\light\sc-bundles
     [copy] Copying 1 file to
C:\************\trunk\release\windows\tmp\light

     [exec] heat.exe : warning HEAT5150 : Could not harvest data from a file
that was expected to be a SelfReg DLL:
C:\************\trunk\release\windows\tmp\light\native\jawtrenderer.dll. If
this file does not support SelfReg you can ignore this warning. Otherwise,
this error detail may be helpful to diagnose the failure: Unable to load
file:
C:\************\trunk\release\windows\tmp\light\native\jawtrenderer.dll,
error: 126.
     [exec] heat.exe : warning HEAT5150 : Could not harvest data from a file
that was expected to be a SelfReg DLL:
C:\************\trunk\release\windows\tmp\light\native\jdic_misc.dll. If
this file does not support SelfReg you can ignore this warning. Otherwise,
this error detail may be helpful to diagnose the failure: Unable to load
file: C:\************\trunk\release\windows\tmp\light\native\jdic_misc.dll,
error: 126.
     [exec] heat.exe : warning HEAT5150 : Could not harvest data from a file
that was expected to be a SelfReg DLL:
C:\************\trunk\release\windows\tmp\light\native\jmfjawt.dll. If this
file does not support SelfReg you can ignore this warning. Otherwise, this
error detail may be helpful to diagnose the failure: Unable to load file:
C:\************\trunk\release\windows\tmp\light\native\jmfjawt.dll, error:
126.

     [xslt] Processing C:\************\trunk\release\windows\tmp\heat.wxs to
C:\************\trunk\release\windows\tmp\component-defines.wxi
     [xslt] Loading stylesheet
C:\************\trunk\resources\install\windows\heat-component-defines.xsl
     [xslt] Processing C:\************\trunk\release\windows\tmp\heat.wxs to
C:\************\trunk\release\windows\tmp\component-refs.wxi
     [xslt] Loading stylesheet
C:\************\trunk\resources\install\windows\heat-component-refs.xsl
     [copy] Copying 4 files to C:\************\trunk\release\windows\tmp
     [exec] installer-windows.wxs
     [copy] Copying 3 files to
C:\************\trunk\release\windows\tmp\light
     [exec]
C:\************\trunk\release\windows\tmp\installer-windows.wxs(112) :
warning LGHT1079 : The cabinet 'Data1.cab' does not contain any files. If
this installation contains no files, this warning can likely be safely
ignored. Otherwise, please add files to the cabinet or remove it.
     [exec]
C:\************\trunk\release\windows\tmp\installer-windows.wxs(30) :
warning LGHT1076 : ICE61: This product should remove only older versions of
itself. The Maximum version is not less than the current product. (0.0.0.0
0.0.0.0)
     [copy] Copying 1 file to C:\************\trunk\release\windows\tmp
     [exec]
     [exec] Modifying setup properties in:
     [exec] <C:\************\trunk\release\windows\tmp\setup.exe>
     [exec]
     [exec] Setting 'MINIMUM_MSI' to '200' . . .
     [exec] Setting 'PRODUCTNAME' to 'SIP Communicator' . . .
     [exec] Setting 'OPERATION' to 'INSTALL' . . .
     [exec] Setting 'DATABASE' to 'setup.msi' . . .
     [exec] Skipping invalid option b . . .
     [copy] Copying 1 file to C:\************\trunk\release\windows
     [exec] Microsoft (R) Manifest Tool version 5.2.3790.2075
     [exec] Copyright (c) Microsoft Corporation 2005.
     [exec] All rights reserved.
   [delete] Deleting directory
C:\************\trunk\release\windows\tmp\light
   [delete] Deleting directory C:\************\trunk\release\windows\tmp

BUILD SUCCESSFUL
Total time: 42 seconds

=================================================================================================================

When I try execute the sip-communicator installer, a window pop up and...

ERROR-> Setup was enable to find the msi package or patch
'C:\*****\trunk\release\windows\setup.msi


#2

The warning above leads me to believe that the same problem has been
discussed and resolved at
https://sip-communicator.dev.java.net/servlets/ReadMsg?listName=dev&msgNo=6368

···

On Tue, Jan 4, 2011 at 6:03 PM, Xurxo Cid Freire <xucid86@gmail.com> wrote:

C:\************\trunk\release\windows\tmp\installer-windows.wxs(112) :
warning LGHT1079 : The cabinet 'Data1.cab' does not contain any files. If
this installation contains no files, this warning can likely be safely
ignored. Otherwise, please add files to the cabinet or remove it.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#3

The warning above leads me to believe that the same problem has been
discussed and resolved at https://sip-
communicator.dev.java.net/servlets/ReadMsg?listName=dev&msgNo=6368

Problem is: this old version of WiX is no longer available.

I managed to get a build using a current version with the changes mentioned in
https://sip-communicator.dev.java.net/servlets/ReadMsg?listName=dev&msgNo=10009

Ingo

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#4

Support for the latest available WiX 3.0 has been committed in r8190.