I have a Windows Service that I am using a Setup Project to create an MSI to install the service. This works fine for the initial installation of the Windows Service, but when attempting to do subsequent installs (i.e. new version, new MSI) it progresses through the Installation screens, the progress bar gets almost to the end and then I get a message stating
"Error 1001. The specified service already exists".
Is there a trick to making the installer work for subsequent installations of Windows Services?
In my installer package I have done the following:
- DetectNewerInstalledVersion: True
- Updated ProductCode
- RemovePreviousVersion: True
- Updated Version