Hello,
Indeed, the
Schedule task feature is available starting with the
Enterprise edition of Advanced Installer.
Please note that you can integrate the updater with your Java application. Please take a look on the
How do I integrate the Advanced Updater with my java application? article with related information for hints and guidance.
There are other approaches for this too.
For example, you can use the
Schtasks.exe tool to create scheduled tasks.
You can launch this tool by using the predefined
Launch file custom action.
Edit its properties like that:
- File To Launch: C:\windows\system32\schtasks.exe
- Command Line: /Create /SC weekly /D MON,TUE,WED,THU,FRI /TN MyDailyBackup /ST 23:00 /TR c:\backup.cmd /RU MyDomain\MyLogin /RP MyPassword
Please note that this custom action require
administrative privileges.
Another approach is to create the schedule task programmatically, for example you can create your custom action as
a custom action written in C# or
a custom action written in C++. Please take a look on the
Creating Scheduled Tasks article and on the
Options to integrate and debug custom actions article which may be useful to you.
Then you can go in the
“Custom Actions” page and add a predefined
Launch attached file custom action with sequence. This type of custom action can execute an application (EXE or DLL) or run a script (VBScript or Java script). Also, the source file will be embedded in the MSI file but will not be deployed at install time with the other application files.
If you are interested in purchasing an Enterprise license key, you can contact us at
support at advancedinstaller dot com and maybe we'll be able to offer you a discount.
Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.
Best regards,
Dan
FOLLOW US
Get the latest news in Application Packaging