1

I am trying to automate a build, and the application uses COM+ applications with Components, and I need to figure out how to delete the component from the package using c#. I am using the COMAdmin library, and have built out a collection of the applications, but i'm kinda stuck from there. Any help would be appreciated.

Thanks!

public static void RemoveComponents()
    {
        COMAdminCatalog objCatalog = new COMAdminCatalog();
        string ApplicationName = "Comply Plus Web";



    }
Alfred Myers
  • 6,384
  • 1
  • 40
  • 68
Jesse McCulloch
  • 683
  • 4
  • 13

1 Answers1

1

I think you'd want System.EnterpriseServices.RegistrationHelper.UninstallAssembly().

Hans Passant
  • 922,412
  • 146
  • 1,693
  • 2,536