Re: [WiX-users] Help Required in Removing the Folder during uninstallation

2009-06-09 Thread gulfam murad
Could you please tell more about the custom action to delete a directory tree. I am currently using a C++ custom action to delete directory structure on uninstall. But i love to use a custom action with roll-back stuff. On Tue, Jun 9, 2009 at 11:36 AM, Rob Mensching wrote: > Ahh, you want to delet

Re: [WiX-users] Help Required in Removing the Folder during uninstallation

2009-06-09 Thread Rob Mensching
Ahh, you want to delete a directory *tree*. That is not supported natively by the Windows Installer. There is a CustomAction out there that will do this correctly (with rollback and all that good stuff). Bob is getting it set up. Curtis Jewell wrote: > Let me try and express it better: > > The

Re: [WiX-users] Help Required in Removing the Folder during uninstallation

2009-06-09 Thread Curtis Jewell
Let me try and express it better: The files I want to delete are under a certain directory that the MSI sets up to place them in, but could have any name, and be in (created by my program) subdirectories of that directory, and that's the only thing I know about them. They would be useless without

Re: [WiX-users] Help Required in Removing the Folder during uninstallation

2009-06-08 Thread Rob Mensching
I'm a little confused by this requirement. Are you saying you won't know where the files you want to delete exist? How is a CustomAction going to know any better? Curtis Jewell wrote: > I should have specified that I was assuming that there was no way to > know what the additional files were nam

Re: [WiX-users] Help Required in Removing the Folder during uninstallation

2009-06-08 Thread Curtis Jewell
I should have specified that I was assuming that there was no way to know what the additional files were named or where they were located - which would be logical for logging directories. I was told (I think by you) that to do that, it required a CA to tell Windows Installer what additional files

Re: [WiX-users] Help Required in Removing the Folder during uninstallation

2009-06-08 Thread Rob Mensching
Why do you need a CustomAction? RemoveFiles is a standard action and will handle rollback for you. Curtis Jewell wrote: > If the folder has files in it the MSI didn't put there, it won't get > deleted unless you have a custom action delete the files first (or tell > Windows Installer to do so) >

Re: [WiX-users] Help Required in Removing the Folder during uninstallation

2009-06-08 Thread Curtis Jewell
If the folder has files in it the MSI didn't put there, it won't get deleted unless you have a custom action delete the files first (or tell Windows Installer to do so) If you want source for such a custom action, try http://svn.ali.as/cpan/trunk/Perl-Dist-WiX/src/ClearFolderCA/ClearFolderCA/Clear

[WiX-users] Help Required in Removing the Folder during uninstallation

2009-06-08 Thread Natarajan, Thangaraj (MLITS)
Hi All, I have some issue in Removing the Folder during uninstallation. Please Find the Wix script below.