Re: [WiX-users] RemoveFolderEx really slow on large folders

2014-05-09 Thread Sascha Sertel
Yes, what it is getting hung up on is enumerating a hundred thousand files one by one and adding them up to a giant string that is passed on to the MSI engine. I looked at the RemoveFolderEx C++ implementation and it confirmed all my suspicions, so I went ahead and took it out and created my own

Re: [WiX-users] RemoveFolderEx really slow on large folders

2014-05-09 Thread John Cooper
...@jackhenry.com www.jackhenry.com -Original Message- From: Sascha Sertel [mailto:sascha.ser...@gmail.com] Sent: Friday, May 9, 2014 12:11 PM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] RemoveFolderEx really slow on large folders Yes, what it is getting hung up

Re: [WiX-users] RemoveFolderEx really slow on large folders

2014-05-09 Thread Jeremy Farrell
How does rollback work with your CA? From: Sascha Sertel [mailto:sascha.ser...@gmail.com] Yes, what it is getting hung up on is enumerating a hundred thousand files one by one and adding them up to a giant string that is passed on to the MSI engine. I looked at the RemoveFolderEx C++

Re: [WiX-users] RemoveFolderEx really slow on large folders

2014-05-09 Thread Sascha Sertel
@John: I completely understand why the util:RemoveFolderEx action works the way it works, and for many applications that is the right way to go, and that's why I had used it to begin with. Unfortunately for this particular app it was simply unacceptable to be stuck for 45 minutes during uninstall

Re: [WiX-users] RemoveFolderEx really slow on large folders

2014-05-08 Thread Nick Ramirez
Is it getting hung up on something? When you uninstall with logging, does the log show anything happening that takes a long time around where it calls RemoveFiles? -- View this message in context:

[WiX-users] RemoveFolderEx really slow on large folders

2014-04-30 Thread Sascha Sertel
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