Managing Application Update Scheduled Tasks in Windows Task Scheduler

InstallShield 2024

Project: This information applies to the following project types:

Advanced UI
Suite/Advanced UI

The Suite/Advanced UI project type is available in the Premier edition of InstallShield. For information about the differences between these two project types, see Advanced UI Projects vs. Suite/Advanced UI Projects

When an Advanced UI or Suite/Advanced UI installer runs, it typically triggers the creation of scheduled tasks in the Windows Task Scheduler on the target system. These tasks are configured to manage application updates, ensuring the installed application can periodically check for and apply updates. The frequency and behavior of these tasks are determined by the configuration defined in the App Updates Check area on the Updates tab.

However, If you want to skip the creation of these scheduled tasks for application updates during installation, you can select the check box that appears on the installation dialog. For this type of check box, initially a check box control must be added under any wizard page on the Wizard Interface explorer in the User Interface view and configured using the ISSKIPAPPUPDATES property. The following procedure describes how to add and configure a required check box control in your project.

To add and configure the check box control in your project to skip application updates during installation:

1. In the View List under Behavior and Logic, click the Property Manager.
2. Click the New Property button to create the property, and in the Name column, enter ISSKIPAPPUPDATES.
3. In the Value column, enter a value for the property. The default value is false.
4. In the View List under User Interface, click Wizard Interface.
5. In the Wizard Interface explorer, expand the Wizard Pages node and add a check box control under the wizard page on which you want to display the check box during installation, such as the InstallationWelcome wizard page.
6. Set the Property setting of the check box control to ISSKIPAPPUPDATES==true only.
7. Set the Text setting of the check box control to display the desired text with the check box on the installation dialog. For example, you can set this setting to Skip updates during installation.
8. Set the Width setting of the check box control as needed for better visibility of the check box with the predefined text on the installation dialog. For example, you can set this setting to 200.

During the installation process, the check box with the predefined text, as specified in the Text setting, will appear on the predefined installation dialog. Selecting this check box will prevent or skip the creation of scheduled tasks for application updates in the Windows Task Scheduler during installation on the target system. Conversely, clearing the check box will allow these tasks to be created. By default, this check box is cleared.

Note:To skip the creation of all scheduled tasks for application updates in the Windows Task Scheduler during installation on the target system, you must configure the check box control using the ISSKIPAPPUPDATES property before running the installer on the target system.