localization - Wix: Localizing the bal:condtion in bundle.wxs by modifying mbapreq.wxl for custom ManagedBootstrapperApplicationHost -
i have made custom bootstrapper application. have customized mbapreq.thm , mbapreq.wxl custom ui.
my bundle.wxs looks this.
<bootstrapperapplicationref id="managedbootstrapperapplicationhost"> <payload name="1031\mbapreq.wxl" sourcefile="de\mbapreq.wxl" /> <payload name="1036\mbapreq.wxl" sourcefile="fr\mbapreq.wxl" /> <payload name="1041\mbapreq.wxl" sourcefile="ja\mbapreq.wxl" /> <payload name="2052\mbapreq.wxl" sourcefile="zh-cn\mbapreq.wxl" /> <payload name="3082\mbapreq.wxl" sourcefile="es\mbapreq.wxl" /> <payload name="mbapreq.thm" sourcefile="mbapreq.thm" /> </bootstrapperapplicationref> <bal:condition message="!(loc.osnotsupported)"> (versionnt >= v6.0) </bal:condition> <fragment> <wixvariable id ="preqbathemewxl" value="mbapreq.wxl"/> <wixvariable id ="preqbathemexml" value="mbapreq.thm"/> </fragment> i have included osnotsupported in mbapreq.wxl also.
<string id="osnotsupported">this application supported on windows server 2003 (32 , 64bit), windows 2008 (32 , 64bit) , windows 2008 r2 (windows 7) or higher.</string>
same string osnotsupported added other languages also. have including "-loc mbapreq.wxl" make file.
when run application ui getting changed per mbapreq.thm languages. ui reflecting "osnotsupported" per english language when running application in other languages (with -lang 1031 parameter).
so how localize bal:condition ??
i believe issue incorrect variable type want find theme text
! used linker
# used runtime theme
<bal:condition message="#(loc.osnotsupported)">
Comments
Post a Comment