First:
Load your MSI into Orca, then apply your MSP (in Orca) and look at the Patch
table. Are there entries in there for files that you don't think you
changed? Look in the File table. Did the sequence number change on any files
you don't think you changed?

If you have a decent XML editor/viewer, look at the wixmst file you passed
to pyro (that you generated using torch). Look for the WixFile table and
find the Source values in each row. Is the value of the field element
containing the path to the file (the seventh element in each row) the same
as the value of that element's previousData attribute? If not, compare the
files in both locations to ensure they are really byte-for-byte the same.

Non-PE files (including PE+ files) don't parse well in extracting their
binary differences (and often will end up being "whole-file" imports). Even
PE files may not parse well if you don't supply the PDB files for those
binaries (in both the baseline and the upgraded authoring). Those PDB files
do make a difference in minimizing the patch sizes of binary files.

Also, the MSP format itself has a fair bit of "overhead". I forget the
minimum MSP file size I was able to generate, but I do remember it was
larger than I first though it should be.

-----Original Message-----
From: nearnick [mailto:n...@nearglobal.com] 
Sent: Tuesday, October 20, 2009 7:53 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Patches way too big


Hi
I am creating patches from 2 installers, based on their wixpdbs. The
installer I am creating is already a beastly 170+MB. When patching between
the versions, even though the difference between the source directories is
only a modification to a couple of dlls and an additional little text file,
the patch file that gets created is about 150MB! This is with using the
'-delta' flag with 'pyro.exe'. Surely I am doing something very wrong? 
My wix patch description file is based on the simple examples about with a
'ComponentRef' for each component in the package. 
Does anyone have any guesses / advice on what i am doing wrong or how i
could investigate?
Cheers 
-- 
View this message in context:
http://n2.nabble.com/Patches-way-too-big-tp3859058p3859058.html
Sent from the wix-users mailing list archive at Nabble.com.

----------------------------------------------------------------------------
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to