Bugs item #1667625, was opened at 2007-02-23 19:10
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1667625&group_id=105970
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: candle
Group: v3.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Micah (micahk-ms)
Assigned to: Nobody/Anonymous (nobody)
Summary: bad message IllegalTargetDirDefaultDir
Initial Comment:
From mail...
-----Original Message-----
From: "Micah
Sent: 2/23/2007 6:55 PM
Subject: RE: Odd error (CNDL0206) compiling .WXS file...
I changed it. Probably would be nice to find the error without debugging,
though. In fact, the error text specifically indicates that SOURCEDIR is one
of two possible correct values. (and no criticism intended… I rate WIX up there
in the very best of dev tools… was impressive even back when it was VBS )
Micah
Sent: Friday, February 23, 2007 6:52 PM
Subject: RE: Odd error (CNDL0206) compiling .WXS file...
SOURCEDIR is old and now longer correct. Use SourceDir instead.
short because sent from SmartPhone
-----Original Message-----
From: "Micah
Sent: 2/23/2007 4:20 PM
Subject: RE: Odd error (CNDL0206) compiling .WXS file...
So I debugged the code a bit and found in compiler.cs in the
ParseDirectoryElement:
else if ("SourceDir" == name ||
CompilerCore.IsValidShortFilename(name, false))
{
if (null == shortName)
{
shortName = name;
}
else
{
this.core.OnMessage(WixErrors.IllegalAttributeValueWithOtherAttribute(sourceLineNumbers,
node.Name, "Name", name, "ShortName"));
}
}
else
{
if (null == longName)
{
longName = name;
// generate a short directory name
if (null == shortName)
{
shortName = this.GenerateShortName(name, false,
false, node.LocalName, parentId);
}
}
else
{
this.core.OnMessage(WixErrors.IllegalAttributeValueWithOtherAttribute(sourceLineNumbers,
node.Name, "Name", name, "LongName"));
}
}
Should the first highlighted item actually allow for SourceDir or SOURCEDIR?
Because that block of code doesn’t happen, the next block generates a short
name. Changing the SOURCEDIR to SourceDir in the .WXS file gets me beyond
this.
Thanks,
Micah
From: Micah
Sent: Friday, February 23, 2007 3:33 PM
Subject: Odd error (CNDL0206) compiling .WXS file...
I tried sending the below to the WIX alias, but got back an error:
#550 5.7.1 RESOLVER.RST.NotAuthorized; not authorized ##
Let me know if there’s a different alias this should go to…
I ran dark against an MSI to generate a .WXS file. Now I’m trying to compile
the WXS file and getting the following error:
I ran: candle -sw1044 SecureLM.wxs
SecureLM.wxs(2010) : error CNDL0206 : The 'TARGETDIR' directory has an illegal
DefaultDir value of 'tqepgrb4|SOURCEDIR'. The DefaultDir value is created from
the *Name attributes of the Directory element. The TARGETDIR directory is a
special directory which must have its Name attribute set to 'SourceDir' or
'SOURCEDIR'.
Here’s line 2010:
<Directory Id="TARGETDIR" Name="SOURCEDIR">
I’m using the WIX 3.0 from CoreXT (public\ext\wix\3.0.2512.0)
Any ideas on this? I can’t find the text mentioned in the error anywhere.
I put the MSI, .WXS, and supporting files on \\micahk-dev\repro. Any help is
greatly appreciated!
Thanks,
Micah
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1667625&group_id=105970
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs