Actually I realized what the problem was – I had not nested the remove folder 
element under the directory that was causing the error.  Once nested correctly 
it did not report the ICE validation error.
Thus if the RemoveFile table(or removefolder)entry is not nested under the 
directory that the validation is checking then it will report an error. I was 
using a DirectoryRef to execute the remove.
 
Probably should as you say Alex make the documentation more specificÂ…
 
Cheers
Benjic
 
From: Alex Cater (via Nabble) [mailto:ml-user+127614-1655852...@n2.nabble.com] 
Sent: Thursday, 16 April 2009 8:23 AM
To: Benjic
Subject: Re: [WiX-users] RemoveFile Table
 
Benjic wrote:
my point was that we get an error reported. Does that make this a bug..? 
Technically, I suppose its arguable, but in my opinion it isn't a bug, 
especially considering that the WiX documentation states that the name 
attribute is required. The RemoveFile and RemoveFolder elements are, to all 
intents and purposes, specialisations of the RemoveFile table. I believe the 
intention is simply to reduce ambiguity in the authoring. 

I suggest that this particular issue actually highlights a bug/oversight in the 
documentation as it should be easy to 'do the right thing'. In this case it 
would be helpful if the RemoveFile element included at least a See Also to the 
RemoveFolder element, but preferably an additional sentence and link in the 
main text. 



This email is a reply to your post @ 
http://n2.nabble.com/RemoveFile-Table-tp2636076p2641155.html
You can reply by email or by visting the link above.
 


Ph: 32682688
Fax: 38681488
The views expressed in this email are those of the sender and may not equate to 
the views of the
Ascot Veterinary Surgery. 

-- 
View this message in context: 
http://n2.nabble.com/RemoveFile-Table-tp2636076p2641319.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to