zia
Posts: 8
Joined: Tue Feb 20, 2007 2:00 pm

How to run Custom Action after completion of installation?

Hi All!

I am using AI 2.4.1 with professional license.
I am developing an MSI which creates a TASK in "Task Scheduler" and i want to run this task after completion of installation process.
I don't know :?:how to do this, any help will be highly appreciated.

Thanks in advance.

Regards,
Zia
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Zia,
How to run Custom Action after completion of installation?
Create a custom action of type "Installed Custom Action" under "InstallExecuteSequence->InstallFinalize" standard action and choose the file you want to execute. Use (Not Installed) as "Execution Condition".
I am developing an MSI which creates a TASK in "Task Scheduler" and i want to run this task after completion of installation process.
Note that "Scheduled Tasks" feature was introduced beginning with the 4.5 version of Advanced Installer:
http://www.advancedinstaller.com/user-guide/tasks.html

Best Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”