[wix-users] Windows Service Install and start - error
Harinatha Narisetty
harinatha.narisetty at us.abb.com
Thu Jan 4 09:05:48 PST 2018
Any help on this?
-----Original Message-----
From: Harinatha Narisetty
Sent: Thursday, January 4, 2018 10:48 AM
To: 'Hoover, Jacob' <Jacob.Hoover at greenheck.com>; WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Windows Service Install and start - error
Hi,
We have few windows services installed and started as part of setup. We collect the credentials for service in bootstrapper screens. When user enters invalid credentials, the setup fails to start the service and roll backs the entire installation. How do we suppress this error and simply install and ignore the service start error?
Here is my service script.
<ServiceInstall Id="AutomationServiceInstall" Name="ABBAutomationService-$(var.PlainVersionNumber)" DisplayName="ABB Enterprise Software $(var.DisplayVersion) Automation Service" Description="Executes scheduled activities based on configured schedule information." Start="demand" Interactive="no" Type="ownProcess" Vital="no" ErrorControl="ignore" Account="[SERVICE_ACCOUNT_NAME]" Password="[SERVICE_ACCOUNT_PASSWORD]" > </ServiceInstall>
<ServiceControl Id="AutomationServiceControl" Name="ABBAutomationService-$(var.PlainVersionNumber)" Stop="both" Remove="uninstall" Wait="yes" />
Thanks
Hari
More information about the wix-users
mailing list