WIXは仮想アカウントを直接サポートしていないようです。ただし、仮想アカウントはサービスから得られます。したがって、サービスを設定する際には、アカウントNT Service\<ServiceName>
(<ServiceName>
はアカウントを使用するサービスの名前)を使用します。例については
:その後
<ServiceInstall Id="ServiceInstaller" Type="ownProcess" Vital="yes"
Name="OurAgent" DisplayName="our agent name"
Account="NT Service\OurAgent"
Description="Our Agent Description" Start="auto"
ErrorControl="critical" Interactive="no">
<ServiceConfig DelayedAutoStart="yes" OnInstall="yes" OnReinstall="yes"/>
</ServiceInstall>
、あなたが必要なグループに追加するには、このコマンドを使用することができます。
net localgroup "Performance Monitor Users" /add "nt service\OurAgent"
ウィックス静かな実行ツールは、このために有用であった:
http://wixtoolset.org/documentation/manual/v3/customactions/qtexec.html