Hi,
I was trying to read the Registry Key value of MSI. Below is the code I used
for the same:
object[] o = null;
IList resultRegisteries = database.ExecuteQuery("Select Key FROM Registry", o);
On executing this code, I am getting the following exception:
SQL query syntax invalid or unsupported. Database:
D:\Projects\msiContents\AdobeReader_930\Package\AcroRead.msi. Column
'[Registry]' not present or ambiguous in SQL query: Select [Registry],[Key]
FROM Registry.
But I am able to read all the values of the Registry table (including the
values of Column 'Key') using the below code.
IList resultRegisteries = database.ExecuteQuery("Select * FROM Registry", o);
I understand that I am missing something on the syntax.
Can someone tell me the right syntax?
Appreciate your help.
Thanks,
Subhasree
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users