v.rooijen
Posts: 9
Joined: Tue Jun 26, 2012 7:44 am

Order of execution

I have split up my actions in different features under Organisation.
Now I would like to change the order of execution of there, unfortunately it is not from top to bottom.
I have added registration of an IIS site, also starting of a Windows Service.

The IIS site should be created, before the Windows Service starts (and is listed above the service in the feature list), however, the installation first tries to start the service.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Order of execution

Hello,
The IIS site should be created, before the Windows Service starts (and is listed above the service in the feature list), however, the installation first tries to start the service.
The custom actions order has nothing to do with features in the Organization page. The actions are executed depending on the standard actions they are scheduled after.

You can try the following:
- go to Table Editor -> InstallExecuteSequence
- set "StartServices" action's sequence number to 6510 (this number should greater then "AI_IIsInstall" action's)

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”