Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Installer
Standard Actions
 DeleteServices Action

  Switch on low bandwidth view
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

FieldDescription 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: 6/25/2009

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker