Ref: http://msdn.microsoft.com/en-us/library/aa368060(VS.85).aspx -- SDK documentation pertaining to this issue.
Where the rubber then meets the road [within WiX] is within your directory elements...if you have any file additions / removals within your directory table, that impacts file sequencing. [File sequencing can also be impacted based upon what version of .NET is loaded (many scars involved in that one)]. Sometimes, you can get by with using DirectoryRef elements for the file additions. If you have any merge modules outside of your control that added / removed files, you're close to being hosed. There are also some patch enhancements that were made within WiX to better assist with these types of issues (my knowledge of WiX 2.0 is getting shady, been in WiX 3.x for quite some time) using such tools as Torch and Pyro (not sure if they are available in Wix 2.0.5805.0 or not). If you're using the WI SDK way of building patches (Patchwiz, admin installs, etc...) and using DirectoryRef doesn't get the job done for you, you can author a process that 'fixes' the file sequencing between your two admin installs prior to patch generation. That's what I resorted to due to the .NET item I referenced earlier. -----Original Message----- From: Gareth [mailto:gmor...@serif.com] Sent: Wednesday, February 25, 2009 10:59 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Re-ordered cab files Using Wix 2.0.5805.0, I have a package that creates 3 cab files; 2 for general compressed files and the 3rd for merge modules. I need to patch this package with a couple of new files, which I have added to a newly defined 4th cab so as not to add any files to existing cabs and thus transforming the media table unnecessarily during the patching process. However, despite all my best efforts, the 3rd cab containing the merge modules is re-ordering despite containing the exact same files. As such, after using the patch, the installation cannot repair itself because it can't find the files in the right place within the patch. If I comment out the added files, the file sequence is unchanged and the 3rd cab is in the original order as desired. Can anyone shed some light on this phenomenon? -- View this message in context: http://n2.nabble.com/Re-ordered-cab-files-tp2384834p2384834.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users