[wix-users] Windows Service Install and start - error

Hoover, Jacob Jacob.Hoover at greenheck.com
Thu Jan 4 11:00:54 PST 2018


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