インストール中に、ServiceInstall および ServiceControl タグを使用してサービスをインストールしています。しかし、私のサービスは実行されていません。「サービスを開始するのに十分な権限があることを確認してください」というエラー メッセージが表示されます。しかし、私は管理者グループにいます。Wix ver3.0を使用しています。
コードスニペットはこちら、
<File Id='myexe' Name='myexe.exe' DiskId='1'
Source='myexe.exe' Vital='yes'>
</File>
<ServiceInstall Id='myService' DisplayName='MySampleService'
Name='MySampleService'
ErrorControl='normal' Start='auto'
Type='ownProcess' Vital='yes' />
<ServiceControl Id="StartService"
Name="MySampleService" Start="install" Wait="yes" />
<ServiceControl Id="StopService" Name="MySampleService"
Stop="both" Wait="yes" Remove="uninstall" />
私を助けてください。