Hi there, I'm using the util:RemoveFolderEx custom action to remove a folder during uninstall that contains temporary files that are no longer needed (think of it as a browser cache for example). Due to the nature of the application the number of files in the folder can be in the thousands.
I noticed that in that case running the RemoveFolderEx action can take a long time, like 10 minutes for a folder that contains 25,000 files, and up to 45 minutes on a folder with 120,000 files in it. The number of subdirectories in the folder I am deleting is small, but I'm guessing that the action adds every single file to a list of files and folders to be removed by MSI, and deleting on a file by file basis instead of the entire folder at once makes it take so long? Or is it taking a copy of all the files in case uninstall fails and it needs to rollback? Unless there is a way to make RemoveFolderEx be faster, what other options do I have? Write my own custom action? I am using my own managed bootstrapper already, so adding a managed custom action wouldn't be too big of a deal I guess. Any ideas/suggestions welcome (other than why am I creating so many temporary files, I can't change that at this time). // Sascha ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users