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

Reply via email to