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!

rgomez
Posts: 2
Joined: Thu Mar 27, 2014 3:36 pm

Scheduled Task Attached to a Feature

Hi,

I'm new in Advanced Installer and I'm trying to create some scheduled tasks, I already created them, but some of them must targeting to exe's that not always are installed, so how can attach the task creation to the instalation of a feature?

Thanks a lot
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Scheduled Task Attached to a Feature

Hello and welcome to Advanced Installer forums,

In order to achieve that you can condition the installation of the related schedule task through the Install Condition field from the Application Settings Tab.
Since, the installation of your schedule task depends on a feature install state, you can use something like that in the condition field:
((&MainFeature = 3) AND NOT (!MainFeature = 3)).

You can take a look on the Edit Condition Dialog article which may be useful to you.

Please let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rgomez
Posts: 2
Joined: Thu Mar 27, 2014 3:36 pm

Re: Scheduled Task Attached to a Feature

Hi Dan,

Thanks a lot for your answer.

It works perfect.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Scheduled Task Attached to a Feature

You're welcome,

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”