Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

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

Closed
wixbot opened this Issue Jun 19, 2012 · 3 comments

Comments

Projects
None yet
1 participant
Collaborator

wixbot commented Jun 19, 2012

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.

Originally opened by anastasia-k from http://sourceforge.net/p/wix/bugs/2990/

Collaborator

wixbot commented Sep 21, 2012

It's marked correctly in the WiX v3.x doc: http://wix.sourceforge.net/manual-wix3/wix_xsd_removefile.htm

Collaborator

wixbot commented Sep 21, 2012

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

Collaborator

wixbot commented Oct 24, 2013

Originally changed by barnson
Area changed from documentation to compiler
Release changed from future to v3.8
Resolution set to fixed
Status changed from Untriaged to Resolved

@wixbot wixbot added this to the v3.8 milestone Dec 20, 2015

@wixbot wixbot closed this Dec 20, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment