[WiX-users] Database Update

2011-03-18 Thread Dick Van den Brink
eforge.net > Date: Fri, 18 Mar 2011 11:37:00 +0100 > Subject: [WiX-users] Database Update > > > Hi guys, > > > I’m > creating a custom action which tries to insert a row in the IniFile table. > > > When > executing this code, an exception occurs: > > T

[WiX-users] Database Update

2011-03-18 Thread Dick Van den Brink
Hi guys, I’m creating a custom action which tries to insert a row in the IniFile table. When executing this code, an exception occurs: TableInfo info = session.Database.Tables["IniFile"]; Record record = session.Database.CreateRecord(info.Columns.Count); record.FormatString = info.Columns