PhilippeG
Posts: 20
Joined: Thu Jan 14, 2021 3:49 pm

Refresh current dialog on InitEvents

Tue Jun 22, 2021 9:22 am

Hi,

Is it possible to Refresh the CurrentDialog on InitEvents?.

Thanks,

Regards.

Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: Refresh current dialog on InitEvents

Tue Jun 22, 2021 2:57 pm

Hello Philippe,

It is not possible to add a "Refresh the current dialog" control event as an "Init Event" - this event must be associated with a dialog control, e.g. a push button.

Could you please give me some more details as to why you would need that?

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

PhilippeG
Posts: 20
Joined: Thu Jan 14, 2021 3:49 pm

Re: Refresh current dialog on InitEvents

Wed Jun 23, 2021 11:03 am

Hi,

I need because :

I want to get around the problem of Enhanced User Interface not compatible after installed a patch.
AIEXTERNALUI empty during patch (viewtopic.php?t=48165)

I use Black Surface Theme.
I set The Enhanced User Interface to "Only for Install".
After doing that, in Maintenance dialog the textbox controls are no transparent : the backcolor is white, it sould be black.
I have the same problem for checkbox controls, and Group Box.
But it works for the static text controls, they are transparent.

I want to test refresh dialog at the initevents to correct the problem.


Regards

Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: Refresh current dialog on InitEvents

Mon Jun 28, 2021 6:28 pm

Hello Philippe,

Thank you for your followup on this.

To be fully honest with you, I doubt refreshing the dialog would fix that.

Please note that the "Black Surface" theme requries the "Enhanced User Interface" option enabled in order to be rendered.

The only themes that can be rendered by the MSI / EXE without "Enhanced User Interface" are the "Classic" themes.

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

Return to “Common Problems”