Events list not being updated for other dialog - Advanced Installer Community

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!

cecil@coral8.com
Posts: 18
Joined: Mon Oct 27, 2008 11:45 pm

Events list not being updated for other dialog

When I click between "First Time Install" -> "Exit Dialog" and "Maintenance"-> "Exit Dialog"
the "Published Events" do not always get properly updated. That is, the events displayed
in the "Published Events" list are for the previously selected dialog.

When I click the "Subscribed Events" tab and then the "Published Events" tab,
the events list get redisplayed properly.

Internally AI *does* know the proper "Published Events" because if I attempt to
new a known "set property" to the incorrect events listing, AI correctly complains:
A control event with this name, argument and condition already exists.

The contents of the dialog GUI are correct in both cases.

This is certainly not a show-stopper, but annoying none the less. The work-around is to
select another tab and then go back to the tab you are interested in.
cecil@coral8.com
Posts: 18
Joined: Mon Oct 27, 2008 11:45 pm

Re: Events list not being updated for other dialog

BTW: I'm using version 6.8 of AI
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Events list not being updated for other dialog

Hi,

This happens because the "First Time Install" and the "Maintenance" dialog chains use the same "ExitDialog". So when you switch between them you are actually selecting the dialog again. The control events are updated only if the view is changed, so selecting the same dialog twice does not update them.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
cecil@coral8.com
Posts: 18
Joined: Mon Oct 27, 2008 11:45 pm

Re: Events list not being updated for other dialog

Thanks. Good to know that so now I can be aware.

Return to “Common Problems”