[wix-users] Start windows service with some parameters only once

Christopher Painter chrpai at iswix.com
Tue Feb 20 09:13:25 PST 2018


ServiceInstall and SeviceControl elements. 

Sent from my iPhone

> On Feb 20, 2018, at 10:40 AM, Russell Haley <russ.haley at gmail.com> wrote:
> 
> On Tue, Feb 20, 2018 at 7:52 AM, Christopher Painter via wix-users
> <wix-users at lists.wixtoolset.org> wrote:
>> InstallUtil is an antipattern from a WiX / MSI perspective.  It's out of process self registration that is prone to failure.
> 
> I see the example service in the iswix tutorial.
> 
> https://github.com/iswix-llc/iswix-tutorials/tree/master/windows-service
> 
> I don't have time to look it up today so I'll be cheeky and ask what
> WIX controls/properties are used? I can't tell from the picture in the
> tutorial.
> 
> Russ
>> 
>> ________________________________
>> From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Nir Bar via wix-users <wix-users at lists.wixtoolset.org>
>> Sent: Tuesday, February 20, 2018 5:11 AM
>> To: WiX Toolset Users Mailing List
>> Cc: Nir Bar
>> Subject: Re: [wix-users] Start windows service with some parameters only once
>> 
>> Is that a C# service class that you install with InstallUtil?
>> If so, then you can pass arguments to InstallUtil when installing the service.
>> 
>> 
>> 
>> 
>> 
>> --
>> Nir Bar, Independent WiX Expert. Creator of-
>> JetBA: WiX WPF Bootstrapper User Interface Framework
>> 
>> JetBA++: WiX Native Bootstrapper User Interface Framework
>> 
>> 
>> 
>> 
>> 
>> ____________________________________________________________________
>> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
>> WiX Support | WiX Experts and Resources from FireGiant<http://www.firegiant.com/>
>> www.firegiant.com
>> WiX Support | Installation, Development, Deployment | WiX Experts and Resources from FireGiant
>> 
>> 
>> 
>> 
>> ____________________________________________________________________
>> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list