windows installer - WiX get culture preprocessor variable -


i have folder struckture like

[myapp] --[videos]   --[de-de]     -video1.mpg     - blah blah blah   --[en-us]     - video1.mpg     - blah blah blah etc etc 

to include videos languagespecific installers need ability access $(var.culture) (<--didnt exist). tried use language files

<wixlocalization culture="en-us" xmlns="http://schemas.microsoft.com/wix/2006/localization">   <string id="localisation">en-us</string> </wixlocalization> 

but doenst work cause arent preprocessor variables cant use them in "candle" process. there way culturecode preprocessor variable current builded msi? im sorry if question trivial searched google , didnt find real solution.

you can use localization variable:

<file id="filevideo1" source="!(loc.localisation)\video1.mpg"/> 

candle take value localization file each culture.


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -