$uka
Posts: 13
Joined: Mon Jan 09, 2017 8:51 pm

Scheduled tasks problem

Hello,

I've found a problem with Advanced Installer 13.5.
When using Scheduled Tasks I can't specify to activate autostart task at once.
Start time is textbox is inactive.

Textbox always shows my task activation time 6:13:20 PM. (See the screenshot)
If my program user will restart computer sooner then TaskScheduler task will not be activated and thus my program will not start - this is not acceptable for my company.

Is there any workarounds to make task activate as soon as it's installed? If not can you create a hotfix for me (my maintenace plan is expired)?

Thanks
Attachments
scheduled.png
scheduled.png (7.4 KiB) Viewed 3246 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Scheduled tasks problem

Hello,

Indeed, this behavior is caused by a limitation of our "Scheduled Tasks" support. However, in order to avoid this limitation you can proceed like this:
1. set the "Schedule" combo box to "Daily"
2. set the "Start time" field to 12:00:00 AM
3. set the "Schedule" combo box to "At Logon"
4. rebuild and test the installation

Also, we have added an improvement in our customer feature requests list and hopefully such an improvement (configure the Start Time option for all schedule types) will be available in the future. Thank you for your suggestion. We will update this thread when the enhancement will be out.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
$uka
Posts: 13
Joined: Mon Jan 09, 2017 8:51 pm

Re: Scheduled tasks problem

Hi,

Setting it to 0 on aip file seems to work, then task is activated at 12.00AM. Thanks for the response!
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Scheduled tasks problem

You're always welcome.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”