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!

mylt520@proton.me
Posts: 1
Joined: Wed Dec 11, 2024 4:10 am

Scheduled tasks are deleted during uninstallation

I set up a scheduled task in the installer, but I don't want the scheduled task to be deleted during the uninstallation process. How can I set it up?
Liviu
Posts: 1420
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Scheduled tasks are deleted during uninstallation

Hello and welcome to our forums,

To prevent the scheduled task removal during the upgrade you can go to the Table Editor page -> InstallExecuteSequence table and change the condition for the AI_UninstallTasks2 row to: (REMOVE="ALL" AND NOT UPGRADINGPRODUCTCODE)

If you never want to remove the task, you can add a false condition like this: 1=2

Please keep in mind that our Table Editor feature is available only in an Enterprise or higher project type.
AI_UninstallTasks2.png
AI_UninstallTasks2.png (76.96 KiB) Viewed 1841 times

Let us know if you have any questions.

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

Return to “Common Problems”