Windows Installer knows nothing about .NET, so the real question is whether you are returning one of the documented results according to the INSTALL_UIHANDLER documentation, and which one Dialogresult.Retry (4) maps to. Phil
________________________________________ From: CristianG [cristian.gherghine...@gmail.com] Sent: Friday, April 09, 2010 1:41 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Retry at RMFilesInUse an invalid return value ? Hi, I have a small setup that uses Embedded UI. During uninstall the RMFilesInUse (I just start an executable that was installed) message type gets to the embedded UI and I return DialogResult.Retry . I would expect the unistall to try again and check if the file is still in use. If it is still in use then the RMFilesInUse message getting back again. However the uninstallation fails. I noticed that this happens on Win7 (probably Vista) but not on XP. On XP after Retry it continues with the uninstallation. In the log (Win7) below it says that Retry is an invalid return value for this message. Does anyone have any idea of how the Retry is working under Embedded UI for RMFilesInUse ? Thanks. MSI (s) (50:30) [11:10:40:681]: RESTART MANAGER: Will attempt to shut down and restart applications in no UI modes. MSI (s) (50:30) [11:10:40:681]: Note: 1: 2205 2: 3: Error MSI (s) (50:30) [11:10:40:681]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1607 MSI (s) (50:30) [11:10:40:681]: Note: 1: 2205 2: 3: Error MSI (s) (50:30) [11:10:40:681]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1607 MSI (s) (50:2C) [11:11:53:335]: EEUI - Invalid return value 4 for message type 419430400. MSI (s) (50:2C) [11:11:53:335]: EEUI - Embedded UI Handler returned ERROR_INSTALL_FAILURE MSI (s) (50:30) [11:11:53:359]: Note: 1: 1725 MSI (s) (50:30) [11:11:53:359]: Note: 1: 2205 2: 3: Error MSI (s) (50:30) [11:11:53:359]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1725 MSI (s) (50:30) [11:11:53:359]: Note: 1: 2205 2: 3: Error MSI (s) (50:30) [11:11:53:359]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709 MSI (s) (50:30) [11:11:53:359]: Product: SampleWIX -- Removal failed. MSI (s) (50:30) [11:11:53:360]: Windows Installer removed the product. Product Name: SampleWIX. Product Version: 1.0.0.0. Product Language: 1033. Manufacturer: SampleWIX. Removal success or error status: 1603. -- View this message in context: http://n2.nabble.com/Retry-at-RMFilesInUse-an-invalid-return-value-tp4875952p4875952.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ 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). ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users