How to uncheck the task scheduler item - 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!

dicky.tsai
Posts: 2
Joined: Wed Jul 18, 2012 1:36 am

How to uncheck the task scheduler item

I use the AI enterprise version 9.3. I use "Scheduled Tasks" to create a task and the task can run my application on Windows 8.
The attatched files "HIDMonitorTask1.png" and "HIDMonitorTask2.png" are the snapshots of my scheduled task.
I want to uncheck the items of the oblong area with red color, how to uncheck the items by using the "Scheduled Tasks" of the AI ?
Please advise me, Thanks!!
Attachments
HIDMonitorTask2.png
HIDMonitorTask2.png (40.52 KiB) Viewed 3593 times
HIDMonitorTask1.png
HIDMonitorTask1.png (46.03 KiB) Viewed 3593 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: How to uncheck the task scheduler item

Hello and welcome to Advanced Installer forums,

I'm afraid we don't have a predefined support for this. Please keep in mind that when a scheduled task is created on "Scheduled Tasks" page it will be configured using settings that are set from "New Task" dialog and, also it will use the system default settings.

In order to modify these system default settings for a scheduled task you can use a custom action which will modify the related settings after task is created. You can schedule the related custom action under "Install Execution Stage" -> "Remove Resources" standard action on "Custom Action" page. Also, the custom action should run as "Deferred with no impersonation".

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dicky.tsai
Posts: 2
Joined: Wed Jul 18, 2012 1:36 am

Re: How to uncheck the task scheduler item

Hi Daniel,
Thank you for your kindly answer.
I create a new custom action under "Install Execution Stage" -> "Remove Resources" standard action.
The attatched files "HIDMonitorTask3.png" is the snapshots of the custom action.
Would you please tell me if the custom action is correct?
Would you please send the example .aip file to me about using custom action to start task scheduler?
Thank you very much!!
Attachments
HIDMonitorTask3.PNG
HIDMonitorTask3.PNG (162.63 KiB) Viewed 3574 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: How to uncheck the task scheduler item

Hello,
Would you please tell me if the custom action is correct?

Yes, the custom action is correctly configured as long as your "RESULT_PROPERTY_SCHTASKS.EXE" property will be correctly resolved to your exe file path.
Would you please send the example .aip file to me about using custom action to start task scheduler?

Unfortunately, we don't have any samples regarding this scenario.

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

Return to “Common Problems”