DeleteServices Action

Windows Installer

DeleteServices Action

The DeleteServices action stops a service and removes its registration from the system. This action queries the ServiceControl table.

Sequence Restrictions

The services actions must be used in the following sequence:

  1. StopServices
  2. DeleteServices
  3. Any of the following actions: InstallFiles, RemoveFiles, DuplicateFiles, MoveFiles, PatchFiles, and RemoveDuplicateFiles actions.
  4. InstallServices action
  5. StartServices

ActionData Messages

Field Description of action data
[1] Service display name.
[2] Service name.

 

Remarks

This action requires the user be an administrator or have elevated privileges with permission to delete services or that the application be part of a managed installation.

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.