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!

Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Need Some Help Tweaking Tomcat Port Configuration

Hello Andre,

Thank you for the sent sample. I've tested the scenario and I replicated the behavior. It seems this happens because you have added the "UpdateMsiEditControls" control event after the rest of control events (Set installer property values) which are modifying the related properties. Please note that the "UpdateMsiEditControls" control event should be scheduled before the control events which are modifying the related properties.

So, can you please move your "UpdateMsiEditControls" event as the first event in the published events list, rebuild your project and see if the behavior still persists? I've also edited and sent you back your sample which successfully ran on our side.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
AndreG
Posts: 57
Joined: Tue Jun 10, 2014 11:41 am

Re: Need Some Help Tweaking Tomcat Port Configuration

Daniel wrote:Please note that the "UpdateMsiEditControls" control event should be scheduled before the control events which are modifying the related properties.
Well well, after all that the solution is so simple. I didn't actually notice the note in the documentation that pointed that out.. For the sake of clarity, all the documentation I've found about this feature talks about how people need to update the controls after setting an installer property, so all round it's a little misleading. Perhaps that could be clarified a bit in the docs and/or UI note for future reference?

As a result of this, I understood this action to slot in after editing the properties in order to refresh the installer controls. So in my mind it made more sense to edit the properties first.

Either way, I doubt I'll be forgetting this one anytime soon.. :)
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Need Some Help Tweaking Tomcat Port Configuration

Hello Andre,
Well well, after all that the solution is so simple. I didn't actually notice the note in the documentation that pointed that out.. For the sake of clarity, all the documentation I've found about this feature talks about how people need to update the controls after setting an installer property, so all round it's a little misleading. Perhaps that could be clarified a bit in the docs and/or UI note for future reference?
I agree with you. We will definitely update our user guide article to emphasize this particularity. Thank you for bringing this to our attention.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”