Hi Guys, I'm trying to access a custom table via a custom action. I found an article on the Internet (http://blogs.technet.com/alexshev/archive/2008/02/14/from-msi-to-wix-part-6-customizing-installation-using-custom-tables.aspx) but I get the Message
<Msi API Error: OpenView,Sql Line 10, Column 11> and don't know what to do with. So you see that my script don't like the OpenView-Method. I have no other idea... Greetings Thomas PS: Here is the code of my customaction: <CustomAction Id='LoadFeatureTable' Script='vbscript' > <![CDATA[ Dim Database Set Database = Session.Database If Database Is Nothing Then MsgBox "Error while loading Database" End If Dim View Set View = Database.OpenView("SELECT * FROM `CyberFeatures`") 'View.Execute 'Dim Record 'Set Record = View.Fetch 'If View Is Nothing Then 'MsgBox "Error while loading View" 'Set Database = Nothing 'EndIf 'Do Until Record Is Nothing 'MsgBox "ID: " & Record.StringData(1) & "\nSerial: " & Record.StringData(2) & "\nName: " & Record.StringData(3) 'Set Record = View.Fetch 'Loop ]]> </CustomAction> ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users