Is it possible to pass variable to WIX localization file?

前端 未结 3 2058
暖寄归人
暖寄归人 2021-01-04 03:59

I need to use variable in WIX localization file WIXUI_en-us.wxl. I tried use it like this:



        
3条回答
  •  春和景丽
    2021-01-04 04:11

    Your second method should work just fine. This is the same method used by the default .wxl files.

    For example, in your .wxl file you would declare your string:

    Foo blah blah [Property1]
    

    And in your .wxs file, you declare the property. If you wish, you can declare the property to match a WiX variable (which it sounds like you're trying to do)

    $(var.Property1)
    

提交回复
热议问题