Announcement

Collapse
No announcement yet.

Remove services during Rollback

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Remove services during Rollback

    Hi,
    My MSI install services.
    If error occured after the services was installed, they are not removed from system in the Rollback process.

    I have Custom Action which successfully remove the services during regular uninstall process.

    How can I set those Custom Action to take into effect during Rollback also ?

    Thanks

  • #2
    Without seeing your project, it is hard to pinpiont the problem. If you are using the Actions > Services > Create Service method for creating the service, then I believe that the changes done to the system should be automatically undone in case of a rollback and uninstall. If you are using Custom Actions instead of the functions Windows Installer provides for handling services, then you may need to include actions for removing the service. For example, do you have a Custom action which is scheduled as "Deferred - Rollback" to undo these changes, assuming that you used a CA to create them?

    Ulrich

    Comment


    • #3
      Hi,
      I use my own tool to install the services, so like u say it's not should be automatically in rollback.
      I will try to include those CA's in "Deferred - Rollback".

      Thanks

      Comment

      Working...
      X