I have developed the windows service and created the MSI
installer using Wix toolset
, then distributed to users. it is working as expected. Let\'s name
Configuration Issue: OK, now that I think I have read this properly I think you have a basic service configuration issue that prevents start of the service. The upgrade process probably removes something it shouldn't or it leaves the configuration files in an inconsistent state.
In other words: Something is likely wrong in the service configuration files after upgrade scenarios - or something is missing - in the selection of files or registry entries.
Most Likely: I think your service binary just isn't the right version after upgrade. Check the version number after upgrade. I bet you will find the version 1 service binary.
Tests: There are a few tests I would try:
RemoveExistingProducts
early in the InstallExecuteSequence
. This is just to test whether that works or not - it is not intended as a permanent fix. The idea is that the complete removal of the old version before installing the new one could remove the inconsistency you otherwise see in the configuration files.The check-lists here could spark some ideas: