Coffeehouse Post

Single Post Permalink

View Thread: Adding "Special" icons
  • User profile image
    eddwo

    I attempted to hack up solution.

    This is purely registry tweaks, no code involved. There is no custom context menu, just a single command to launch the browser.

    Copy this into a reg file and install it.
    WARNING use at OWN RISK. This is not a real GUID.
    It probably doesn't work on other language versions, or if you installed firefox in a different location etc etc...

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\CLSID\{e17d4fc8-5364-1fd1-83f2-00d0c93dc849}]
    "InfoTip"="This Should Launch Firefox"
    "LocalizedString"="Firefox"

    [HKEY_CLASSES_ROOT\CLSID\{e17d4fc8-5364-1fd1-83f2-00d0c93dc849}\DefaultIcon]
    @="\"%ProgramFiles%\\Mozilla Firefox\\firefox.exe\",0"

    [HKEY_CLASSES_ROOT\CLSID\{e17d4fc8-5364-1fd1-83f2-00d0c93dc849}\shell]
    @="OpenFirefox"

    [HKEY_CLASSES_ROOT\CLSID\{e17d4fc8-5364-1fd1-83f2-00d0c93dc849}\shell\OpenFirefox]
    @="Open &Firefox"

    [HKEY_CLASSES_ROOT\CLSID\{e17d4fc8-5364-1fd1-83f2-00d0c93dc849}\shell\OpenFirefox\Command]
    @=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,\
      00,65,00,73,00,25,00,5c,00,4d,00,6f,00,7a,00,69,00,6c,00,6c,00,61,00,20,00,\
      46,00,69,00,72,00,65,00,66,00,6f,00,78,00,5c,00,66,00,69,00,72,00,65,00,66,\
      00,6f,00,78,00,2e,00,65,00,78,00,65,00,22,00,00,00

    [HKEY_CLASSES_ROOT\CLSID\{e17d4fc8-5364-1fd1-83f2-00d0c93dc849}\ShellFolder]
    "Attributes"=dword:00000024
    "HideFolderVerbs"=""

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{e17d4fc8-5364-1fd

    1-83f2-00d0c93dc849}]
    @="Firefox"

    You can also drop a firefox icon anywhere else you feel like by creating a folder and renaming it to

    "Firefox.{e17d4fc8-5364-1fd1-83f2-00d0c93dc849}"