I see in the code for light.cs in the Wix solution (v.3.5.1309.0), there's a
part that checks if the -sloc parameter was passed into Light. It also
checks -loc and -cultures flags and if either were used, the -sloc parameter
is ignored: 


 if (!this.suppressLocalization || 0 < this.localizationFiles.Count || null
!= this.cultures || !this.outputXml) 
{ // localize the output } 

Is there a reason to do this? The Votive plugin always adds the -loc flags
when I add .wxl files to a project. It'd be awesome to be able to suppress
localization, but not have to exclude the .wxl files from the project. That
way, we could let Visual Studio call Light and suppress localization, giving
us the ability to create a .wixout file that can be localized later. 

-- 
View this message in context: 
http://n2.nabble.com/Light-exe-sloc-ignored-if-loc-or-cultures-tp4764884p4764884.html
Sent from the wix-devs mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to