I am struggling with very strange situation with wix installer. I have custom BA app which installs windows service and removes it on uninstall. On Win XP everything is working perfectly but on Win 10 service is not stopped and not removed though uninstallation processed successfully. In log files I cannot see any errors related to this. Any ideas?
This is service install configuration:
<ServiceInstall
Id="MyServiceInstaller"
Type="ownProcess"
Name="MyService"
DisplayName="My Service"
Description="My Service"
Start="auto"
Account="[SERVICEACCOUNT]"
Password="[SERVICEPASSWORD]"
ErrorControl="normal" />
<ServiceControl Id="StartMyService"
Name="MyService"
Start="install"
Wait="no" />
<ServiceControl Id="StopMyService"
Name="MyService"
Stop="both"
Remove="uninstall"
Wait="yes" />