Thanks Guys. So basically any change that I make during the patch is not going to be executed during patch uninstallation. I was thinking if I can set a property during patch uninstallation.
-----Original Message----- From: Wilson, Phil [mailto:phil.wil...@invensys.com] Sent: Tuesday, February 09, 2010 6:20 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Question regarding the behaviour of custom actions during patch uninstall There's a new feature in MSI 4.5 for this type of thing: http://msdn.microsoft.com/en-us/library/aa370739(VS.85).aspx http://blogs.msdn.com/windows_installer_team/archive/2008/03/25/windows-installer-4-5-servicing-enhancements-patch-uninstall-custom-actions.aspx Phil Wilson -----Original Message----- From: Tony Juricic [mailto:tjuri...@tradestation.com] Sent: Tuesday, February 09, 2010 3:12 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Question regarding the behaviour of custom actions during patch uninstall I believe so. Custom action are in MSI database which is transformed before the install/uninstall (really repair in the case of the patch) starts running custom actions. So during patch install you get patched actions executing. During uninstall you get unpatched action or no action executing because that is the state of the database before it was transformed by the patch. Now it got transformed back and it lost added custom actions. -----Original Message----- From: Anurag Pahwa [mailto:apa...@microsoft.com] Sent: Tuesday, February 09, 2010 4:37 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Question regarding the behaviour of custom actions during patch uninstall Hi, I've scenario where I've added a couple of custom actions as part of the patch and sequenced them in during install as well as the uninstall. Now during patch install the custom actions are executed properly but during patch uninstall none of the patched custom actions are executed. Is this by design? Thanks Anurag TradeStation Group, Inc. is a publicly-traded holding company (NASDAQ GS: TRAD) of three operating subsidiaries, TradeStation Securities, Inc. (Member NYSE, FINRA, SIPC and NFA), TradeStation Technologies, Inc., a trading software and subscription company, and TradeStation Europe Limited, a United Kingdom, FSA-authorized introducing brokerage firm. None of these companies provides trading or investment advice, recommendations or endorsements of any kind. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ 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 Portland House, Bressenden Place, London, SW1E 5BF (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 7821 3848 or e-mail inet.hqhelpd...@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). ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users