Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > How long should an uninstall take
 

How long should an uninstall take

I have a working install that take 15 seconds to install, but takes 2 minutes and 50 seconds to uninstall. Is this normal and what can I do to speed this up?
BarberColman  Wednesday, August 19, 2009 5:45 PM
It's what I suspected. I don't know why, but an uninstall of the VC++ files from a merge module is slow. If you search on "sxsdelca slow uninstall" you'll find several complaints, but I haven't seen an answer.
Phil Wilson
  • Marked As Answer byBarberColman Monday, August 31, 2009 5:54 PM
  •  
PhilWilson  Friday, August 21, 2009 8:46 PM

Using certain VC++ 2005 (maybe 2008) merge modules have been seen to make uninstalls slow. Otherwise, system restore might have something to do with it. You might have an uninstall custom action that's slow.

Doing a command line msiexec /x {your productcode guid} /l*v <path to a text file> will create a log containing times, so you may see some times that indicate where it's slow.


Phil Wilson
PhilWilson  Wednesday, August 19, 2009 6:06 PM
Hi
I uninstalled as you suggested and got a 23 MB text files. The first three seconds i could tell corresponded to the UI screens. After that the were mega bytes of

1: sxsdelca 2: traceop 3: 748 4: 0
1: scavenge 2: {433DFAE1-078A-430E-9991-B6A9DB36BCFA} 3: {63E93C5B-0CF2-5C40-C01F-C8B3B9A1E18E} 4: {01F2F6FC-5917-4705-8D2E-49DA5B658B35} 5: -1
1: sxsdelca 2: traceop 3: 748 4: 0
1: scavenge 2: {1F475217-27E7-4C80-8C46-FF89ABB0962D} 3: {63E93C5B-0CF2-5C40-C01F-C8B3B9A1E18E} 4: {01F2F6FC-5917-4705-8D2E-49DA5B658B35} 5: -1
1: sxsdelca 2: traceop 3: 748 4: 0
1: scavenge 2: {90120000-0020-0409-0000-0000000FF1CE} 3: {63E93C5B-0CF2-5C40-C01F-C8B3B9A1E18E} 4: {01F2F6FC-5917-4705-8D2E-49DA5B658B35} 5: 3
1: sxsdelca 2: traceop 3: 1193 4: 0

Do you know what this means and can you point me to documentation on uninstaller logs?

BarberColman  Friday, August 21, 2009 3:49 PM
It's what I suspected. I don't know why, but an uninstall of the VC++ files from a merge module is slow. If you search on "sxsdelca slow uninstall" you'll find several complaints, but I haven't seen an answer.
Phil Wilson
  • Marked As Answer byBarberColman Monday, August 31, 2009 5:54 PM
  •  
PhilWilson  Friday, August 21, 2009 8:46 PM

You can use google to search for other answers

Custom Search

More Threads

• How can I build a Microsoft Internet Add-ins?
• Installer runs when files are replaced
• Updating SQL Databases after Deployment
• Embedded control keeps crashing...
• Problem referencing native assemblies from a ClickOnce application
• Modifying .application dynamically?
• Clickonce ---works online but doesn't work when user is offline
• Deploying a WPF App with Click Once Issue
• How to build MSI that can rollback the application to previous version?
• Version number for .NET framework 3.5 launch condition