#2990 Unclear if "Name" attribute is required in RemoveFile tag

future
migrated
nobody
2013-08-21
2012-06-19
Anastasia
No

It is unclear if "Name" attribute is required in RemoveFile tag.

1) In http://wix.sourceforge.net/manual-wix2/wix_xsd_removefolder.htm it has nothing in "required" column
2) If I do not specify the "Name" attribute I get an error:
CNDL0010 : The RemoveFile/@Name attribute was not found; it is required.
3) If I specify an empty value for the "Name" attribute I get an error:
error CNDL0006 : The RemoveFile/@Name attribute's value cannot be an empty string. If you want the value to be null or empty, simply remove the entire attribute.

Discussion

  • Anastasia

    Anastasia - 2012-06-20

    Still the suggestion to remove he entire Name attribute is confusing - the error message should explain that this attribute is required and non-nullable.

     
  • Rob Mensching

    Rob Mensching - 2013-08-21
    • Status: open --> migrated