[wix-users] WIX 3.10: How to create a service referencing a file in a different component ?

Rob Mensching rob at firegiant.com
Wed Apr 13 05:52:12 PDT 2016


I don't understand. Just add the ServiceInstall to the correct Component. Solve the root issue, don't add lots of fragility to your install.

_____________________________________________________________
 Short replies here. Complete answers over there: http://www.firegiant.com/


-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Gary M
Sent: Wednesday, April 13, 2016 12:19 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] WIX 3.10: How to create a service referencing a file in a different component ?

The quick dirty work around is changing the Name attribute to to a different file name.  Also remember to change KeyPath to yes for uninstall.

cheers,
gary

On Tue, Apr 12, 2016 at 10:46 PM, Gary M <garym at oedata.com> wrote:

> Thanks Rob, I was just hoping I could use a substitution if it was
> available.   Now I guess thinking about using msiext...and calling their
> system extension dll directly. I'm hesitant using that method, the 
> sequence get messy, I have about 15 services to optionally install.
>
> I would hate to push the services directly into the registry, domain 
> privileges get funky in locked down systems.
>
> I have another question.. Is there a way to call/trigger a custom 
> function from a component, like  function call using global properties 
> as arguments ie call SC.exe ?



More information about the wix-users mailing list