[Msi2xml-users] xml2msi: _Streams table contains non-unique primary keys
Brought to you by:
dgehriger
From: Jan H. <hi...@gm...> - 2003-07-02 12:13:34
|
Hello, What I am trying to do, is to replace a file of my Setup.msi with help of msi2xml and xml2msi. First I do a "msi2xml -b mybins -c mycabs Setup.msi" to extract the product's binaries. After replacing one of these files in the 'mybins' directory, I do a "xml2msi -m Setup.xml" to re-create Setup.msi. But xml2msi gives the following error message: The table contains non-unique primary keys Location: table "_Streams", row 1 The _Streams table in the .xml looks like this: <table name="_Streams"> <col key="yes" def="s62">Name</col> <col def="V0">Data</col> <row> <td>Cabs.w1.cab</td> <td href="media:Cabs.w1.cab"/> </row> </table> If I delete the <row>[...]</row> part of the table, creation of the .msi works fine, the modified file has been correctly replaced inside the .msi. What am I doing wrong here? How to avoid this error? Thanks in advance, Jan |