Session is an object not a Windows Installer table. Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that deserves attention? E-Mail Me
----- Original Message ---- From: Scott Davis <pseudon...@gmail.com> To: wix-users@lists.sourceforge.net Sent: Tue, May 18, 2010 2:06:44 PM Subject: [WiX-users] DTF: Missing Session Tables? I'm writing my first custom action using DTF from WiX 3.0.5419.0, and I'm having an interesting issue: it appears that all of the MSI tables are not accessible to my custom action. I'm using InstallShield 2010, and have set up the custom action to run as an MSI custom action. [CustomAction] public static ActionResult Testing(Session session) { foreach (TableInfo table in session.Database.Tables) { Debug.WriteLine(table.Name); } return ActionResult.Success; } The following tables are written: ActionText AdminExecuteSequence AdminUISequence AdvtExecuteSequence AdvtUISequence Property Binary File CheckBox Component Icon ComboBox Am I missing something here? Any query to a table not listed here throws an exception, as the table doesn't exist... Even more confusing - when I debug, session.Database.Tables.Count = 45. Thanks in advance, Scott -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/DTF-Missing-Session-Tables-tp5071597p5071597.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 ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users