none
IE plugin

    Question

  • Hi,

     I have developped a plugin for IE and I have created a deployment project inside Visual Studio. Everything is right and the plugin is installed correctly. Nevertheless, I'd like to enable it in IE as soon as it has been installed. Because it is hidden by default when a user installs it.
     Could you tell me if I can do that using Registry or my code ( C# ) ?

    Below the registry keys I have added in User's computers :

    [HKEY_CLASSES_ROOT\SampleBars.HelloWorldBar]
    @="SampleBars.HelloWorldBar"
    [HKEY_CLASSES_ROOT\SampleBars.HelloWorldBar\CLSID]
    @="{AE07101B-46D4-4A98-AF68-0333EA26E113}"
    [HKEY_CLASSES_ROOT\CLSID\{AE07101B-46D4-4A98-AF68-0333EA26E113}]
    @="SampleBars.HelloWorldBar"
    [HKEY_CLASSES_ROOT\CLSID\{AE07101B-46D4-4A98-AF68-0333EA26E113}\InprocServer32]
    @="mscoree.dll"
    "ThreadingModel"="Both"
    "Class"="SampleBars.HelloWorldBar"
    "Assembly"="SampleBars, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4b827ebe229d539f"
    "RuntimeVersion"="v2.0.50727"
    [HKEY_CLASSES_ROOT\CLSID\{AE07101B-46D4-4A98-AF68-0333EA26E113}\InprocServer32\1.0.0.0]
    "Class"="SampleBars.HelloWorldBar"
    "Assembly"="SampleBars, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4b827ebe229d539f"
    "RuntimeVersion"="v2.0.50727"
    [HKEY_CLASSES_ROOT\CLSID\{AE07101B-46D4-4A98-AF68-0333EA26E113}\ProgId]
    @="SampleBars.HelloWorldBar"
    [HKEY_CLASSES_ROOT\CLSID\{AE07101B-46D4-4A98-AF68-0333EA26E113}\Implemented Categories\{62C8FE65-4EBB-45E7-B440-6E39B2CDBF29}]
    [HKEY_CLASSES_ROOT\CLSID\{AE07101B-46D4-4A98-AF68-0333EA26E113}\Implemented Categories\{00021494-0000-0000-C000-000000000046}]
    [HKEY_CLASSES_ROOT\CLSID\{AE07101B-46D4-4A98-AF68-0333EA26E113}\Implemented Categories\{00021492-0000-0000-C000-000000000046}]
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Toolbar]

    "{AE07101B-46D4-4A98-AF68-0333EA26E113}"="SampleBars.HelloWorldBar"

    Thank you

    Matt
    Monday, February 11, 2008 9:43 PM

Answers

All replies