[wix-users] Start windows service with some parameters only once
Oleg Kolomiytsev
o.kolomiytsev at avantize.com
Mon Feb 19 06:02:12 PST 2018
Hi all,
I am looking for a way to start windows service via wixtoolset with some
parameters only once (during installing my app). I am trying to achive
this goal with "Arguments" attribute from "ServiceInstall" element but
params are passed each time I restart my service.
<ServiceInstall Id="Service Id"
Name="Service Name"
DisplayName="Service Display Name"
Interactive="yes"
Vital="yes"
Start="auto"
Type="ownProcess"
Description="Service Description"
ErrorControl="normal"
Arguments="--param" />
Is there a way to pass arguments to windows service only once (when
application is installed)
More information about the wix-users
mailing list