0

複数の .net Windows サービスをインストールしています。すべてのサービスは、すべての依存関係を適切なフォルダーにインストールします。ただし、実行されるのは最初の 1 つだけです。他のサービスはエラー 1053 を返します: サービスは応答または制御要求を適切なタイミングで開始しませんでした。

考え?

編集: これには 30 秒かかりません。約1秒で発生します。

編集:

 <ComponentGroup Id="IngestServiceComponents" Directory="IngestINSTALLFOLDER">
  <Component Id="IngestService" Guid="5a95ee28-c9da-46b9-8396-cef98fa8fcbb">
    <File Id="IssueIngestService.exe" Name="IngestService.exe" Source="..\IngestService\bin\Release\IngestService.exe" Vital="yes" KeyPath="yes" DiskId="1"/>
    <File Id="IngestService.exe.config" Name="IngestService.exe.config" Source="..\IngestService\bin\Release\IngestService.exe.config" Vital="yes" KeyPath="no" DiskId="1"/>
    <File Id="Libraries2_1" Name="Libraries2.dll" Source="..\IngestService\bin\Release\Libraries2.dll" Vital="yes" KeyPath="no" DiskId="1"/>
    <File Id="DLibraries2_1" Name="DLibraries2.dll" Source="..\IngestService\bin\Release\DLibraries2.dll" Vital="yes" KeyPath="no" DiskId="1"/>
    <File Id="ICSharpCode.SharpZipLib_1" Name="ICSharpCode.SharpZipLib.dll" Source="..\..\Assemblies\ICSharpCode.SharpZipLib.dll" Vital="yes" KeyPath="no" DiskId="1"/>
    <File Id="ChilkatDotNet45_1" Name="ChilkatDotNet45.dll" Source="..\..\Assemblies\ChilkatDotNet45.dll" Vital="yes" KeyPath="no" DiskId="1"/>
    <File Id="MediaInfo_1" Name="MediaInfo.dll" Source="..\..\Assemblies\MediaInfo.dll" Vital="yes" KeyPath="no" DiskId="1"/>
    <File Id="XmpToolkit_1" Name="XmpToolkit.dll" Source="..\..\Assemblies\XmpToolkit.dll" Vital="yes" KeyPath="no" DiskId="1"/>
    <File Id="ffmpeg.exe_1" Name="ffmpeg.exe" Source="..\..\Assemblies\ffmpeg.exe" Vital="yes" KeyPath="no" DiskId="1"/>
    <ServiceInstall
                Id="IngestServiceInstaller"
                Type="ownProcess"
                Vital="yes"
                Name="IngestService"
                DisplayName="Ingest"
                Description="Ingest Service"
                Start="auto"
      Account="user"
      Password="password"
                ErrorControl="ignore"
                Interactive="no">
    </ServiceInstall>
    <ServiceControl Id="IngestStartService" Stop="both" Remove="uninstall" Name="IngestService" Wait="no" />
  </Component>
</ComponentGroup>
4

3 に答える 3