The syntax for using the localization string should be
$(loc.UninstallAppShortcut).  I'm guessing that
!(loc.UninstallAppShortcut) is evaluating to the null value.

-Brian Simoneau

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Laurent
Courbet
Sent: Monday, July 10, 2006 8:50 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] candle.exe : error CNDL0001


Hi,

I have a strange behaviour when I use localization with Shortcut tag:
I have in wxl file the string <String
Id="UninstallAppShortcut">Uninstall [ProductName]</String>
and in an other file I use
 <Shortcut Id="UninstallAll" Directory="ProgramMenuDir"
Name="!(loc.UninstallAppShortcut)"  ...
Candle output error like:
candle.exe : error CNDL0001 : Cannot set column 'Name' with a null value
because this is a required field.

But if I add a space or an other char to the value of the Name
attribute, it run without errors!
 <Shortcut Id="UninstallAll" Directory="ProgramMenuDir" Name="
!(loc.UninstallAppShortcut)"  ...

Is it a bug ?

Laurent



------------------------------------------------------------------------
-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to