We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Tac1t
Posts: 8
Joined: Thu Mar 19, 2020 10:37 am

Updating Static Text value during custom action

Hi,
I've got custom action, which sets installer property [MY_PROP] many times. Also I've got Static Text control to display value of this property, its Text and Property Name attributes are referenced to [MY_PROP] property, just as it mentioned here https://www.advancedinstaller.com/user- ... ibute.html.

The problem is that Static Text value updates only after custom action is finished, so I've got only last value. I need to display this value every time, when custom action is setting new value to [MY_PROP] property.

Is there any way how to do it?
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Updating Static Text value during custom action

Hello and welcome to Advanced Installer forums,
need to display this value every time, when custom action is setting new value to [MY_PROP] property.
I am not quite sure I understand what you mean by this. Do you want the value to be updated after every time you set the property in your custom action? E.g.:

you set the property three times: aaa, bbb, ccc --> you want all the values to be shown, i.e.: first show "aaa", then "bbb" and then "ccc"?

If that is the case, I am afraid this might not be possible (or at least from what I've tested) as, from what I could see, the control is displayed after the custom action executed.

Please let me know if there is anything else I could help you with and I will gladly assist.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”