Scott Davis
2010-05-18 19:06:44 UTC
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
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.
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.