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

Gary M garym at oedata.com
Wed Apr 13 09:58:57 PDT 2016


I was looking into the wix merge syntax as a low cost means to implement
the this feature.. If I was smarter, had more time, and had permissions, I
could modify AD/registry to create services :).

For right now, if I was to make time to add a feature, I'd have to address
the firewall extension and add outbound rule support. Now I understand why
wix has low penetration the increasing locked down OS environments.  To
deploy, I'm forced to create an msi AND use a system like Puppet or Chef
 to configure the OS. In a domain member deployment, I can again resort to
the registry and modify a group policy to config firewall rules, but it
doesn't work for stand alone systems.

On Wed, Apr 13, 2016 at 9:24 AM, sampat magi <ssmcs060 at gmail.com> wrote:

> Yes, I  have been expecting this feature in WiX. I have lot such situations
> in our product while converting from IS to WiX. I can't write xslt so
> easily.
>
> This could have been into WiX, if it is valid at all.
>
> Thanks
> On Apr 13, 2016 8:51 PM, "Gary M" <garym at oedata.com> wrote:
>
> > Hi Rob
> >
> > I made have mentioned the component where the file resides is generated
> by
> > heat. There are approximately 1200 components in that wxs. Since the
> scale
> > of the install requires a fully automated build, tracking down and adding
> > the service definition is not feasible at this point. I was considering
> > xslt to inject the service definition, but I ran out of road on my
> > schedule.
> >  If WIX supported a FileRef tag or a searchable tag to returning a
> fileref,
> > it could be used populate the component_ column  in the  installservice
> > table. Yeah, this sounds like a new feaature
> >
> > On Wed, Apr 13, 2016 at 7:03 AM, Douglas, Keith (STATCAN) <
> > keith.douglas at canada.ca> wrote:
> >
> > > Ah, that's good to know, and that's going to present a problem ...
> > >
> > > Oh well, I'll figure something out.
> > >
> > >
> > > 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 9:00 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 ?
> > >
> > > Depends what you want to "manipulate". The attributes modified by
> > > ServiceInstall are limited to the same Component. ServiceControl is
> not.
> > >
> > > _____________________________________________________________
> > >  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 Douglas, Keith (STATCAN)
> > > Sent: Wednesday, April 13, 2016 5:54 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 ?
> > >
> > > (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
> > >
> > > ____________________________________________________________________
> > > WiX Toolset Users Mailing List provided by FireGiant
> > > http://www.firegiant.com/
> > >
> > > ____________________________________________________________________
> > > WiX Toolset Users Mailing List provided by FireGiant
> > > http://www.firegiant.com/
> > >
> >
> > ____________________________________________________________________
> > WiX Toolset Users Mailing List provided by FireGiant
> > http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>



More information about the wix-users mailing list