Failed to install and start Windows services in WiX installer
问题 I am creating an MSI package for installing and starting Windows services using WiX v3.8. The code as follows: <Component Id="INSTALLAPSSERVICE" Guid="991D5F82-0E77-4FE3-B1D8-4C941B84C7CD" Win64="yes"> <File Id="ApsService.exe" Name="ApsService.exe" Source="Resource\ApsService.exe" KeyPath="yes" Vital="yes" DiskId="1"></File> <ServiceInstall Id="ApsServiceInstaller" Name="ApsService" DisplayName="ApsService" Type="ownProcess" Start="auto" ErrorControl="normal" Description="A monitor service