Yes, I've used it to stop and start various IIS processes when I need to get at 
a config file.  Works just fine.

--
John Merryweather Cooper
Build & Install Engineer -- ESA
Jack Henry & Associates, Inc.(r)
Shawnee Mission, KS  66227
Office:  913-341-3434 x791011
jocoo...@jackhenry.com
www.jackhenry.com




-----Original Message-----
From: Phil Wilson [mailto:phildgwil...@gmail.com] 
Sent: Thursday, August 29, 2013 12:12 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] stop a service before uninstall

You can still use the WiX ServiceControl element to stop the service at 
uninstall time. There's no requirement that the ServiceControl table refer to 
services that you're installing. The files-in-use logic will detect that the 
service is going to be stopped and will not show the files-in-use dialog.

Phil Wilson


On Thu, Aug 29, 2013 at 6:55 AM, John Ludlow <john.ludlow...@gmail.com>wrote:

> Check the logs. That should tell you what REMOVE and REINSTALL are 
> being set to, and when they are being set. Look for lines like this:
>
> MSI (s) (04:4C) [05:39:56:736]: Command Line: REMOVE=ALL
> CURRENTDIRECTORY=C:\Windows\system32 CLIENTUILEVEL=2 
> CLIENTPROCESSID=1768
>
> or this:
>
> MSI (s) (64:48) [06:52:15:113]: Command Line: REINSTALL=ALL 
> REINSTALLMODE=pecms CURRENTDIRECTORY=Z:\Tools\11.0\out\en 
> CLIENTUILEVEL=2
> CLIENTPROCESSID=2752
>
> or this:
>
> MSI (s) (64:48) [06:52:15:113]: PROPERTY CHANGE: Adding REMOVE property.
> Its value is 'ALL'.
>
> or this:
>
> MSI (s) (64:48) [06:52:15:113]: PROPERTY CHANGE: Adding REINSTALL property.
> Its value is 'ALL'.
>
>
> On 29 August 2013 14:39, nkshirsagar <nkshirsa...@gmail.com> wrote:
>
> > I guess its OK for the message to POPup during repair because it 
> > restarts the service automatically.
> >
> > just wondering why I could do it this way, but not with REMOVE=ALL 
> > condition
> >
> >
> >
> > --
> > View this message in context:
> >
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/stop-a-s
> ervice-before-uninstall-tp7588564p7588576.html
> > Sent from the wix-users mailing list archive at Nabble.com.
> >
> >
> >
> ----------------------------------------------------------------------
> --------
> > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> > Discover the easy way to master current and previous Microsoft
> technologies
> > and advance your career. Get an incredible 1,500+ hours of 
> > step-by-step tutorial videos with LearnDevNow. Subscribe today and save!
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.c
> lktrk
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
> ----------------------------------------------------------------------
> -------- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 
> 2012, more!
> Discover the easy way to master current and previous Microsoft 
> technologies and advance your career. Get an incredible 1,500+ hours 
> of step-by-step tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.c
> lktrk _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies and 
advance your career. Get an incredible 1,500+ hours of step-by-step tutorial 
videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to