如何使用Inno Setup添加计划任务 [英] How to add a scheduled task with Inno Setup

查看:258
本文介绍了如何使用Inno Setup添加计划任务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个小的控制台应用程序,它与我的(更大的)应用程序一起安装.该设置是使用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.

我希望Inno安装程序将一个或多个任务添加到Windows调度程序(启动控制台应用程序).有办法吗?

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?

推荐答案

只需添加 <脚本的c1> 部分.在成功安装程序之后,将执行该部分中的条目.

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.

这篇关于如何使用Inno Setup添加计划任务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆