;----------------------------------------------------------------------------
;--- We will look for "UPX.EXE", if we find it we will configure MAKEMSI ----
;--- to compress the generated DLL...                                    ----
;----------------------------------------------------------------------------
<$GetFullBuildTimeFileName RcVar="@@UpxFile" Macro="UPX.EXE"
File="upx.exe" MustExist="N">  ;;See "sundry.mmh"
#if [@@UpxFile = '']
    ;--- Non-fatal so we'll just tell user ----------------------------------
    #(
        #define+ DLLCA-C_COMPRESS_DLL_COMMAND_LINE      ;;Need to
OVERRIDE value (we couldn't do it earler or "GetFullBuildTimeFileName"
wouldn't exist!)
        echo INFO: DLL not being compressed (UPX.EXE not found)
    #)
#elseif
    ;--- "UPX.EXE" was found ------------------------------------------------
    #(
        ;--- Define the macro that MAKEMSI will use as required -------------
        #define+ DLLCA-C_COMPRESS_DLL_COMMAND_LINE      ;;Need to
OVERRIDE value (we couldn't do it earler or "GetFullBuildTimeFileName"
wouldn't exist!)

        ;--- I expect "upx.exe" to be in the "PATH" environment variable ----
        "<??@@UpxFile>"                                ;;Full name of
UPX.EXE (get from "http://upx.sourceforge.net/";)

        ;--- I want highest compression -------------------------------------
        --best

        ;--- Backup the DLL as a debugging aid... ---------------------------
        -k
    #)
#endif

On Thu, Dec 9, 2010 at 1:20 PM, Castro, Edwin G. (Hillsboro)
<edwin.cas...@fiserv.com> wrote:
> How exactly do you get MakeMSI to do use LZMA compression?
>
> I was intrigued by the question so I looked for and installed MakeMSI but I 
> can't find any references to LZMA compression.
>
> Edwin G. Castro
> Software Developer - Staff
> Electronic Banking Services
> Fiserv
> Office: 503-746-0643
> Fax: 503-617-0291
> www.fiserv.com
> Please consider the environment before printing this e-mail
>
>
>> -----Original Message-----
>> From: Alec Taylor [mailto:alec.tayl...@gmail.com]
>> Sent: Wednesday, December 08, 2010 5:53 PM
>> To: General discussion for Windows Installer XML toolset.
>> Subject: Re: [WiX-users] Using LZMA instead of default compression
>>
>> Is that how MakeMSI does it?
>>
>> I don't see why you can't implement upx into Burn...
>>
>> On Thu, Dec 9, 2010 at 3:56 AM, Pally Sandher <pally.sand...@iesve.com>
>> wrote:
>> > Been asked before (many many times, see nabble or mail-archive.com).
>> > Unless Windows Installer supports it, it's unlikely for WiX to support
>> > it. In this case you're limited by the Cabinet API if you want to ship
>> > purely MSI's. Cabinets are either LZX or MSZIP algorithm compression.
>> >
>> > If you want to implement something like LZMA yourself then you can do
>> > something like specifying no compression in your Media Elements & then
>> > compress the resulting MSI & CABs using a self-extractor. Burn & other
>> > bootstrappers may support something like that but WiX itself
>> > doesn't/can't.
>> >
>> > Palbinder Sandher
>> > Software Deployment & IT Administrator
>> > T: +44 (0) 141 945 8500
>> > F: +44 (0) 141 945 8501
>> >
>> > http://www.iesve.com
>> > **Design, Simulate + Innovate with the <Virtual Environment>**
>> > Integrated Environmental Solutions Limited. Registered in Scotland No.
>> > SC151456
>> > Registered Office - Helix Building, West Of Scotland Science Park,
>> > Glasgow G20 0SP Email Disclaimer
>> >
>> > -----Original Message-----
>> > From: Alec Taylor [mailto:alec.tayl...@gmail.com]
>> > Sent: 08 December 2010 16:32
>> > To: General discussion for Windows Installer XML toolset.
>> > Subject: [WiX-users] Using LZMA instead of default compression
>> >
>> > Hi
>> >
>> > I've been using MakeMSI for a while now, and it's great that it uses
>> > LZMA [through http://upx.sourceforge.net/], as it offers an excellent
>> > compressions ratio with a fast decompression.
>> >
>> > Can the same be done with WiX? - If so, how?
>> >
>> > Please tell me if this can be done
>> >
>> > Thank you,
>> >
>> > Alec Taylor
>> >
>> > ----------------------------------------------------------------------
>> > --
>> > ------
>> > This SF Dev2Dev email is sponsored by:
>> >
>> > WikiLeaks The End of the Free Internet
>> > http://p.sf.net/sfu/therealnews-com
>> > _______________________________________________
>> > WiX-users mailing list
>> > WiX-users@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/wix-users
>> >
>> >
>> >
>> > ----------------------------------------------------------------------
>> > -------- This SF Dev2Dev email is sponsored by:
>> >
>> > WikiLeaks The End of the Free Internet
>> > http://p.sf.net/sfu/therealnews-com
>> > _______________________________________________
>> > WiX-users mailing list
>> > WiX-users@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/wix-users
>> >
>>
>> ------------------------------------------------------------------------------
>> This SF Dev2Dev email is sponsored by:
>>
>> WikiLeaks The End of the Free Internet
>> http://p.sf.net/sfu/therealnews-com
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
> ------------------------------------------------------------------------------
> This SF Dev2Dev email is sponsored by:
>
> WikiLeaks The End of the Free Internet
> http://p.sf.net/sfu/therealnews-com
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

------------------------------------------------------------------------------
This SF Dev2Dev email is sponsored by:

WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to