I thought that calling Session.Database would give me the database object for
the installation.  What is confusing to me is that
Session.Database.Tables.Count is returning 45, but iterating through
Session.Database.Tables is only showing me 12 tables.  I would expect to see
45 tables by iterating through.  Shouldn't I be able to see the other
tables, such as 'Control'?

In any event, DTF might just be the wrong technology for what I'm trying to
do.  I need to edit the MSI database dynamically at runtime, and it looked
like DTF would be good for that, but if I can only get the database in read
only mode, I'm going to just have to bite the bullet and use P/Invoke to do
my editing.

Short of recompiling the library to give me write access to the in-memory
database, is there a way I could get write access? 

Thanks.
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/DTF-Missing-Session-Tables-tp5071597p5073176.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to