Re: How to uninstall an ADAM instance
- From: begemot <dumchikov@xxxxxxxxx>
- Date: Wed, 25 Jun 2008 23:34:47 -0700 (PDT)
I am developing an application which includes a service, a client and
ADAM is used as backend. ADAM can be in the configuration set. This
application will be shipped as an MSI file. When the application is
being uninstalled I need to uninstall the ADAM instance. The problem
is that a user who will uninstall the application may not be allowed
to remove the ADAM instance from the configuration set, but the user
under which the service is running for sure has this permissions. So
I came up with the following solution: the uninstalling process sets
a flag for the service and stops the service, the service understands
that it has to uninstall the ADAM instance during shutting down. The
solution works alright for all systems except Vista with UAC. In this
case the service hangs during the shutting down. As I understood
because running the adamuninstall.exe process requires confirmation.
On 26 Чер, 07:03, "Dmitri Gavrilov [MSFT]"
<dmit...@xxxxxxxxxxxxxxxxxxxx> wrote:
There's no supported way to do this other than running adamuninstall.exe.
Why not spawn a process?
--
Dmitri Gavrilov
SDE, Exchange
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified athttp://www.microsoft.com/info/cpyright.htm
"begemot" <dumchi...@xxxxxxxxx> wrote in message
news:199e5620-f29d-4029-9b4a-98d3d2832d3a@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi
I need to uninstall an ADAM instance programmatically without running
a new process (i.e. without running adamuninstall.exe). Is there any
way to do this?
Thanks in advance.
.
- Follow-Ups:
- Re: How to uninstall an ADAM instance
- From: Dmitri Gavrilov [MSFT]
- Re: How to uninstall an ADAM instance
- References:
- How to uninstall an ADAM instance
- From: begemot
- Re: How to uninstall an ADAM instance
- From: Dmitri Gavrilov [MSFT]
- How to uninstall an ADAM instance
- Prev by Date: Re: Testing
- Next by Date: Re: Event ID 1054
- Previous by thread: Re: How to uninstall an ADAM instance
- Next by thread: Re: How to uninstall an ADAM instance
- Index(es):
Relevant Pages
|