Aha! From http://upx.sourceforge.net/

" UPX achieves an excellent compression ratio and offers very fast 
decompression. Your executables suffer no memory overhead or other drawbacks 
for most of the formats supported, because of in-place decompression."

There we go, it has in-place decompression so you don't need to decompress 
anything prior to use or after installation. That's a very interesting feature.

I haven't found any reference that shows MakeMSi using upx.exe for regular 
installed files yet. If you do find one let me know. This is quite interesting.

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: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com]
> Sent: Thursday, December 09, 2010 11:59 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Using LZMA instead of default compression
> 
> Interesting. I did a little more digging and found this:
> 
> http://dennisbareis.com/makemsi-manual/dllca_c.htm
> 
> It suggests that upx.exe is used only to compress dll custom actions residing
> in the Binary table.
> 
> I still don't see anything specifically that knows how to decompress the dll
> prior to calling the custom action so I need to do more research to figure out
> how this all works.
> 
> I think it is safe to say though that regular installed files do not get
> compressed with upx.exe.
> 
> Edwin G. Castro
> Software Developer - Staff
> Electronic Banking Services
> Fiserv
> Office: 503-746-0643
> Fax: 503-617-0291
> www.fiserv.com
> P Please consider the environment before printing this e-mail
> 
> 
> > -----Original Message-----
> > From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com]
> > Sent: Thursday, December 09, 2010 11:07 AM
> > To: General discussion for Windows Installer XML toolset.
> > Subject: Re: [WiX-users] Using LZMA instead of default compression
> >
> > If I'm reading this right, upx.exe is getting used at build time to
> > compress the file but the compressed file will then get stuffed into a
> > cab anyway (because that's what Windows Installer requires). Perhaps
> > MakeMSI is not compressing the cab and using it strictly as a container.
> >
> > You could simulate this by updating your build process to call upx.exe
> > for the appropriate files at build time (some time before you call
> > light.exe) and then specify that the Media (cab) not use compression
> > (double compression typically results in more disk space consumption).
> > You'll need to decompress the files after they are installed with a custom
> action.
> >
> > Supporting something like this in WiX should not be impossible but I
> > think it will be highly unlikely to be supported as this will require
> > a custom action to decompress the files after they are installed.
> >
> > Edwin G. Castro
> > Software Developer - Staff
> > Electronic Banking Services
> > Fiserv
> > Office: 503-746-0643
> > Fax: 503-617-0291
> > www.fiserv.com
> > P Please consider the environment before printing this e-mail
> >
> >
> > > -----Original Message-----
> > > From: Alec Taylor [mailto:alec.tayl...@gmail.com]
> > > Sent: Wednesday, December 08, 2010 9:46 PM
> > > To: General discussion for Windows Installer XML toolset.
> > > Subject: Re: [WiX-users] Using LZMA instead of default compression
> > >
> > > ;-------------------------------------------------------------------
> > > --
> > > -------
> > > ;--- 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
> > > > P 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
> > ----------------------------------------------------------------------
> > -------- _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> ------------------------------------------------------------------------------
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to