I am using task creation to run my application at system startup. But on many computers it does not get executed through the scheduled task. Why this is why?
I also have some other questions.
1) In the articles, it means creating a hidden task.
2) What does this mean: Run as soon as possible after a scheduled start is missed?
Can this be the reason why some computers do not get to run my task?
This could happen due to an Advanced Installer issue. When using "At system Startup" schedule option we incorrectly set for the related task the activation time set in the "Start Time" field (which is disabled). Therefore at install time if the setup is installed at a time (in the day) sooner than the time (BUILD time) set into your setup project at build time, then the task won't be triggered before the BUILD time in the day.
A fix for this issue will be added in a future version of Advanced Installer. We will update this thread as soon as the fix will be out.
As a workaround, can you please proceed like this:
1. go to "Scheduled Task" page and double click on your task
2. go to "Schedule" tab and set the "Schedule" field to "Daily"
3. set the "Start time" field to 12:00:00 AM
4. set the Schedule" field back to your desired schedule type (e.g. "At system startup")
5. rebuild and test again the setup package
Please send us your .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them.
If you could replicate the issue into a sample project or if you could find a detailed test case which we can use this will be extremely useful for us.
I'm afraid I don't fully understand what you mean. Did my previous reply helped you to fix the problem? If not, can you please give us again more details about the issue you are currently facing with?
FOLLOW US
Get the latest news in Application Packaging