gacutil -u

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • alien2_51

    gacutil -u

    This component had been installed as a windows service using the Installer
    class.. it was later uninstalled succesfully...

    Any ideas....?

    C:\mncprojects\ vsprojects\VS20 03\MNCBDOServic eLibrary\bin>ga cutil -u
    MNCBDOServiceLi brary

    Microsoft (R) .NET Global Assembly Cache Utility. Version 1.1.4322.573
    Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.


    Assembly: MNCBDOServiceLi brary, Version=1.0.0.0 , Culture=neutral ,
    PublicKeyToken= 48d69f43b9e7bec 3, Custom=null
    Unable to uninstall: assembly is required by one or more applications
    Pending references:
    SCHEME: <WINDOWS_INSTAL LER> ID: <MSI> DESCRIPTION : <Windows
    Installer>

    Number of items uninstalled = 0
    Number of failures = 0


  • alien2_51

    #2
    Re: gacutil -u

    I found the.....

    [HKEY_LOCAL_MACH INE\SOFTWARE\Mi crosoft\Fusion]
    "DisableCacheVi ewer"=dword:000 00001

    "Hack"

    which allowed me to remove the folder that was causing me trouble...
    Seems to work but theres got to be something more elegant... Any ideas
    MS....?



    "alien2_51" <dan.billow@n.o .s.p.a.m.monaco coach.com> wrote in message
    news:e884liqkDH A.3700@TK2MSFTN GP11.phx.gbl...[color=blue]
    > This component had been installed as a windows service using the Installer
    > class.. it was later uninstalled succesfully...
    >
    > Any ideas....?
    >
    > C:\mncprojects\ vsprojects\VS20 03\MNCBDOServic eLibrary\bin>ga cutil -u
    > MNCBDOServiceLi brary
    >
    > Microsoft (R) .NET Global Assembly Cache Utility. Version 1.1.4322.573
    > Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
    >
    >
    > Assembly: MNCBDOServiceLi brary, Version=1.0.0.0 , Culture=neutral ,
    > PublicKeyToken= 48d69f43b9e7bec 3, Custom=null
    > Unable to uninstall: assembly is required by one or more applications
    > Pending references:
    > SCHEME: <WINDOWS_INSTAL LER> ID: <MSI> DESCRIPTION :[/color]
    <Windows[color=blue]
    > Installer>
    >
    > Number of items uninstalled = 0
    > Number of failures = 0
    >
    >[/color]


    Comment

    • Dmitriy Lapshin [C# / .NET MVP]

      #3
      Re: gacutil -u

      Hi,

      I believe there's an article in MSDN (was it a KB one?) explaining how to
      deal with such situations. In a nutshell, the Windows Installer-generated
      references are stored in a registry (there are different places for
      per-machine and per-user references) and can be removed from there with
      RegEdit should "legitimate " uninstall fail for some reason.

      I have been in the same situation and only editing the appropriate registry
      key enabled me to uninstall the assembly.

      P.S. The key you are talking about is not the one I've used.

      --
      Dmitriy Lapshin [C# / .NET MVP]
      X-Unity Test Studio

      Bring the power of unit testing to VS .NET IDE

      "alien2_51" <dan.billow@n.o .s.p.a.m.monaco coach.com> wrote in message
      news:%2323waxqk DHA.2060@tk2msf tngp13.phx.gbl. ..[color=blue]
      > I found the.....
      >
      > [HKEY_LOCAL_MACH INE\SOFTWARE\Mi crosoft\Fusion]
      > "DisableCacheVi ewer"=dword:000 00001
      >
      > "Hack"
      >
      > which allowed me to remove the folder that was causing me trouble...
      > Seems to work but theres got to be something more elegant... Any ideas
      > MS....?
      >
      >
      >
      > "alien2_51" <dan.billow@n.o .s.p.a.m.monaco coach.com> wrote in message
      > news:e884liqkDH A.3700@TK2MSFTN GP11.phx.gbl...[color=green]
      > > This component had been installed as a windows service using the[/color][/color]
      Installer[color=blue][color=green]
      > > class.. it was later uninstalled succesfully...
      > >
      > > Any ideas....?
      > >
      > > C:\mncprojects\ vsprojects\VS20 03\MNCBDOServic eLibrary\bin>ga cutil -u
      > > MNCBDOServiceLi brary
      > >
      > > Microsoft (R) .NET Global Assembly Cache Utility. Version 1.1.4322.573
      > > Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
      > >
      > >
      > > Assembly: MNCBDOServiceLi brary, Version=1.0.0.0 , Culture=neutral ,
      > > PublicKeyToken= 48d69f43b9e7bec 3, Custom=null
      > > Unable to uninstall: assembly is required by one or more applications
      > > Pending references:
      > > SCHEME: <WINDOWS_INSTAL LER> ID: <MSI> DESCRIPTION :[/color]
      > <Windows[color=green]
      > > Installer>
      > >
      > > Number of items uninstalled = 0
      > > Number of failures = 0
      > >
      > >[/color]
      >
      >[/color]

      Comment

      • Tim Stephenson

        #4
        Re: gacutil -u

        By any remote chance, did this machine have MSN Messenger 6 installed?

        For some reason, Messenger 6 affects the ability to remove assemblies from
        the GAC. It's possible to "fix" the problem by removing a particular
        registry key, details of which I can dig out of my notes if it'd help.

        --
        Regards

        Tim Stephenson MCSD.NET
        Charted MCAD & MCSD.NET Early Achiever


        "alien2_51" <dan.billow@n.o .s.p.a.m.monaco coach.com> wrote in message
        news:e884liqkDH A.3700@TK2MSFTN GP11.phx.gbl...[color=blue]
        > This component had been installed as a windows service using the Installer
        > class.. it was later uninstalled succesfully...
        >
        > Any ideas....?
        >
        > C:\mncprojects\ vsprojects\VS20 03\MNCBDOServic eLibrary\bin>ga cutil -u
        > MNCBDOServiceLi brary
        >
        > Microsoft (R) .NET Global Assembly Cache Utility. Version 1.1.4322.573
        > Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
        >
        >
        > Assembly: MNCBDOServiceLi brary, Version=1.0.0.0 , Culture=neutral ,
        > PublicKeyToken= 48d69f43b9e7bec 3, Custom=null
        > Unable to uninstall: assembly is required by one or more applications
        > Pending references:
        > SCHEME: <WINDOWS_INSTAL LER> ID: <MSI> DESCRIPTION :[/color]
        <Windows[color=blue]
        > Installer>
        >
        > Number of items uninstalled = 0
        > Number of failures = 0
        >
        >[/color]


        Comment

        Working...