What error code is your MyCA1 returning? And why? -----Original Message----- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Friday, August 07, 2009 6:38 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] WG: WG: Do some Custom Actions during Upgrade
I tried something more: set the first Custom Action as, <Custom Action="MyCA1" After="InstallFinalize">UPGRADEFOUND</Custom> The other CAs are same. It can pass compile. But when I install the msi, I still get the error message box "A program run as part of the setup did not finish as expected", like the first email. Furthermore, there is new software installed in Software control panel, which is not I want. I only want to upgrade it. How to resolve this problem? Thanks in advance! Chunyan -----Ursprüngliche Nachricht----- Von: Jiang, Chunyan (GE Healthcare) Gesendet: Freitag, 7. August 2009 10:04 An: General discussion for Windows Installer XML toolset. Betreff: [WiX-users] WG: Do some Custom Actions during Upgrade 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 ---------------------------------------------------------------------------- -- 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