Re: [WiX-users] error CNDL0014

2007-12-28 Thread Bob Arnson

Mike Dimmick wrote:


The TypeLib/@HelpDirectory attribute's value is supposed to be the ID 
of the directory, not a Formatted type. Use INSTALLDIR, not [INSTALLDIR].


 

The documentation isn't very helpful as it's generated directly from 
the XML schema, which in the main doesn't differentiate between 
different logical types of string. This is partly due to the 
difficulty of defining regular expressions for the different types to 
limit the allowed characters, because WiX also supports using 
compile-time and localization-time variables in place of at least some 
identifiers (they must of course ultimately resolve to identifiers). 
I'm not sure if it's possible to define a new type based on String 
with no additional restrictions.




I just added a new error message for this case: Where an identifier is 
expected but the compiler gets a "[BLAHBLAH]" string instead, it throws 
a more specific error message.


--
sig://boB
http://joyofsetup.com/

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] error CNDL0014

2007-12-28 Thread Mike Dimmick
The TypeLib/@HelpDirectory attribute's value is supposed to be the ID of the
directory, not a Formatted type. Use INSTALLDIR, not [INSTALLDIR].

 

The documentation isn't very helpful as it's generated directly from the XML
schema, which in the main doesn't differentiate between different logical
types of string. This is partly due to the difficulty of defining regular
expressions for the different types to limit the allowed characters, because
WiX also supports using compile-time and localization-time variables in
place of at least some identifiers (they must of course ultimately resolve
to identifiers). I'm not sure if it's possible to define a new type based on
String with no additional restrictions.

 

-- 

Mike Dimmick

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of McCann, Jerome
Sent: 27 December 2007 17:52
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] error CNDL0014

 

When I run the candle "C:\Wix 3\UltraEdit32_FIles.wxs" -out "C:\Wix
3\UltraEdit32_FIles.wixobj", I am getting the following error:

 

UltraEdit32_Files.wxs

C:\Installs\UltraEdit32_Files.wxs(72) : error CNDL0014 : The
TypeLib/@HelpDirect

ory attribute's value, '[INSTALLDIR]', is not a legal identifier.
Identifier's

may contain ASCII characters A-Z, a-z, digits, underscores (_), or periods
(.).

 Every identifier must begin with either a letter or an underscore.

C:\Installs\UltraEdit32_Files.wxs(102) : error CNDL0014 : The
TypeLib/@HelpDirec

tory attribute's value, '[INSTALLDIR]', is not a legal identifier.
Identifier's

 may contain ASCII characters A-Z, a-z, digits, underscores (_), or periods
(.).

  Every identifier must begin with either a letter or an underscore.

 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users