Yes, exactly.You place actions relative to the actions they need to be
associated with. They'll be placed as close as possible.

2011/9/17 Frédéric Viollet <frederic.viol...@evidian.com>

> Hi Rob,
>
> I agree that starting services would be difficult before installing files
> ;)
> But in a pure logical way,
>
> <Custom Action='CustomAction2' Before="StartServices" />
>
> does not mean that CustomAction2 will be executed after InstallFiles. It
> just means that it will be executed before StartServices...
> Why wouldn't the sequence be :
> CustomAction2 -> InstallFiles -> StartServices ? The former element is
> still valid (CustomAction2 is executed before StartServices)
>
> In fact, while writing these lines, I think I start to understand the
> way it works. Tell me if I'm wrong...
> The before or after attribute means that the CustomAction will be
> executed *right* before or after the specified Sequence
> i.e., if I write
>
> <Custom Action='CustomAction2' Before="StartServices" />
>
> this means that CustomAction2 will be executed right before
> StartServices BUT after any other Sequence preceding StartServices (as
> installFiles for example)... Am I right?
>
> Thanks again for your time.
> Fred
>
> Le 16/09/2011 20:10, Rob Mensching a écrit :
> > Because StartServices can't start services before the files for the
> services
> > are installed.<smile/>
> >
> > 2011/9/16 Frédéric Viollet<frederic.viol...@evidian.com>
> >
> >> Hi Rob,
> >>
> >> Do you mean that if I write:
> >>
> >> <Custom Action='CustomAction1' After='InstallFiles' />
> >> <Custom Action='CustomAction2' After='CustomAction1' />
> >>
> >> Or
> >>
> >> <Custom Action='CustomAction1' After='InstallFiles' />
> >> <Custom Action='CustomAction2' Before="StartServices" />
> >>
> >> In both cases, I'm sure that CustomAction1 will be executed after
> >> InstallFiles, that CustomAction2 will be executed after CustomAction1
> >> and before StartServices?
> >> If so, what's the logic associated to these After and Before attributes?
> >> Why would
> >>
> >> <Custom Action='CustomAction2' Before="StartServices" />
> >>
> >>   guarantee me that it will be executed after InstallFiles?
> >>
> >>
> >> Thanks.
> >> Fred
> >>
> >> Le 16/09/2011 11:56, Rob Mensching a écrit :
> >>> Pick one.
> >>>
> >>> 2011/9/15 Frédéric Viollet<frederic.viol...@evidian.com>
> >>>
> >>>> Hi All,
> >>>>
> >>>> I have defined two custom actions and I would like it to be triggered
> >>>> after InstallFiles, but before StartServices.
> >>>> Lets say I want to setup the following sequence:
> >>>> InstallFiles ->   CustomAction1 ->   CustomAction2 ->   StartServices
> >>>>
> >>>> I would have liked to write:
> >>>> <Custom Action='CustomAction1' After='InstallFiles' />
> >>>> <Custom Action='CustomAction2' After='CustomAction1'
> >>>> Before="StartServices" />
> >>>> But, in the wxs, Before and After tags are mutually exclusive in the
> >>>> Custom element.
> >>>> How can I achieve this?
> >>>>
> >>>> Thanks for your help.
> >>>> Frederic
> >>>>
> >>>>
> >>>>
> >>
> ------------------------------------------------------------------------------
> >>>> Doing More with Less: The Next Generation Virtual Desktop
> >>>> What are the key obstacles that have prevented many mid-market
> >> businesses
> >>>> from deploying virtual desktops?   How do next-generation virtual
> >> desktops
> >>>> provide companies an easier-to-deploy, easier-to-manage and more
> >> affordable
> >>>> virtual desktop model.
> http://www.accelacomm.com/jaw/sfnl/114/51426474/
> >>>> _______________________________________________
> >>>> WiX-users mailing list
> >>>> WiX-users@lists.sourceforge.net
> >>>> https://lists.sourceforge.net/lists/listinfo/wix-users
> >>>>
> >>>>
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
> >> http://p.sf.net/sfu/rim-devcon-copy2
> >> _______________________________________________
> >> WiX-users mailing list
> >> WiX-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/wix-users
> >>
> >
> >
>
>
> --
> *________________________________________________*
> *Frédéric VIOLLET* - Role Management Software Engineer
> Tel:   +33 (0) 1 30 80 77 34
> Fax:   +33 (0) 1 30 80 77 99
> Std:   +33 (0) 1 30 80 70 00
>
> www.wiseguard.com <http://www.evidian.com/blog/>
>
> This e-mail contains material that is confidential for the sole use of
> the intended recipient. Any review, reliance or distribution by others
> or forwarding without express permission is strictly prohibited. If you
> are not the intended recipient, please contact the sender and delete all
> copies.
>
>
>
> ------------------------------------------------------------------------------
> BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
> http://p.sf.net/sfu/rim-devcon-copy2
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to