Publish Event Condition Not Firing During Maintenance Mode - 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!

sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Publish Event Condition Not Firing During Maintenance Mode

I install the product with said feature, run maintenance mode and add the said feature but this condition doesn't seem to fire:

((&DiscoverStudioFeature = 3) AND NOT (!DiscoverStudioFeature = 3))

I want it to fire if the feature is originally installed or added later during maintenance mode (guess I'll also need a second one for when the feature gets uninstalled too).
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Publish Event Condition Not Firing During Maintenance Mo

Hi,

If you try to edit the published event and check the "Show entire condition" checkbox, your condition will look like follows:

Code: Select all

AI_INSTALL AND((&DiscoverStudioFeature = 3) AND NOT (!DiscoverStudioFeature = 3))
Can you try to remove the "AI_INSTALL" part of the condition and see if see if the behavior persists?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Re: Publish Event Condition Not Firing During Maintenance Mo

Eusebiu,

Yes, removing that resolved the issue, thanks!

Scott
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Publish Event Condition Not Firing During Maintenance Mo

You're welcome. I'm glad you got this working.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”