I've made a WiX installer that removes my program's install folder 
"C:\Program Files\Muon1" in its entirety on uninstall, *except* when the 
programs within the folder produce new files (log files etc.).

Now, I've put RemoveFile and RemoveFolder tags in my installer for the files 
concerned.  That's removed the files, but leaves the top-level folder where 
it is, when log files have been created.  When log files haven't been made, 
the top-level folder disappears on uninstall as well.

So I'm wondering how can I make WiX remove the top-level folder when other 
files have been removed.  It's empty anyway at that point.

Here is my .wxs install script as it stands:

http://pastebin.com/Uff4fLbP

There are about a dozen files and a couple folder but it's not to 
complicated.

    -Stephen 


------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to