[wix-users] Stop & Start Services

duggal_sunny at yahoo.com duggal_sunny at yahoo.com
Wed Jun 20 07:47:56 PDT 2018


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