Removing a Scheduled Task using AdvandedIntaller - 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!

Dashut
Posts: 142
Joined: Tue May 04, 2010 4:41 pm

Removing a Scheduled Task using AdvandedIntaller

Using AI 7.7:
I read the post: http://www.advancedinstaller.com/forums ... 59&start=0
and understand that this (removing a scheduled task using AdvancedInstaller and not "homemade" vbs scripts...) was on the TODO list long time ago (11 Apr 2006!) ...
Is this functional? How do I do this using AdvancedInstaller (and not with some VBS "hacking" or custom action)?

I tried to find a way, but couldn't find it.
Dashut.

P.S: http://www.advancedinstaller.com/user-guide/tasks.html also doesn't explain how this can be done.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Removing a Scheduled Task using AdvandedIntaller

Hi Dashut,

Please note that in the post you mentioned BillStewart was referring to conditionally removing a scheduled task installed by the package. If you want to remove an already existing scheduled task, the only solution is a custom action.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dashut
Posts: 142
Joined: Tue May 04, 2010 4:41 pm

Re: Removing a Scheduled Task using AdvandedIntaller

What was critical for me was that if I upgrade and choose a different set of the scheduled tasks, then it will remove the ones that are not relevant and use the selected ones.
Since I'm using "uninstall first and then install": it works as expected! Since any scheduled task that was created by the first time installation (or previous upgrade) was removed by the "internal uninstall" process, and then when reinstalling/upgrading: the new selection of scheduled tasks was inserted/created.

So all's good.
Sorry for the trouble.
Dashut.

Return to “Common Problems”