Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-23430

MSI: service install/uninstall scripts are fragile

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.0.0
    • 5.0.0
    • installer
    • None
    • Untriaged
    • Windows 64-bit
    • Unknown

    Description

      The service start/stop/register/unregister scripts are fragile - they will fail if the system isn't exactly right. For instance, the stop script will return an error if the service is already stopped or doesn't exist. These errors cause the MSI uninstall procedure to fail, leaving the system in a bad state where the product cannot be completely removed.

      These scripts should be more robust, and possibly they should be consolidated - eg. service_unregister.bat should stop the service if it is running, which would eliminate the need for service_stop.bat. If they are consolidated, the Wix configuration can be simplified.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ceej Chris Hillery
            ceej Chris Hillery
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty