I have some problems with WIX Services. My msi installer can create a Service, but after creation, the installer cannot start it. There is my code that I use for the Service.
<Component Id="borland_comp" Guid="{6F723B32-E95A-4545-87FD-0B5F7B114FCA}" DiskId="1"> <File Id="server_ScktSrvr.exe" Name="ScktSrvr.exe" KeyPath="yes"/> <ServiceInstall Id="BORLAND_Socket" Name="Borland Socket Server" DisplayName="Borland Socket Server" Type="shareProcess" Start="auto" ErrorControl="normal" Description="Borland Socket Server" /> <ServiceControl Id="StartWixServiceInstaller" Name="Borland Socket Server" Start="install" Wait="no" /> <ServiceControl Id="StopWixServiceInstaller" Name="Borland Socket Server" Stop="both" Wait="yes" Remove="uninstall"/> </Component>
I would combine two service controls to become:
<ServiceControl Id="scBSS" Name="Borland Socket Server" Stop="both" Start="install" Wait="yes" Remove="uninstall"/>
, , . ? ? , ? / , , , - ?
Source: https://habr.com/ru/post/1773838/More articles:Can updating a dataset with the same value cause a basic update? - c #How to authenticate, filter and verify the result of oData based on WCF? - filterContextual switching of streams - c ++WCF Request Interceptors: Does this MSDN Check for Security Risk? - securityLive story from stdin - plotВ Flex, как мне настроить размер шрифта, чтобы выровнять ярлык с иконкой? - flex"Syntax error, unexpected T_STRING error" with goto - stringIs the new Macbook Air 13 "fast enough to develop Xcode and iOS? - iosПочему функция не определена в файле .o для этого класса С++? - c++URLRewriter for IIS 7 returns 404 Server Error - asp.netAll Articles