Update Actions and File Execution event sequence

Hello,What is the precedence of the update actions, i.e. stopping before the update, and starting a Windows service after the update, vs. the files being executed "before updating has begun" , and "after updating is complete".Does starting a Windows service after the update happen before the file being executed "after the updating is complete".Thank you very much.