ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47254] New: switch between light.exe and lit.exe
Date Fri, 22 May 2009 21:43:16 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47254

           Summary: switch between light.exe and lit.exe
           Product: Ant
           Version: 1.0
          Platform: PC
        OS/Version: Windows Server 2003
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: .NET Antlib
        AssignedTo: notifications@ant.apache.org
        ReportedBy: zhihengz@hotmail.com


Created an attachment (id=23707)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23707)
Patched WixTask java source file

When customizing the wix ui library, lit.exe instead of light.exe are used to
produce a wix library instead of a msi binary. for example:

candle.exe MyWixUI_InstallDir.wxs ....
lit.exe -out MyWixUI_InstallDir.wixlib MyWixUI_InstallDir.wixobj ...

lit is almost same as light except it used to produce library, not msi final
binary.

There is no need to write a task for lit only since very likely it used in same
way as light, so here is the proposal to have a lit attribute in wix task, by
default it is false, means light.exe will be invoked, when set to true, it will
invoke lit instead.

<dn:wix target="MyWixUI_InstallDir.wixlib"
        lit="true"
        wixhome="${wix.home}">
      <sources dir="src" includes="*.wxs"/>
</dn:wix>

a patched version of WixTask is attached for reference.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message