Heh... for now as a workaround I am having the ExePackage kill the parent process (the bootstrapper) when the user cancels it... in order to keep the ARP entry... at least it works... :-/
-----Original Message----- From: Dan Puza Sent: Wednesday, August 10, 2011 6:58 PM To: WiX-users Subject: RE: Burn uninstall fails - bundle is removed from ARP Also, is there a way... or, what is the easiest, or the right way to display a message like "User cancelled" as the failure message, rather than "Unspecified error"? Is there a "standard", pre-determined "user cancelled" exit code I can use? I am able to change the code returned from this package. It is an ExePackage. -----Original Message----- From: Dan Puza [mailto:dp...@ultra-scan.com] Sent: Wednesday, August 10, 2011 6:45 PM To: WiX-users Subject: [WiX-users] Burn uninstall fails - bundle is removed from ARP Does this make sense? The first package in the bundle that attempts to uninstall returns an error code (Package Vital="yes"). Processing stops and Setup Failed, as I would expect. However the ARP entry for the bundle gets removed. I would expect that to remain intact. Is that indicated by the two lines in the log, "Removing ... bundle..." ? Is there something I can configure so the ARP entry does not get removed? Or could this be a bug? I am using WiX build 3.6.1929.0. [0BBC:0394][2011-08-10T17:58:40]: Apply begin [0BBC:0394][2011-08-10T17:58:41]: Applying package: Example.exe, action: Uninstall, path: C:\Users\Username\AppData\Local\Package Cache\EBB8B79FCC72E0E343477DB4241442115E920409\Packages\Example.exe, arguments: '"C:\Users\Username\AppData\Local\Package Cache\EBB8B79FCC72E0E343477DB4241442115E920409\Packages\Example.exe"' [0BBC:0394][2011-08-10T17:59:00]: Error 0xffffffff: Process returned error: 0xffffffff [0BBC:0394][2011-08-10T17:59:00]: Error 0xffffffff: Failed to configure per-user EXE package. [0BBC:0394][2011-08-10T17:59:00]: Error 0xffffffff: Failed to execute EXE package. [0BBC:0394][2011-08-10T17:59:00]: Error 0xffffffff: Failed to execute apply. [0BBC:0394][2011-08-10T17:59:00]: Removing bundle dependency key: {b0cf830a-2557-4208-a8f4-64044bb6dbf7} [0BBC:0394][2011-08-10T17:59:00]: Removing cached bundle: {b0cf830a-2557-4208-a8f4-64044bb6dbf7}, from path: C:\Users\Username\AppData\Local\Package Cache\{b0cf830a-2557-4208-a8f4-64044bb6dbf7}\ [0BBC:0394][2011-08-10T17:59:00]: Apply complete, result: 0xffffffff restart: No ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users