I am trying to create a wix installer to install and start a Windows Service.
I am getting the following error:
"Service"() could not be installed. Verify that you have sufficient privileges to install system services."
Below is the script i am using:
<File Id="filFBC5F84CB0C200C1A2F8FFB335A07753" KeyPath="yes"
Source="..\..\TestDotNet\Monarch.Server.WCF\EFI.Monarch.Server\bin\Release \EFIMonarchServer.exe" />
<ServiceInstall Id="MonarchServerServiceInstaller"
Type="ownProcess" Vital="yes" Name="EFI Monarch Server"
DisplayName="EFI Monarch Server"
Description="Testing EFI Monarch Server"
Start="auto" Account="LocalSystem"
ErrorControl="ignore" Interactive="yes" >
</ServiceInstall>
<ServiceControl Id="StartService" Start="install"
Stop="both" Remove="uninstall"
Name="DiskManagement" Wait="yes" />