I do have one windows service which I do want to deploy in two different folders, since we need two instances of the services with both an own application config file. I created one MSI for the first instance which is working fine (installs the services correctly). Then I took a copy of the first project file and created new product IDs (Product Code and Upgrade Code). I changed the application folder for the second instance and changed the service name for the second instance.
When I now run the second MSI, it installs the services in the second application folder, but it does overwrite the first service instance when looking into the services control manager. Even when I execute the repair function of the first MSI, it does recover to the first instance of the service.
The second instance appears in the list of the services control manager when using the command utility
Code: Select all
sc create '<service name>' binpath= '<path to the .exe>'Regards,
Roy