Hi Wix-users, I have one Custom Action, which should be called during upgrade. I called it as: <Custom Action="UpgradeStopServices1" After="CostFinalize">PREVIOUSFOUND</Custom>
But there is error in installation log, when I upgrade the msi: MSI (s) (F8:78) [12:59:27:612]: Doing action: UpgradeStopServices1 Action 12:59:27: UpgradeStopServices1. Action start 12:59:27: UpgradeStopServices1. MSI (s) (F8:78) [12:59:27:956]: Note: 1: 1722 2: UpgradeStopServices1 3: d:\VP6Wix\VPCommon\tao_imr.exe 4: tao_imr -ORBInitRef ImplRepoService=file::/Locator.ior shutdown VPWEBSERVER MSI (s) (F8:78) [12:59:27:956]: Note: 1: 2205 2: 3: Error MSI (s) (F8:78) [12:59:27:956]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1722 Error 1722. 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. Action UpgradeStopServices1, location: d:\VP6Wix\VPCommon\tao_imr.exe, command: tao_imr -ORBInitRef ImplRepoService=file::/Locator.ior shutdown VPWEBSERVER MSI (s) (F8:78) [12:59:33:362]: Note: 1: 2205 2: 3: Error MSI (s) (F8:78) [12:59:33:362]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709 MSI (s) (F8:78) [12:59:33:362]: Product: VP6 Wix -- Error 1722. 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. Action UpgradeStopServices1, location: d:\VP6Wix\VPCommon\tao_imr.exe, command: tao_imr -ORBInitRef ImplRepoService=file::/Locator.ior shutdown VPWEBSERVER Is there something wrong with After="CostFinalize"? 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