Works for me. Remember to add the Component to a Feature & it should be
all good. Change the 'On="both"' to "install" or "uninstall" if that's
what you'd prefer.
Only problem is you can only delete files in directories which you know
the names
If you know the format then of the name then you can do something like this:
That text is a bit old so it might need a minor tweak, but that should do it.
It's best to try and
match known files as closely as possible so you don't end up deleting anything
that's n
Hi Craig,
Is there a way to call RemoveFolder, and have it remove (and empty) all
sub-folders? My uninstall is using RemoveFile/RemoveFolder on a folder
(which contains files created after installation), but since some of the
files are stored in sub-directories, the uninstall leaves the folde
No, RemoveFolder only removes empty folders. You'd have to create a
RemoveFolder entry for each
subfolder, and then have RemoveFile entries for all the files they contain.
You can use wildcards
in RemoveFile though, so it's not as painful as it could be. If you have a lot
of files/folders,
4 matches
Mail list logo