Hi there, Our WiX installer has the following action: <ServiceControl Id="SomeId" Name="[AgentServiceName]" Stop="both" Remove="uninstall" />
When our product is upgraded or uninstalled, the service is properly stopped by the MSI. However, if the product is reinstalled, such as when re-running the installer with the /qn flag, the product is reinstalled without the service being stopped. The StopServices action appears to be executing: MSI (s) (A4:84) [10:21:42:866]: Doing action: StopServices MSI (s) (A4:84) [10:21:42:866]: Note: 1: 2205 2: 3: ActionText Action ended 10:21:42: UnpublishFeatures. Return value 1. Action start 10:21:42: StopServices. MSI (s) (A4:84) [10:21:42:866]: Skipping action: DeleteServices (condition is false) MSI (s) (A4:84) [10:21:42:866]: Skipping action: UninstallDriver (condition is false) MSI (s) (A4:84) [10:21:42:866]: Doing action: RemoveFiles MSI (s) (A4:84) [10:21:42:866]: Note: 1: 2205 2: 3: ActionText Action ended 10:21:42: StopServices. Return value 1. How do I make the service stop during a repair? Thanks, Soren ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users