csanback
Posts: 1
Joined: Mon Dec 10, 2018 6:16 pm

Scheduled Task - Synchronize Across Time Zones

When adding a scheduled task either by hand or through the xml import (with the box checked) the check box does not get checked when it is installed on machines. Is this something that we have to implement through a custom action or what? If so, how?
2018-12-10_12-26-04.png
2018-12-10_12-26-04.png (35.69 KiB) Viewed 7049 times
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Scheduled Task - Synchronize Across Time Zones

Hello,

Unfortunately our Scheduled Tasks implementation doesn't support the "Synchronize across time zones" option. We will analyze this new feature and maybe we will implement it in a future version of Advanced Installer.

Until then, if you need to create a Scheduled Task with this option enabled, you could create a scheduled task using an XML file added in "Files and Folders" page then you can use a custom action which will launch the "Schtasks.exe" tool with a proper command line.

The custom action should be added after "Install Execution Stage -> Add Resources" actions group and should run as deferred with no impersonation.

Please take a look on the Time Trigger Example (XML) article.

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”