Bob,

I had not thought to try this locally outside VS and yes I do get the same 
errors. I copied the light.exe cmd from the TFS build log and tried the 
same:

Light.exe -ext "WixUIExtension.dll" -out "c:\Web UI Setup.msi" 
C:\....\WebUiSetup.wixobj

It would appear that the Light.exe cmd run by MSBuild does not contain the 
-culture information because when I do the following it is OK.

Light.exe -ext "WixUIExtension.dll" -cultures:en-us -out "c:\Web UI 
Setup.msi" C:\...\WebUiSetup.wixobj

Stabbing in the dark a bit....is this something that needs setting/editing 
in the wix.targets file?

Martin Evans
Development Manager
Achiever Business Solutions
Mailto:[EMAIL PROTECTED]



Bob Arnson <[EMAIL PROTECTED]> 
23/07/2007 14:54

To
Martin Evans <[EMAIL PROTECTED]>
cc
wix-users@lists.sourceforge.net
Subject
Re: [WiX-users] MSBuild / localisation variable problem






Martin Evans wrote: 
C:\delivery\Dev\wix_public\src\ext\uiextension\wixlib\BrowseDlg.wxs(18): 
error LGHT0102: The localization variable !(loc.WixUIOK) is unknown. 
Please ensure the variable is defined. 

Is that the only error you get? Does it build correctly on your local 
machine outside VS?

Make sure your .wixproj has a PropertyGroup that includes

<Cultures>en-us</Cultures>

(or some other Cultures value). That loads the US English strings, which 
includes a value for WixUIOK.

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






The information contained in or attached to this email is intended only 
for the use of the individual to which it is addressed. It may contain 
information which is confidential and/or covered by legal, professional or 
other privilege (or other similar rules or laws). If you are not the 
intended recipient, or a person responsible for delivering it to the 
intended recipient, you are not authorised to and must not disclose, copy 
distribute, or retain this message or any part of it. Nor should you take 
any action with reference to it. If you have received this email in error 
please notify us immediately by forwarding the email to 
[EMAIL PROTECTED]

Achiever Business Solutions Ltd
Cross & Pillory House
Cross & Pillory Lane
Alton, Hants, GU34 1HL. UK
(Registered office) 
Registered no: 3437447
VAT No: GB 813 0535 66
Tel: +44 (0)1420 547507
www.achieverplus.com
A Sword Group Company

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to