Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add a scheduled task with Inno Setup

Tags:

inno-setup

I have a small console application that is installed along my (bigger) application. The setup is created with Inno Setup, which works very nice.

I want Inno Setup to add one or more tasks to the windows scheduler (that starts the console app). Is there a way to do that?

like image 589
real_yggdrasil Avatar asked Sep 03 '12 14:09

real_yggdrasil


People also ask

How do I create a new scheduled task?

Open Start, Search for "Task Scheduler" and press enter to open "Task Scheduler". Right-click on the "Task Scheduler Library" and click on the "New Folder" option. Enter the name of the New folder and click on the "OK" button. Navigate the following: Task Scheduler Library > New Folder, then click on "Create Task".


1 Answers

Simply add the task scheduler command line entries to the [Run] section of your script. The entries in that section are executed after the program is successfully installed.

like image 119
TLama Avatar answered Oct 05 '22 02:10

TLama