Thanks John & David, I used John's third option with orca.exe (I just deleted the problematic custom action and all is good).
Thanks :) -----Original Message----- From: John Ludlow [mailto:john.ludlow...@gmail.com] Sent: Wednesday, August 28, 2013 12:30 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to remove custom application with malformed uninstall package If this MSI is in the field then David's suggestion is the best option. I was assuming it was a development version on a test system, and you just wanted to clean that system down. On 28 August 2013 11:10, David Watson <dwat...@sdl.com> wrote: > > Make a minor update msi that fixes the issue and get your users (or > write a stub that) runs it from the command line with the repair and > recache msi options. > > msiexec /fv your.msi /l*v log.txt > > > > -----Original Message----- > From: John Ludlow [mailto:john.ludlow...@gmail.com] > Sent: 28 August 2013 10:34 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] How to remove custom application with > malformed uninstall package > > You have a couple of options: > > Firstly, there's the MSI Cleanup Utility > > http://gallery.technet.microsoft.com/MSI-cleanup-utility-3889c8db > > This is an old tool which I thought had been retired, but it's come in > very handy. Note that this will not perform any uninstall operations > or any MSI logic at all. It basically hunts round the MSI registry for > evidence of your install and removes it. Any of your own registry > entries or files will not be removed. > > But it's good for cleaning up a broken install. > > Secondly, there's it's younger sibling, in the form of a FixIt > troubleshooter: > > http://support.microsoft.com/mats/Program_Install_and_Uninstall > > This will scan for installs it thinks have problems, ask you a few > questions, then do pretty much the same as the cleanup utility above, > though it's supposed to do a more intelligent job. > > Thirdly, you can find the appropriate MSI in the c:\windows\installer > cache, remove the offending action from the sequence using orca.exe > and then try to uninstall it again. > > Lastly, I know some people who swear by CCleaner for this kind of thing: > http://www.piriform.com/ccleaner > > Hope one of those suggestions helps. > > John > > > On 28 August 2013 10:13, Simon Gerhold <simon.gerh...@cetis.si> wrote: > > > I created a setup project with Wix Toolset, which does something > > like > this: > > > > * install (into ProgramFiles/MyApp, Desktop shortcut, StartMenu,...) > > * create a folder ProgramFiles/MyApp/InstallFolder > > * create some files in the folder ProgramFiles/MyApp/InstallFolder > > * run a powershell script, which installs some COM+ components > > In the ProgramFiles/MyApp/InstallFolder is also a powershell script, > > which removes my COM+ applications (regsvcs /u). This script is > > executed as a custom action on uninstall. But here I made a mistake > > - the custom action had the attribute After="RemoveFiles" (it should > > of course be Before="RemoveFiles"). Now when I try to uninstall on > > my application, the uninstall process terminates with the exception > > "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.". The same exception occurs if > > I try to > install/repair/change my application... > > Is there any possibility to uninstall my application without the > > last > > (faulty) custom action? Or to 'overinstall' it somehow? > > Simon > > > > > > Simon Gerhold, razvojni inženir / Development Engineer Cetis d.d., > > Čopova 24, 3000 Celje, Slovenia - EU, T: +386 3 4278 785, F: +386 > > 3 4278 651, www.cetis.si<http://www.cetis.si/> > > > > > > -------------------------------------------------------------------- > > -- > > -------- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL > > 2012, more! > > Discover the easy way to master current and previous Microsoft > > technologies and advance your career. Get an incredible 1,500+ hours > > of step-by-step tutorial videos with LearnDevNow. Subscribe today > > and > save! > > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg > > .c lktrk _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ---------------------------------------------------------------------- > ------- > - > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft > technologies and advance your career. Get an incredible 1,500+ hours > of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.c > lktrk _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > SDL PLC confidential, all rights reserved. > If you are not the intended recipient of this mail SDL requests and > requires that you delete it without acting upon or copying any of its > contents, and we further request that you advise us. > SDL PLC is a public limited company registered in England and Wales. > Registered number: 02675207. > Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire > SL6 7DY, UK. > > ---------------------------------------------------------------------- > -------- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL > 2012, more! > Discover the easy way to master current and previous Microsoft > technologies and advance your career. Get an incredible 1,500+ hours > of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.c > lktrk _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users