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
For Gerrit Dashboard: MB-23430 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
77112,3 | MB-23430, MB-23431: Improve MSI installation robustness | master | voltron | Status: MERGED | +2 | +1 |