views:

115

answers:

1

I'm deploying a C# application using the Setup Wizard project in Visual Studio 2008.

What is the simplest way for me to have Windows schedule my application to run at regular intervals (e.g. every 8 hours)? I prefer if this scheduling would happen during the application's installation to simplify setup for the end-user.

Thanks!

A: 

Scheduled task is your way to go. Take a look at this page for how to setup the task with a script.

rerun
Then I'd have to bundle that script in with the installer and take care of deleting it after it schedules the other program to run. There isn't just a nice way to have the Setup Wizard do this for me?
mrduclaw
you can do anything in the setup component you could do in the script.
rerun