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

Douglas, Keith (STATCAN) keith.douglas at canada.ca
Wed Apr 13 05:53:42 PDT 2016


(Sorry for piggy backing, but this is relevant to our situation too.)
What is one supposed to do if one wants to create a package that manipulates the state of pre-existing services?
Do I understand correctly that this is impossible?


Keith Douglas

Programmer Analyst, Collection Systems Division
Statistics Canada / Government of Canada
Keith.Douglas at canada.ca / Tel : 613-854-5589

Programmeur analyste, Division des systèmes de collecte
Statistique Canada / Gouvernenment du Canada
Keith.Douglas at canada.ca / Tél :613-854-5589


-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Rob Mensching
Sent: April-13-16 8:52 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 ?

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 ?

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list