In WiX 3.0, !(loc.Variable) is the proper syntax for a localization variable
(the dollar sign is deprecated).

The [ProductName] syntax is not substituted until the MSI package is
installed.  This is perfectly find, just note that Windows Installer handles
the substitution, not WiX (this is a common misconception).

The error listed below is a CNDL001 - which indicates an uncaught exception.
But the syntax of the error doesn't seem to match.  Please post a more
complete snippet of the problematic xml and also the full output from
candle.

Thanks,
Derek

-----Original Message-----
From: Laurent Courbet [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 10, 2006 1:25 PM
To: [EMAIL PROTECTED]
Cc: 'Brian Simoneau'; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] candle.exe : error CNDL0001

Derek,
Sorry to have forgotten to give the wix version I'm using; it is the
3.0.1821.0
I saw one other thing: "[ProductName]" is not replaced by it's value.

Thanks,
Laurent

Derek Cicerone a écrit :
> Localization strings are not evaluated during compilation.  Something else
> is going on here.  Laurent, could you please tell us what version of wix
you
> are using?
> 
> Thanks,
> Derek
> 
> -----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

Reply via email to