How to register Internet Explorer Add-on Icon

Comments

2 comments

  • Avatar
    wojciechka

    Unfortunately we are not familiar with IE add-ons, installing and registering them. However, it seems an issue related to registering the add-on itself.

    Do you use a system API, regsvr32 or any other tool to register the add-on?

    From a quick search on MSDN, Creating Add-ons for Internet Explorer: Toolbar Buttons article mentions that both Icon and HotIcon should be set - from the page:

            val 'Icon' = s 'C:\icons\WinXP\search4doc.ico'
            val 'HotIcon' = s 'C:\ icons\WinXP\search4doc.ico'
    

    Are you setting these keys as well?

  • Avatar
    wojciechka

    Setting registry keys can be done using <registryGet> action - for the example Key from link from MSDN, it would be:

     <registrySet>
       <key>HKLM\SOFTWARE\Microsoft\Internet Explorer\Extensions\{5D578929-E74E-46A2-A810-4F33D011DC51}</key>
       <name>${installdir.dos}\icon.ico</name>
       <type>REG_SZ</type>
       <value>Icon</value>
     </registrySet>
     <registrySet>
       <key>HKLM\SOFTWARE\Microsoft\Internet Explorer\Extensions\{5D578929-E74E-46A2-A810-4F33D011DC51}</key>
       <name>${installdir.dos}\icon.ico</name>
       <type>REG_SZ</type>
       <value>HotIcon</value>
     </registrySet>
    

    Deleting a key at uninstallation can be done using <registryDelete> action - for example:

    <registryDelete>
      <key>HKLM\SOFTWARE\Microsoft\Internet Explorer\Extensions\{5D578929-E74E-46A2-A810-4F33D011DC51}</key>
      <name>Icon</name>
    </registryDelete>
    <registryDelete>
      <key>HKLM\SOFTWARE\Microsoft\Internet Explorer\Extensions\{5D578929-E74E-46A2-A810-4F33D011DC51}</key>
      <name>HotIcon</name>
    </registryDelete>
    

Please sign in to leave a comment.