This might not be the best place to ask, but how can I set the default program for an extension while using a custom icon handler from a dll? I used this tool to show an apk's icon in explorer. I also want to use apks with 7-Zip, but I can't do both at the same time.

I currently have this setup that I just import into the registry, but it doesn't seem to work. Any help?

Windows Registry Editor Version 5.00

@="Android Package File"










"Android Package File"=hex(0):
  • Have you tried asking the apkshellext dev if this is even possible? You can also add something like "Open with 7-zip" to the context menu for .APK files.
    – Karan
    Jul 1 '13 at 1:16
  • @Karan I've been trying to play around with the registry, but no luck :/. I'll try to contact the dev if I can't figure anything out. Jul 1 '13 at 1:23
  • Well? Did you ever figure out how to do it?
    – Mike Nakis
    Jul 19 '15 at 13:30
  • Unfortunately not. I gave up on the project years ago, but I'm looking into it now to see if I might be able to try again. Jul 19 '15 at 18:01
  • 1
    Possible duplicate of Changing Windows 8 file type icon
    – Roke
    Nov 20 '15 at 2:08

It may be possible to use custom icons after associating archives with 7-Zip. Check my Registry entry below for reference. My example is for ISO files which are associated with WinRAR. Eventhough my ISO files are associated with WinRAR, I am able to use a custom file icon for it.


@="ISO image"
@="C:\\Program Files\\WinRAR\\WinRAR.exe \"%1\""

In your case, go to the key:

HKEY_CLASSES_ROOT\Android Package File

Then edit the contents of the sub-key: DefaultIcon. If it does not exists, create a sub-key under Android Package File, and name it DefaultIcon.

Now go inside of DefaultIcon and put the full path of your icon file (ico, exe, dll, etc).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.