Wix CustomAction update UI?

后端 未结 2 1735
野的像风
野的像风 2021-01-07 09:45

If I have a managed Wix Custom Action, is there anyway I can update a Control with the type of Text? I see that a progress bar can be updated by using the session.Mess

2条回答
  •  醉话见心
    2021-01-07 10:15

    For a text control you can use a property wrapped in brackets: [SOMEPROP]

    Then in your CA you can say session["SOMEPROP"] = "somevalue". Note MSI is wonky about refreshing the UI so you'll pretty much have to transition from one dialog to another to get this to work. In other words, on the next button of the previous dialog call the CA and in the next dialog the text control will display the text.

提交回复
热议问题