Hi again, For the custom action, I put it in <InstallExecuteSequence>
And tried <Custom Action="UpgradeStopServices1" After="FindRelatedProducts">UPGRADINGPRODUCTCODE However, I got the error: error LGHT0204: ICE75: UpgradeStopServices1 is a custom action whose source is an installed file. It must be sequenced after the CostFinalize action in the InstallExecuteSequence Sequence table But if I change the After to CostFinalize, I got the error as my last email. It is strange. I have no idea how to set the "After". Regards, Chunyan -----Ursprüngliche Nachricht----- Von: Jiang, Chunyan (GE Healthcare) Gesendet: Donnerstag, 6. August 2009 17:31 An: General discussion for Windows Installer XML toolset. Betreff: [WiX-users] Do some Custom Actions during Upgrade Hi Wix-users, I have some Custom Actions, which should be called during Upgrade. Actually I want them to be called in the beginning of Upgrade, before remove files. So I set them as: <Custom Action="MyCA1" After="CostFinalize">UPGRADINGPRODUCTCODE</Custom> <Custom Action="MyCA2" After="MyCA1">UPGRADINGPRODUCTCODE</Custom> <Custom Action="MyCA3" After="MyCA2">UPGRADINGPRODUCTCODE</Custom> But when I ran .msi, as the custom actions started, one error message popped up: There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. I guess I call MyCAs in the wrong time. Is After="CostFinalize" wrong? What should I set here? Regards, Chunyan ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users