Re: How to uninstall an ADAM instance



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.

.



Relevant Pages

  • Re: ADAM Installation errors
    ... One thing I did notice in my event viewer is that when the service starts it ... is logged agaisnt user ANONYMOUS LOGON. ... > file in the directory where you unpacked ADAM. ... >> Skipping this step will cause uninstall to not save recent data changes to ...
    (microsoft.public.windows.server.active_directory)
  • Re: Moving ADAM instance to new machine?
    ... ADAM from the original using an account with sufficient access (e.g. the ... uninstall using the "Add or Remove Programs" control panel, ... the configuration set (and any SCPs and SPNs if your instances are on AD ...
    (microsoft.public.windows.server.active_directory)
  • Re: ADAM Installation errors
    ... If you open the ADAM Tools Command Prompt and run ... >> Lee Flight ... >>> Skipping this step will cause uninstall to not save recent data changes ... >>> I used the standard ports for the installation. ...
    (microsoft.public.windows.server.active_directory)
  • Re: ADAM service installs, but does not start
    ... This appeared to uninstall the service, but it did not remove it completely. ... I am not adding the ADAM software to the add/remove list since I don't want ... > Install or Remove ADAM ... > Perform an unattended removal of an ADAM instance ...
    (microsoft.public.windows.server.active_directory)
  • Re: ADAM Installation errors
    ... have you reviewed the WinXP requirements in the start_here.htm ... file in the directory where you unpacked ADAM. ... > Skipping this step will cause uninstall to not save recent data changes to ... > I used the standard ports for the installation. ...
    (microsoft.public.windows.server.active_directory)