PDA

View Full Version : Reading the contents of an MSI



Lewis99
07-18-2008, 10:24 AM
Is it possible to read the contents of files back from an MSI? I was planning to use a DTF CA but I am fairly new to this so perhaps there is another way.

Basically I want to read the contents of a config.exe .NET config file into properties at the start of the install and write back any changes to the installed file at the end. Ideally I'd like to be able to read the configuration file back out of the MSI to guarantee that I'm always starting with the file that will eventually be installed. I should also point out that I'm using Dynamic File Linking so am unable to look at the file via Installshield.

Please help and thanks in advance!

rasky74
07-25-2008, 08:26 AM
Dump the file down as a Support File and use the xml System Search to read it into properties.