xyavier wrote: > <Component Id='MyComponent' Guid='BLah BLah BLah-123456789012'> > <Condition> > DELALL = "1" > </Condition> > > <RemoveFile Id='LogFile' On='uninstall' Name='*.*' /> > <RemoveFolder Id='TheDir' On='uninstall'/> > > </Component> >
That's not going to work the way you want. RemoveFile and RemoveFolder work on uninstall when the component itself is being uninstalled. That means it has to be installed in the first place, which it won't be, because you have a condition on it that won't be true during install. The easiest way to get what you want is probably via a custom action that adds temporary rows to the RemoveFile table. I blogged about that kind of CA a few months ago: http://www.joyofsetup.com/2007/07/01/semi-custom-actions/. -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users