[wix-users] error CNDL0027 : The File/@Name attribute's value, xxxx is not a valid 8.3-compliant name"

Caleb Knoll caleb.knoll at ni.com
Sun Oct 25 12:44:49 PDT 2015


Either create actual 8.3 shortened names (ex: tstdatvl.dll) (of course these won't actually be used unless you're installing to a 8.3 OS), or pass the flag to candle to ignore that error.

-Caleb Knoll

________________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Vijaya Shinde <vijaya1909 at gmail.com>
Sent: Sunday, October 25, 2015 12:17 PM
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] error CNDL0027 : The File/@Name attribute's value, xxxx is not a valid 8.3-compliant name"

As per suggestion for WiX 2.0 schema, made changes in wxm file as below,
<File LongName="testdata.value.dll" Name="TESTDA~1.DLL" Id="a_8w18b172" />

But it is giving below error,
error CNDL1044: is an ambiguous short name because it ends with a '~'
character followed by a number.

Thanks,
Vijaya


On Sat, Oct 24, 2015 at 8:52 PM, Caleb Knoll <caleb.knoll at ni.com> wrote:

> Per the WiX 2.0 schema, you need to define the LongName attribute:
>
> LongName - Long file name; set this attribute if preferred name is not in
> 8.3 format.
> Name - File name of the file in 8.3 format, required for backwards
> compatibility.
>
> -Caleb Knoll
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of Vijaya Shinde
> Sent: Saturday, October 24, 2015 8:24 PM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: Re: [wix-users] error CNDL0027 : The File/@Name attribute's
> value, xxxx is not a valid 8.3-compliant name"
>
> Actually our codebase is huge and it is not possible at this time to update
> Wix. It will be helpful if you could suggest any options to avoid this
> error in current wix version.
>
> This is current format in wxm file.
> <File Name="testdata.value.dll" Id="a_8w18b172" />
>
> I have seen this exact same file working fine on another person's machine.
> I am wondering if I am missing on setting anything that is causing this
> error.
>
> Thanks,
> Vijaya
>
> On Sat, Oct 24, 2015 at 4:52 PM, John Cooper <JoCooper at jackhenry.com>
> wrote:
>
> > That's what I thought.  I would strongly recommend updating to WiX 3.10.
> >
> > Wix 2.0 has been obsolete for much more than ten years.  It had a
> > semantics where the Name attribute had to comply with FAT 8.3 file naming
> > conventions.  There was a separate attribute, LongName I think, that
> > allowed file lengths up to the .NET maximums.
> >
> > The ShortName, LongName, and Name differences have been largely collapsed
> > since WiX 3.5.
> > --
> > John Merryweather Cooper
> > Senior Software Engineer | Integration Development Group | Enterprise
> > Notification Service
> > Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Ext:  431050 |
> > JoCooper at jackhenry.com
> >
> >
> > ________________________________________
> > From: wix-users [wix-users-bounces at lists.wixtoolset.org] on behalf of
> > Vijaya Shinde [vijaya1909 at gmail.com]
> > Sent: Friday, October 23, 2015 7:44 PM
> > To: WiX Toolset Users Mailing List
> > Subject: Re: [wix-users] error CNDL0027 : The File/@Name attribute's
> > value, xxxx is not a valid 8.3-compliant name"
> >
> > The e-mail below is from an external source.  Please do not open
> > attachments or click links from an unknown or suspicious origin.
> >
> > WiX version 2 (File version showing on dll is 2.0.3620.0)
> >
> > Thanks,
> > Vijaya
> >
> > On Fri, Oct 23, 2015 at 3:55 PM, John Cooper <JoCooper at jackhenry.com>
> > wrote:
> >
> > > Which version of WiX?  There has been significant change in the file
> name
> > > attributes over the years.
> > >
> > > --
> > > John Merryweather Cooper
> > > Senior Software Engineer | Integration Development Group | Enterprise
> > > Notification Service
> > > Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Ext:  431050 |
> > > JoCooper at jackhenry.com
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On
> > Behalf
> > > Of Vijaya Shinde
> > > Sent: Friday, October 23, 2015 5:45 PM
> > > To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> > > Subject: [wix-users] error CNDL0027 : The File/@Name attribute's value,
> > > xxxx is not a valid 8.3-compliant name"
> > >
> > > The e-mail below is from an external source.  Please do not open
> > > attachments or click links from an unknown or suspicious origin.
> > >
> > > Hello everyone,
> > >
> > > We are trying to generate msi file. There is command candle.exe which
> > uses
> > > wxm file. wxm file has list of file names xxxx .
> > >
> > > We are facing below error when tried to run candle.exe.
> > >
> > > candle.exe  error CNDL0027 : The File/@Name attribute's value xxxx is
> not
> > > a valid 8.3-compliant name.
> > >
> > > where xxxx is name like 'testdata.value.dll'
> > >
> > > We tried below steps to disable 8dot3 but it did not resolve the issue.
> > >
> > >    - Navigate to the following registry key:
> > >    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
> > >    - Locate NtfsDisable8dot3NameCreation and change the value to 3 (We
> > also
> > >    tried to set it to 1)
> > >
> > >
> > > *Reference* :
> https://technet.microsoft.com/en-us/library/cc778996.aspx
> > >
> > > Please inform us if there are any options that we can try or anything
> you
> > > can help us with.
> > >
> > > Thanks,
> > > Vijaya
> > >
> > > ____________________________________________________________________
> > > WiX Toolset Users Mailing List provided by FireGiant
> > > http://www.firegiant.com/
> > >
> > > NOTICE: This electronic mail message and any files transmitted with it
> > are
> > > intended
> > > exclusively for the individual or entity to which it is addressed. The
> > > message,
> > > together with any attachment, may contain confidential and/or
> privileged
> > > information.
> > > Any unauthorized review, use, printing, saving, copying, disclosure or
> > > distribution
> > > is strictly prohibited. If you have received this message in error,
> > please
> > > immediately advise the sender by reply email and delete all copies.
> > >
> > >
> > > ____________________________________________________________________
> > > WiX Toolset Users Mailing List provided by FireGiant
> > > http://www.firegiant.com/
> > >
> >
> > ____________________________________________________________________
> > WiX Toolset Users Mailing List provided by FireGiant
> > http://www.firegiant.com/
> > NOTICE: This electronic mail message and any files transmitted with it
> are
> > intended
> > exclusively for the individual or entity to which it is addressed. The
> > message,
> > together with any attachment, may contain confidential and/or privileged
> > information.
> > Any unauthorized review, use, printing, saving, copying, disclosure or
> > distribution
> > is strictly prohibited. If you have received this message in error,
> please
> > immediately advise the sender by reply email and delete all copies.
> >
> >
> > ____________________________________________________________________
> > WiX Toolset Users Mailing List provided by FireGiant
> > http://www.firegiant.com/
> >
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list