[wix-users] Windows Service Install and start - error
Harinatha Narisetty
harinatha.narisetty at us.abb.com
Thu Jan 4 11:09:45 PST 2018
Sure.. But for any reason, if the service is unable to start, the installation should not be rolled back. I want the installer to complete the installation. How do I achieve this?
Thanks
Hari
-----Original Message-----
From: Hoover, Jacob [mailto:Jacob.Hoover at greenheck.com]
Sent: Thursday, January 4, 2018 2:01 PM
To: Harinatha Narisetty <harinatha.narisetty at us.abb.com>; WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: RE: Windows Service Install and start - error
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Since your BA is gathering the credentials, why not verify them before allowing the plan?
-----Original Message-----
From: Harinatha Narisetty [mailto:harinatha.narisetty at us.abb.com]
Sent: Thursday, January 4, 2018 11:06 AM
To: Hoover, Jacob <Jacob.Hoover at greenheck.com>; WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: RE: Windows Service Install and start - error
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