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.
StopServices
DeleteServices
Any of the following actions:
InstallFiles,
RemoveFiles,
DuplicateFiles,
MoveFiles,
PatchFiles, and
RemoveDuplicateFiles actions.
InstallServices
StartServices
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.
Send comments about this topic to Microsoft
Build date: 11/12/2009