I have a startup application that relies on a service (which also runs at startup). Will services always run first?
My goal is to know whether my application can assume that if the service is not running - it hasn't been installed (or some error has occurred) and the user should be notified or the service should be installed. If this is not necessarily true (that services run first), I would have the app wait some time and recheck before alerting the user or trying to install the service. (10 seconds? 2 minutes?)
EDIT
I am aware that a service might be intentionally not executed immediately (Delayed Start). I'm not referring to that.
More info: The service is mine as well. Installed by the app on first run asking the user for admin privileges. And the app is a UI app so can't run as a Service.