MsiEnumPatchesEx() would be the correct way. If you're a C# addict you'd need to p/invoke. There are probably WMI equivalents somewhere too, but I think that's Win32_Patch, not QFE.
http://msdn.microsoft.com/en-us/library/aa370100(v=VS.85).aspx Phil Wilson -----Original Message----- From: Uwe Ernst [mailto:uwe.er...@gmail.com] Sent: Tuesday, February 08, 2011 12:44 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] How do i find a WiX created Patch from c# source code Hello, i've created am *.msp patch file to update one or two files in my installer project. The execution of the patch succeedes and i can see an new entry in the software update list under windows7. Now i want to search the installed patch via an application written in C#. I've tried to search the patch via an query to the Win32_QickFixEngineering class with no result. A search to the Registry to the HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ path brings no result except the base software version. Can someone please point me to right direction where to search further. Regards Uwe Ernst ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77. You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail recept...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users