How can I select the order of Services installed? - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Dashut
Posts: 142
Joined: Tue May 04, 2010 4:41 pm

How can I select the order of Services installed?

Using AI 7.7: I have abandoned Chained MSI's, and moved to "Features" (because if any problem occurred in one of the Chained MSI's: I was unable to resolve it efficiently).
So now I have 6 Services I install as Features.
The Services are:
1. Encoder
2. Streamer
3. Listener
4. Policy
5. Indexer
6. Updater.

Now here's my problem: I want the "Updater" Service to be the LAST to be started! I use the AdvancedInstaller internal "Services" so I do NOT created them myself with custom action. Also, after installing version 1.0.0 (for example), and then I perform an Upgrade to 1.0.1, again "Updater" Service is the first to be updated (which I do NOT want), and then the rest! But I want all other Services to be updated, and then the Updater LAST!
This is because the "Updater" Service causes the updates, and I want it to resume only after ALL Services have finished installing.

I tried to rename it (which I didn't want) and other things, but I can't seem to find how to set the order of this (so as to make Updater last).
Note that I also do NOT want to rename this Service, and I want to leave it named: "Updater".

So how can I achieve this?
Dashut.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: How can I select the order of Services installed?

Hi Dashut,

You can specify the list of dependencies for each service by filling in the Dependencies field. If service A depends on service B, B will be started first, then A.
Here is an excerpt for the Dependencies field from our help:
Dependencies - the list of services or the load ordering groups that must be started before this service starts. Separate names in the list by [~] (with the brackets). If the service has no dependencies, then leave this field empty.
.
"Updater" Service is the first to be updated
I am not sure what you mean by this. What makes you think the Service is updated first? Is it the first to stop? Again, my above suggestion on using Dependencies might fix this.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”