[wix-users] Stop & Start Services

Ven H venh.123 at gmail.com
Wed Jun 20 08:41:36 PDT 2018


Thank you. But I am looking for more clarity. If I have to ServiceControl
element, it lets me stop and start immediately, but not stop during
beginning of installation and start at the end of installation. This is
what I am looking for.

Regards,
Venkatesh

On Wed, Jun 20, 2018 at 8:17 PM, <duggal_sunny at yahoo.com> wrote:

> You could use net stop or PowerShell support for Start/Stop Service.
> However, do note that service start/stop is usually an elevated action.
> This means you need to use custom action within InstallInitialize and
> InstallFinalize phases.
>
> Thx
> Manish
>
> Sent from my iPhone
>
> > On Jun 20, 2018, at 5:09 AM, Ven H via wix-users <
> wix-users at lists.wixtoolset.org> wrote:
> >
> > Is there a way to *stop *services (not just one) at the *beginning *of
> > installation and *start* them again at the *end *of installation using
> > ServiceControl element? If not ServiceControl element, what are the other
> > options? Please help.
> >
> > ____________________________________________________________________
> > WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
>



More information about the wix-users mailing list