Hi,

During patch removal I need to retrieve some properties of the Patch being
removed. For this purpose I created immidiate Custom action with flag
msidbCustomActionTypePatchUninstal.

In this action I try to query table MsiTransformView<PatchGuid> for values
of some properties but the query fails with "Bad query syntax" error. The
query I use is "SELECT Data FROM MsiTransformView<PatchGuid> WHERE
`Table`='Property'.

After some investigation it turns out that the table
MsiTransformView<PatchGuid> is created without column names. (The function
MsiViewGetColumnInfo(..., MSICOLINFO_NAMES,...) that being run on view
created with query SELECT * form MsiTransformView<PatchGuid> returns record
with 5 empty fields).

So my questions are:
1. Did somebody face the same problem?
2. Is there a confirmed defect from Microsoft?
3. Is there any possibility to query data with direct query or every time
all records form the table should be cycled?

Thank you.

-- 
Regards,
Fyodor Koryazhkin..
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to