The light task is called once for each CultureGroup item. You will probably 
need to do the same in your post-build target(s).
 
Each CultureGroup has an OutputFolder metadata you can use to locate that 
culture's MSI/WixPdb to pass to torch.
 
> Date: Wed, 12 Jun 2013 12:31:34 -0700
> From: phogl...@rimage.com
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] How to use Votive culture in Post Build Event
> 
> Using Wix 3.7.1224 I created a setup and localized it.  I can build it in
> each language based on the string(s) that are entered into the Project
> properties 'Cultures to Build' text entry.  When the 'Release' configuration
> is built,  light.exe is called multiple times, for each culture, appending
> the output path with the culture string to produce:
> 
> "$(TargetDir)<culture>\$(TargetFileName) , where <culture> is en-US or
> fr-FR, for example.
> 
> Is there a MSBuild variable that will tell me which <culture> is being
> processed so that I can pass that to the post build events.  I am trying to
> cal torch in the post build to produce language transforms.
> 
> I saw the help info on using MSBuild variables in the WiX source files but I
> did not see how that would help in my situation.  Your advice is
> appreciated.
> 
> 
> 
> --
> View this message in context: 
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-use-Votive-culture-in-Post-Build-Event-tp7586492.html
> Sent from the wix-users mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
> 
> Build for Windows Store.
> 
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
                                          
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to