Is UnInstallPatchFeatures in the patch or in the baseline MSI? Unless you are using MSI 4.5 or later, nothing in the patch is visible when the patch is removed (since the patch's view is completely removed).
If you are using MSI 4.5 or later, you can set the PatchUninstall='yes' attribute on the CustomAction element to get the behavior described in the following MSDN page: http://msdn.microsoft.com/library/bb736308.aspx -----Original Message----- From: Sandeep Kumar Bushnam (Wipro Ltd.) [mailto:v-san...@microsoft.com] Sent: Friday, January 08, 2010 12:52 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to uninsatll Patch which contains Cutom Action. Hi, I 'm creating a path using Purly WIX Patch approach . In that I have one custom action which I'm executing on install and another on uninstall of the patch. But while uninstalling the patch the second custom action is not called. Can someone help me in fixing this issue. On Patch Install I'm calling below Custom Action <Custom Action="InstallPatchFeatures" After="InstallFinalize" ></Custom> On Patch UnInstall I have to call below Custom Action <Custom Action="UnInstallPatchFeatures" Before="InstallFinalize" >PATCHFOUND</Custom> Any help is hightly appreciated. Thanks, Sandeep. ---------------------------------------------------------------------------- -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users