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
: 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 before
.
-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 custom action during the install. During
uninstall, I want
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
Hi John,
I'm doing it this way as of now ..
InstallExecuteSequence
Custom Action=RunInstallScript After=InstallFiles NOT
Installed/Custom
/InstallExecuteSequence
InstallExecuteSequence
Custom Action='BeforeUninstall' Before='InstallValidate'Installed
AND (NOT
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 nkshirsa...@gmail.com wrote:
Hi John,
I'm doing it this way as of now ..
InstallExecuteSequence
Custom Action=RunInstallScript
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:
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)
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
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: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] stop the service before uninstall
Forgot to mention: as my application is started by the service it runs
in the service context which means they both don't run in the context of
the current user, but as SYSTEM. Also
.
Subject: Re: [WiX-users] stop the service before uninstall
Hi guys,
I really don't want to be pushy but I need to find a solution for this:
besides my application I also install a service that is babysitting my
application, eg: restarts it when it crashes or whatever. When the
product
action to delete the stop monitoring registry item.
Phil Wilson
-Original Message-
From: Viv Coco [mailto:vcotirl...@hotmail.com]
Sent: Wednesday, March 31, 2010 3:34 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] stop the service before uninstall
. Later on (after
files have been installed/replaced) there's a StartServices action.
Phil Wilson
-Original Message-
From: Viv coco [mailto:vcotirl...@hotmail.com]
Sent: Friday, March 26, 2010 2:12 AM
To: WiX
Subject: [WiX-users] stop the service before uninstall
Hi,
My
When, during the uninstall process, are you getting the error? Is it
happening during the RemoveFiles action? If so, you might try adding the
Wait=yes attribute to your ServiceControl so that it waits for it to stop
the service before moving on to remove files. It may be that the SCM is
taking
discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] stop the service before uninstall
Hi guys,
I really don't want to be pushy but I need to find a solution for this:
besides my application I also install a service that is babysitting my
application, eg: restarts it when
...@hotmail.com]
Sent: Tuesday, March 30, 2010 3:08 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] stop the service before uninstall
Hi guys,
I really don't want to be pushy but I need to find a solution for this:
besides my application I also install a service
[mailto:vcotirl...@hotmail.com]
Sent: Friday, March 26, 2010 2:12 AM
To: WiX
Subject: [WiX-users] stop the service before uninstall
Hi,
My installer besides my application installs also a service which is the
babysitter for my application, eg takes care to restart my application if
it crashes
Hi,
My installer besides my application installs also a service which is the
babysitter for my application, eg takes care to restart my application if it
crashes. When I want to uninstall everything I get the error message: The
setup must update files or services that cannot be updated
[mailto:vcotirl...@hotmail.com]
Sent: Friday, March 26, 2010 2:12 AM
To: WiX
Subject: [WiX-users] stop the service before uninstall
Hi,
My installer besides my application installs also a service which is the
babysitter for my application, eg takes care to restart my application
20 matches
Mail list logo