Thanks Heath, but unfortunately wix 3.0 Patch does not seem to support patching files from MSMs ( http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg12785.html ) and going to wixlibs from MSM now means a complete overhaul of setup. I am pretty sure something has changed on our build system or in Wix code and debugging the light may give some idea..
Thanks and Regards, Sandip From: Heath Stewart Sent: Wednesday, June 18, 2008 1:17 PM To: Sandip Shahane; WiX-users@lists.sourceforge.net Cc: Anandha Ganesan Subject: RE: file sequencing I recommend using the new patching built into WiX v3. See the documentation for the Patch element. There’s also some examples of building a patch using this new infrastructure in wix.chm. In this case, maintaining file sequences doesn’t matter. Heath Stewart Deployment Technology Group, Microsoft http://blogs.msdn.com/heaths From: Sandip Shahane Sent: Wednesday, June 18, 2008 12:13 PM To: WiX-users@lists.sourceforge.net Cc: Heath Stewart; Anandha Ganesan Subject: file sequencing Hello, I am facing a strange issue here and any help to figure out what is happening will be greatly appreciated. We released our product SP1 (build 6.0.6278.0000) and then started work on SP2 build after few builds I noticed the file sequencing has changed in the File table. Tracing back to old builds the number of files and sequence till SP2 build 6.0.6316 was exactly same as that released SP1 build, but the filesequence suddenly changed in build 6.0.6317, though the number of files were same in this build. Looking at our source code there has not been any change in the wix scripts ( no new files, removal of files, re-org or anything ) that could have affected the file ordering in File table. We are using Wix to build the MSIs (candle and light versions is 2.0.4409.0 ) Is there any reason why this sudden change of file ordering might have happened and any work around for this? (We did not either change the wix toolset between these builds.) Looking at the wix code base looks like the rows are created and maintained using ICollection typed object (for e.g. FileMediaInformationCollection) and I suspect either sorting mechanism in wix or .net implementation can affect this change in behavior (or I could be missing something here). As a result of this when we create a patch with delta between SP1 and SP2 it gives error 1334 during patch application. We faced this issue earlier and it was because we had mistakenly added files in existing mergemodule and in the same media; adding files to separate merge modules and on different media had restored the file sequencing. But this time we have not added any file to the MSI. Using patch group can preserve the file sequence but I read on this group that patch groups does not help for file sequencing in case we are using merge modules and we in this case I am using merge modules here. Any pointers to solve this or explaining how file sequencing works ( or if you can point to the code) would be greatly appreciated. Thanks, Sandip ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users