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 ServiceContr
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
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:
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-service-before
Well, it wouldn't because the REINSTALL property is set during repair and
you're conditioning on NOT REINSTALL.
On 29 August 2013 14:19, nkshirsagar wrote:
> Hi John,
>
> I'm doing it this way as of now ..
>
>
> NOT
> Installed
>
>
> Installed
> AND (NOT REINSTALL)
>
Hi John,
I'm doing it this way as of now ..
NOT
Installed
Installed
AND (NOT REINSTALL)
The only problem is repair doesnt execute the uninstall script, so the
filesinUse pops up during repair. Otherwise, I dont see it during uninstall
because I guess my
Hi Alain,
because I register the service through a vb script, and there's some other
things the script does before registering it using
CreateServiceForApplication and I dont want to make any changes to the
script.
Is there any way to either terminate the process before uninstall, or make
sure t
e before uninstall.
>
> -Original Message-
> From: nkshirsagar [mailto:nkshirsa...@gmail.com]
> Sent: Thursday, August 29, 2013 08:19
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] stop a service before uninstall
>
> I install a windows service as a cu
-
From: nkshirsagar [mailto:nkshirsa...@gmail.com]
Sent: Thursday, August 29, 2013 08:19
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] stop a service before uninstall
I install a windows service as a custom action during the install. During
uninstall, I want to remove this service
I install a windows service as a custom action during the install. During
uninstall, I want to remove this service before the filesinUse dialogbox
pops up.
My condition is REMOVE="ALL" for the uninstallation script to run, and I
read on
http://msdn.microsoft.com/en-us/library/windows/desktop/aa371
10 matches
Mail list logo