>RemoveFolder maps to the RemoveFile table, which only removes empty >folders. So you need both RemoveFile and RemoveFolder.
That sounds pretty inconvenient if you want to recursively remove every file in every directory, which I would have guessed was a fairly common thing to want to do. Is there another more straightforward method of accomplishing this? I can add RemoveFile elements to all of the Directory elements, but that still leaves any user created directories laying around. >> If I uncomment the Condition element, it fails to delete anything in >> either case. I'm guessing this means the property isn't getting passed >> correctly? >> >Maybe. Take a look at a verbose log around the InstallValidate action; >you're looking for the Action value to see what MSI plans on doing. With my Condition, removal fails, action:Null. Comp_RemoveAllFiles; Installed: Local; Request: Absent; Action: Null Unconditional, removal succeeds, action:Absent. Comp_RemoveAllFiles; Installed: Local; Request: Absent; Action: Absent My property is defined as <Property Id="REMOVEALLFILES" Secure="yes"/> The component's condition is <Condition>REMOVEALLFILES</Condition> And in both cases, I see REMOVEALLFILES="TRUE" in the log. Thanks for the advice, it has been very helpful. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users