The InstallServices action registers a service for the system. This action queries the ServiceInstall table.
Sequence Restrictions
The services action must be used in the following sequence.
Any of the following actions: InstallFiles, RemoveFiles, DuplicateFiles, MoveFiles, PatchFiles, and RemoveDuplicateFiles actions.
InstallServices
ActionData Messages
There are no ActionData messages.
Remarks
This action requires that the user be an administrator or have elevated privileges with permission to install services or that the application be part of a managed installation.
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
