Try this Format:
<ServiceInstall Id="WhateverServiceInstall"
Name="WhateverService"
DisplayName="WhateverService"
Type="ownProcess"
Start="auto"
ErrorControl="normal"
Description="WhateverService Service"
Vital="yes">
<PermissionEx xmlns="http://schemas.microsoft.com/wix/UtilExtension"
User="Administrator"
ServiceChangeConfig="yes"
ServiceEnumerateDependents="yes"
ChangePermission="yes"
ServiceInterrogate="yes"
ServicePauseContinue="yes"
ServiceQueryConfig="yes"
ServiceQueryStatus="yes"
ServiceStart="yes"
ServiceStop="yes" />
<ServiceConfig xmlns="http://schemas.microsoft.com/wix/UtilExtension"
RebootMessage ="Problem with Service requires a reboot"
ResetPeriodInDays="3"
RestartServiceDelayInSeconds="5"
FirstFailureActionType="restart"
SecondFailureActionType="restart"
ThirdFailureActionType="reboot"/>
<ServiceDependency Id="MSSQLServer"/>
</ServiceInstall>
<ServiceControl Id="WhateverServiceServiceInstaller"
Name="WhateverService"
Start="install"
Stop="both"
Remove="uninstall"
Wait="no" />
Quoting [email protected]:
>
>
> Any idea how to get around the reference error to UtilExtension?
> Or, is there a new/different way of setting a service failure action?
>
>
>
<snip>
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users