Scheduled Task - Advanced Installer Community
mpande
Posts: 64
Joined: Tue Sep 28, 2021 1:52 pm

Scheduled Task

Hi! Is it possible to set the Install Condition in such a way that a scheduled task is not recreated during an upgrade?
mpande
Posts: 64
Joined: Tue Sep 28, 2021 1:52 pm

Re: Scheduled Task

I should be clear, our goal is to have a scheduled task created during the original install, and then have that scheduled task remain in place unmodified even if upgrades take place.
Liviu
Posts: 1420
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Scheduled Task

Hello,

In order to achieve that you can condition the installation of the related schedule task through the "Install Condition" field in the "Task" tab of the Task properties dialog. Just add the "OLDPRODUCTS" condition in that field.
task condition.png
task condition.png (69.11 KiB) Viewed 2568 times

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

If you have other questions, please let us know.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”