I'll use Mike Dimmick's quote " You're awash in a sea of unsupported." The log seems to show that you're using the managed code Dll shim to call a custom action in an assembly which has most likely already been uninstalled. Some of the downstream messages might relate to the undocumented nature of that ManagedInstall call, because that C++ shim Dll expects to run in a Visual Studio-generated MSI file with some set of errors in the error table. Also those managed code custom action calls expect to run at certain points during an install or uninstall, and I don't know why you'd have that call there in InstallFinalize unless the condition is wrong. The sequencing definitely looks wrong for a managed code uninstall custom action when compared with where Visual Studio would put them.
Once you've fixed it you can correct the uninstall with a reinstall, using msiexec /I <new msi> REINSTALL=ALL REINSTALLMODE=vomus to get a corrected copy that should then uninstall. Phil Wilson -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of JCWrs Sent: Tuesday, January 08, 2008 11:24 AM To: [email protected] Subject: Re: [WiX-users] Fixing a broken uninstall JCWrs wrote: > > I have customActions scheduled just after ProcessComponents that uninstall > my services if the uninstall is being run. However, when the first one > fires, I get an error saying that one of my dlls or one of its > dependencies cannot be found. I check the file system and all the files > necessary are present. The CA is scheduled before RemoveFiles so I can't > figure out what the problem is. > > My other question is, if\when I do fix this problem, how do I uninstall > those apps that are stuck on my test machine now? If I keep the GUIDs the > same, any fix I make isn't reflected so what do I need to change to get > the fix in? > To add to the above message, I'm looking at the log file of the broken uninstall and it appears my CA's all run just fine, then, during InstallFinalize for some reason, these lines appears (this all happens after a long list of ComponentUnregister lines): Executing op: ActionStart(Name=_89D56755_9461_4BB6_A22B_E4AAB810C4EF.uninstall,,) MSI (s) (A4:80) [13:05:38:425]: Executing op: CustomActionSchedule(Action=_89D56755_9461_4BB6_A22B_E4AAB810C4EF.uninstall,ActionType=1025,Source=BinaryData,Target=ManagedInstall,CustomActionData=/installtype=notransaction /action=uninstall /LogFile= "FileThatCantBeFound.dll" "C:\DOCUME~1\user\LOCALS~1\Temp\CFGB.tmp") MSI (s) (A4:A8) [13:05:38:425]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI92.tmp, Entrypoint: ManagedInstall MSI (s) (A4!5C) [13:05:38:505]: Note: 1: 2205 2: 3: Error MSI (s) (A4!5C) [13:05:38:505]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1001 MSI (s) (A4!5C) [13:05:40:667]: Note: 1: 2205 2: 3: Error MSI (s) (A4!5C) [13:05:40:667]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709 MSI (s) (A4!5C) [13:05:40:667]: MSI (s) (A4:A8) [13:05:40:667]: Leaked MSIHANDLE (6) of type 790531 for thread 3676 MSI (s) (A4:A8) [13:05:40:667]: Note: 1: 2769 2: _89D56755_9461_4BB6_A22B_E4AAB810C4EF.uninstall 3: 1 MSI (s) (A4:A8) [13:05:40:667]: Note: 1: 2205 2: 3: Error MSI (s) (A4:A8) [13:05:40:667]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2769 MSI (c) (80:C4) [13:05:38:505]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg Error 1001. Exception occurred while initializing the installation: System.IO.FileNotFoundException: Could not load file or assembly 'file:///FileThatCantBeFound.dll' or one of its dependencies. The system cannot find the file specified.. DEBUG: Error 2769: Custom Action _89D56755_9461_4BB6_A22B_E4AAB810C4EF.uninstall did not close 1 MSIHANDLEs. The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2769. The arguments are: _89D56755_9461_4BB6_A22B_E4AAB810C4EF.uninstall, 1, MSI (s) (A4:80) [13:05:40:677]: User policy value 'DisableRollback' is 0 MSI (s) (A4:80) [13:05:40:677]: Machine policy value 'DisableRollback' is 0 Action ended 13:05:40: InstallFinalize. Return value 3. -- View this message in context: http://www.nabble.com/Fixing-a-broken-uninstall-tp14696729p14696842.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

