Re: [WiX-users] Pass data into localization wxl file

2012-05-05 Thread Bob Arnson
On 02-May-12 04:22, Kristjan Laane wrote:
 I looked at the docs for the Product element and it is not clear to me from
 this URL whether the Name property, for instance, is formatted or not:
It turns into the ProductName property, which cannot itself contain 
property references.

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


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Pass data into localization wxl file

2012-05-02 Thread Kristjan Laane
Thanks again Bob. 

I looked at the docs for the Product element and it is not clear to me from
this URL whether the Name property, for instance, is formatted or not:
Product Element
http://wix.sourceforge.net/manual-wix3/wix_xsd_product.htm

If you know what marks a field as formatted please let me know, or if im
looking at the wrong documentation, please let me know as well. 

Ta, 
Kristjan


-Original Message-
From: Bob Arnson [mailto:b...@joyofsetup.com] 
Sent: 02 May 2012 03:50
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Pass data into localization wxl file

On 28-Apr-12 17:03, Kristjan Laane wrote:
 Thanks for the info Bob - but what determines whether a localized 
 string is formatted or not?
Whether it appears in a field that's documented as being formatted. Many
fields are but some are required to be string literals and aren't formatted,
so properties aren't evaluated.

 I just tried $(sys.CURRENTDIR) and that is not evaluated either!
That is a preprocessor variable; localization strings are processed much
later than the preprocessor.

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



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Pass data into localization wxl file

2012-05-01 Thread Bob Arnson
On 28-Apr-12 17:03, Kristjan Laane wrote:
 Thanks for the info Bob - but what determines whether a localized string is
 formatted or not?
Whether it appears in a field that's documented as being formatted. Many 
fields are but some are required to be string literals and aren't 
formatted, so properties aren't evaluated.

 I just tried $(sys.CURRENTDIR) and that is not evaluated either!
That is a preprocessor variable; localization strings are processed much 
later than the preprocessor.

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


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Pass data into localization wxl file

2012-04-28 Thread Bob Arnson
On 28-Apr-12 07:20, Kristjan Laane wrote:
 But I could not get the property to work as well: !(loc.Message_Foo) still
 returns the static unevaluated string for me, being literally Foo blah blah
 [Property1].
That means you're trying to use properties in a string that isn't formatted.

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


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Pass data into localization wxl file

2012-04-28 Thread Kristjan Laane
Thanks for the info Bob - but what determines whether a localized string is
formatted or not? 

I just tried $(sys.CURRENTDIR) and that is not evaluated either! Is there
any way to get outside information into localization files? I cannot have
any language-independent static parts otherwise, which seems like a rather
large limitation to me. 


Atb, 
Kristjan


-Original Message-
From: Bob Arnson [mailto:b...@joyofsetup.com] 
Sent: 28 April 2012 21:19
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Pass data into localization wxl file

On 28-Apr-12 07:20, Kristjan Laane wrote:
 But I could not get the property to work as well: !(loc.Message_Foo) 
 still returns the static unevaluated string for me, being literally 
 Foo blah blah [Property1].
That means you're trying to use properties in a string that isn't formatted.

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



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users