[Msi2xml-users] RE: Msi2xml great tool but where does it store the files?
Brought to you by:
dgehriger
From: Daniel G. <geh...@li...> - 2002-10-28 10:07:06
|
Strange... What version are you using ? Could you send me the .msi (a URL would be best) and the command line argument use used ? Regards, Daniel > -----Original Message----- > From: Tobias Eriksson [mailto:tob...@co...]=20 > Sent: Monday, October 28, 2002 11:02 AM > To: Daniel Gehriger > Subject: RE: Msi2xml great tool but where does it store the files? >=20 >=20 > Hi Daniel, > Thanx for the fast response, but if I look in my file there=20 > is a _Streams tag (table) but it looks like this: >=20 > <table name=3D"_Streams"> > <col key=3D"yes" def=3D"s62">Name</col> > <col def=3D"V0">Data</col> > </table> >=20 > I was not able to find any 'cab' entries in the XML file=20 > either, I tried 'grep -i cab flexlm.xml' on my unix machine.=20 > What am I missing here? >=20 >=20 > Regards > Tobias >=20 > Tobias Eriksson > ComOpt AB > Michael L=F6fmans gata 6 > 254 38 Helsingborg, Sweden > Direct: +46 42 389918 > Phone: +46 42 389900 > e-mail: Tob...@co... >=20 >=20 > -----Original Message----- > From: Daniel Gehriger [mailto:geh...@li...]=20 > Sent: 28 October 2002 10:40 > To: Tobias Eriksson > Cc: msi...@li... > Subject: RE: Msi2xml great tool but where does it store the files? >=20 >=20 > Tobias, >=20 > Unless you use the "-b" switch on msi2xml, all binary data is=20 > stored as a base64 encoded character stream (similar as=20 > attachments in e-mail > messages) right in the XML file.=20 >=20 > The installation files are usually compressed into CAB files.=20 > These CAB files are stored as so-called binary streams in the=20 > MSI file. MSI2XML dumps all binary streams at the very bottom=20 > of the XML file in a table with name "_Streams". If, however,=20 > a table exists whose name matches the first part of the=20 > identifier of such a stream (eg. Table "Cabs", stream id=20 > "Cabs.SomeName.cab"), then the stream will be dumped right in=20 > that table and ommited from the _Streams table. This behavior=20 > reflects . >=20 > I usually use the "-b" switch, which does not store the data=20 > in the XML file, which can get huge. Rather it extracts all=20 > binary data to the specified folder and just includes a link=20 > to the data in the XML file (href=3D"SomeName.cab"). You then=20 > can modify the data and XML2MSI will include it in the=20 > generated MSI file.=20 >=20 > As I'm writing this, I'm adding yet another option ("-c"),=20 > which not only extracts the binary data, but also further=20 > extracts the compressed files from the stored CABs. XML2MSI=20 > then first compresses the files into CABs, then stores the=20 > CABs in the MSI file. This makes automating build processes=20 > yet easier. I'll post an update later that week. >=20 > Regards, >=20 > Daniel >=20 >=20 > > -----Original Message----- > > From: Tobias Eriksson [mailto:tob...@co...] > > Sent: Monday, October 28, 2002 10:19 AM > > To: geh...@li... > > Subject: Msi2xml great tool but where does it store the files? > >=20 > >=20 > > Hi > > I found your tool on SourceForge and thought it was the=20 > greatest, as > > I've been browsing through the XML file, I just don't=20 > understand where >=20 > > the actual files are stored. So the questions is thus where=20 > in the XML >=20 > > are the files stored? > >=20 > > Thanx for a GREAT tool > > Tobias > >=20 > > Tobias Eriksson > > ComOpt AB > > Michael L=F6fmans gata 6 > > 254 38 Helsingborg, Sweden > > Direct: +46 42 389918 > > Phone: +46 42 389900 > > e-mail: Tob...@co... > >=20 >=20 |