Can one define a Google Chrome App as default app for a filetype? Solved

  1.    04 Nov 2017 #1

    Can one define a Google Chrome App as default app for a filetype?

    I would like to define a Google Chrome app (aka. Google Chrome extension) called "Readium" as default handler for .epub files (an ebook format), because I consider it better than Edge (which handles these files by default) for this purpose.

    Now, I was able to define Chrome as default app for epub-files using the option "Search an other app on this PC" and pointing it to
    "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
    but that only starts Chrome which then has no clue how to handle that filetype.

    I would need to be able to enter a whole commandline here (one can start Chrome's Readium extension directly using a commandline with some options, i.e.:
    "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"  --profile-directory=Default --app-id=fepbnnnkkadjhjahcafoaglimekefifl
    ... but the dialog did not accept that line as a valid application.

    I then tried to add the above command-line to the .epub filetype's OpenWithList in the Registry, i.e. under
    "Computer\HKEY_CLASSES_ROOT\.epub\OpenWithList" but that didn't work, either.

    Any idea or suggestion how to convince Windows 10 to accept Readium as a default application for .epub files?
      My ComputerSystem Spec

  2.    04 Nov 2017 #2

    Hi, nothing here
    eBookPartnership Open an ePUB file on a PC or laptop using Readium -
    Google Groups
    EPub reader - how to choose Google Readium by default - Oxygen XML Forum

    suggests it can be done that way.

    You could consider using Sumatra pdf viewer (which can..
    Sumatra PDF is a free and open-source document viewer, it supports many document formats including: Portable Document Format (PDF), Microsoft Compiled HTML Help (CHM), DjVu, EPUB, FictionBook (FB2), MOBI, PRC, Open XML Paper Specification (OpenXPS, OXPS, XPS), Comic Book Archive file (CB7, CBR, CBT, CBZ).[2 )
      My ComputerSystem Spec

  3.    05 Nov 2017 #3


    Trying again with the "Search an other app on this PC" option this time the dialog accepted my entered command line, i.e. I entered:

    "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"  --profile-directory=Default --app-id=fepbnnnkkadjhjahcafoaglime "%1"
    into the dialog and this time this was accepted as "application".

    Now, double-clicking a .epub file firectly opens Chrome's extension Readium with the double-clicked document loaded.
    Happy camper now...

    PS: Note the added trailing "%1" in order to pass the document's path as argument to the application
    PPS: The funny app-id one can find out by choosing "create a shortcut" on the desktop on the chrome-extension and copying that line from the properties of the created shortcut..
      My ComputerSystem Spec

  4.    05 Nov 2017 #4

    Well done.. seems Chrome may be more 'friendly' in such respects than Firefox. c.f. different problem- Chrome plus gmail as default email client vs FF + gmail.
      My ComputerSystem Spec


Related Threads
I recently re-installed windows 10. Have tried every way to change default browser from Edge to Chrome, to no avail. Even changed the default by file type, HTML, Htm, to open with google chrome. Under Apps & Features, google is listed as my browser,...
Source: Chromium Blog: Roll-out plan for HTML5 by Default
HTML5 by default: Google’s plan to make Chrome’s Flash click-to-play Read more:
I'm having a persistent problem with Google Chrome. Although Windows 10 says Chrome is the default browser, Google Chrome itself does not "believe" it, and I keep getting the "Google Chrome is not your default browser" notification when I bring up...
How can I -Use chrome/google for search results Currently when we type anything into the taskbar search, it launches Edge + Bing to give the results. I would like it to use google and my chrome browser cos I find it gives better results.
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 18:10.
Find Us