Windows 10: Enter in "Default programs" the path to new default program?


  1. Posts : 65
    Windows 10 Version 6.2 (Build 9200) Home, 64bit
       12 Dec 2017 #1

    Enter in "Default programs" the path to new default program?


    How could one enter in "Default programs" the path to a program to be set as a default program?

    I want a portable Firefox to be the default browser.

    The path to this Firefox is wrong (Firefox is opened without using its profile) so I want to add the correct path (this one: C:\Lw C\FirefoxPortableESR\FirefoxPortable.exe):
      My ComputerSystem Spec


  2. Posts : 4,498
    Mac OS High Sierra 10.13.5
       12 Dec 2017 #2

    You cannot set a Portable App as a default program because of the design of the program. You need to install Firefox on the machine if you wish to use it. Portable means exactly that. Mainly used when on public machines that allow USB access, which very few do anymore for security reasons.
      My ComputerSystem Spec


  3. Posts : 65
    Windows 10 Version 6.2 (Build 9200) Home, 64bit
    Thread Starter
       12 Dec 2017 #3

    Thank you very much!

    You cannot set a Portable App as a default program because of the design of the program.
    Well, well, some of my protable programs are the default programs like the portable Firefox was.
      My ComputerSystem Spec


  4. Posts : 4,498
    Mac OS High Sierra 10.13.5
       12 Dec 2017 #4

    Bingus said: View Post
    Thank you very much!
    Well, well, some of my protable programs are the default programs like the portable Firefox was.
    Again you cannot just install a portable program in place of the actual program that gets installed in Windows. The reason for a program to be portable, is so that it will run off of a USB stick by itself and not leave any trace on the computer you used it on.

    If you want to use Firefox, then download and install the proper version of Firefox for Windows, not a Portable edition.
      My ComputerSystem Spec


  5. Posts : 65
    Windows 10 Version 6.2 (Build 9200) Home, 64bit
    Thread Starter
       12 Dec 2017 #5

    Yes, yes, alright, of course, thank you very much!
      My ComputerSystem Spec

  6.    14 Dec 2017 #6

    Bingus said: View Post
    Yes, yes, alright, of course, thank you very much!
    Actually the other user is wrong it is possible to set a portable app as default by forcing windows to recognize it in the apps list.

    According to this developer here GitHub - henrypp/chrlauncher: Small and very fast portable launcher and updater for Chromium. it is more than possible and on my machine I have done so. I am able to run a portable chromium version as default app and have it show up in the settings.

    Code:
    @echo off
    set "CHRLAUNCHER_PATH=%~dp0chrlauncher.exe"
    set "CHRLAUNCHER_ICON=\"%CHRLAUNCHER_PATH%\",0"
    set "CHRLAUNCHER_ARGS=\"%CHRLAUNCHER_PATH%\" \"%%1\""
    if not exist "%CHRLAUNCHER_PATH%" (
    echo ERROR: "chrlauncher.exe" not found.
    ) else (
    reg add hklm /f>nul 2>&1
    if ERRORLEVEL 1 (
    echo ERROR: you have no privileges.
    ) else (
    regedit /s "%~dp0RegistryCleaner.reg"
    reg add "HKLM\Software\Classes\chrlauncherHTML" /v "" /t REG_SZ /d "Chromium HTML Document" /f
    reg add "HKLM\Software\Classes\chrlauncherHTML\DefaultIcon" /v "" /t REG_SZ /d "%CHRLAUNCHER_ICON%" /f
    reg add "HKLM\Software\Classes\chrlauncherHTML\shell\open\command" /v "" /t REG_SZ /d "%CHRLAUNCHER_ARGS%" /f
    reg add "HKLM\Software\Classes\chrlauncherURL" /v "" /t REG_SZ /d "Chromium URL Protocol" /f
    reg add "HKLM\Software\Classes\chrlauncherURL" /v "EditFlags" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Classes\chrlauncherURL" /v "FriendlyTypeName" /t REG_SZ /d "Chromium URL" /f
    reg add "HKLM\Software\Classes\chrlauncherURL" /v "URL Protocol" /t REG_SZ /d "" /f
    reg add "HKLM\Software\Classes\chrlauncherURL\DefaultIcon" /v "" /t REG_SZ /d "%CHRLAUNCHER_ICON%" /f
    reg add "HKLM\Software\Classes\chrlauncherURL\shell\open\command" /v "" /t REG_SZ /d "%CHRLAUNCHER_ARGS%" /f
    reg add "HKLM\Software\RegisteredApplications" /v "chrlauncher" /t REG_SZ /d "Software\Clients\StartMenuInternet\chrlauncher\Capabilities" /f
    reg add "HKLM\Software\Clients\StartMenuInternet\chrlauncher" /v "" /t REG_SZ /d "chrlauncher" /f
    reg add "HKLM\Software\Clients\StartMenuInternet\chrlauncher\DefaultIcon" /v "" /t REG_SZ /d "%CHRLAUNCHER_ICON%" /f
    reg add "HKLM\Software\Clients\StartMenuInternet\chrlauncher\shell\open\command" /v "" /t REG_SZ /d "\"%CHRLAUNCHER_PATH%\"" /f
    reg add "HKLM\Software\Clients\StartMenuInternet\chrlauncher\InstallInfo" /v "IconsVisible" /t REG_DWORD /d "1" /f
    reg add "HKLM\Software\Clients\StartMenuInternet\chrlauncher\Capabilities" /v "ApplicationIcon" /t REG_SZ /d "%CHRLAUNCHER_ICON%" /f
    reg add "HKLM\Software\Clients\StartMenuInternet\chrlauncher\Capabilities" /v "ApplicationName" /t REG_SZ /d "chrlauncher" /f
    reg add "HKLM\Software\Clients\StartMenuInternet\chrlauncher\Capabilities" /v "ApplicationDescription" /t REG_SZ /d "Chromium portable launcher and updater" /f
    reg add "HKLM\Software\Clients\StartMenuInternet\chrlauncher\Capabilities\FileAssociations" /v ".htm" /t REG_SZ /d "chrlauncherHTML" /f
    reg add "HKLM\Software\Clients\StartMenuInternet\chrlauncher\Capabilities\FileAssociations" /v ".html" /t REG_SZ /d "chrlauncherHTML" /f
    reg add "HKLM\Software\Clients\StartMenuInternet\chrlauncher\Capabilities\FileAssociations" /v ".shtml" /t REG_SZ /d "chrlauncherHTML" /f
    reg add "HKLM\Software\Clients\StartMenuInternet\chrlauncher\Capabilities\FileAssociations" /v ".xht" /t REG_SZ /d "chrlauncherHTML" /f
    reg add "HKLM\Software\Clients\StartMenuInternet\chrlauncher\Capabilities\FileAssociations" /v ".xhtml" /t REG_SZ /d "chrlauncherHTML" /f
    reg add "HKLM\Software\Clients\StartMenuInternet\chrlauncher\Capabilities\StartMenu" /v "StartMenuInternet" /t REG_SZ /d "chrlauncher" /f
    reg add "HKLM\Software\Clients\StartMenuInternet\chrlauncher\Capabilities\URLAssociations" /v "ftp" /t REG_SZ /d "chrlauncherURL" /f
    reg add "HKLM\Software\Clients\StartMenuInternet\chrlauncher\Capabilities\URLAssociations" /v "http" /t REG_SZ /d "chrlauncherURL" /f
    reg add "HKLM\Software\Clients\StartMenuInternet\chrlauncher\Capabilities\URLAssociations" /v "https" /t REG_SZ /d "chrlauncherURL" /f
    reg add "HKLM\Software\Clients\StartMenuInternet\chrlauncher\Capabilities\URLAssociations" /v "mailto" /t REG_SZ /d "chrlauncherURL" /f
    reg add "HKLM\Software\Clients\StartMenuInternet\chrlauncher\Capabilities\URLAssociations" /v "webcal" /t REG_SZ /d "chrlauncherURL" /f
    reg add "HKLM\Software\Clients\StartMenuInternet\chrlauncher\Capabilities\URLAssociations" /v "urn" /t REG_SZ /d "chrlauncherURL" /f
    reg add "HKLM\Software\Clients\StartMenuInternet\chrlauncher\Capabilities\URLAssociations" /v "tel" /t REG_SZ /d "chrlauncherURL" /f
    reg add "HKLM\Software\Clients\StartMenuInternet\chrlauncher\Capabilities\URLAssociations" /v "smsto" /t REG_SZ /d "chrlauncherURL" /f
    reg add "HKLM\Software\Clients\StartMenuInternet\chrlauncher\Capabilities\URLAssociations" /v "sms" /t REG_SZ /d "chrlauncherURL" /f
    reg add "HKLM\Software\Clients\StartMenuInternet\chrlauncher\Capabilities\URLAssociations" /v "nntp" /t REG_SZ /d "chrlauncherURL" /f
    reg add "HKLM\Software\Clients\StartMenuInternet\chrlauncher\Capabilities\URLAssociations" /v "news" /t REG_SZ /d "chrlauncherURL" /f
    reg add "HKLM\Software\Clients\StartMenuInternet\chrlauncher\Capabilities\URLAssociations" /v "mms" /t REG_SZ /d "chrlauncherURL" /f
    reg add "HKLM\Software\Clients\StartMenuInternet\chrlauncher\Capabilities\URLAssociations" /v "irc" /t REG_SZ /d "chrlauncherURL" /f
    )
    )
    You will have to edit a bat file with the correct information for it to work however.
      My ComputerSystem Spec


  7. Posts : 65
    Windows 10 Version 6.2 (Build 9200) Home, 64bit
    Thread Starter
       15 Dec 2017 #7

    Actually the other user is wrong it is possible to set a portable app as default by forcing windows to recognize it in the apps list.
    Yes, I know, as mentioned I use portable programs as default programs like Firefox, but suddenly Firefox is not the default browser anymore, so I wanted to know how to make it a default program again.

    Well, I do not have any idea of bat files.

    Many thanks
      My ComputerSystem Spec


 

Related Threads
I was wondering if it were possible while performing a new installation of Windows to not only change the default location of your "User Account " folders but also to change the default location of your "Programs Files and Program Files (x86)"...
For a friend trying to help is the opposite of most posts trying to get rid of Photos (the Win 10 new recommended to change to another. In my friends case in settings default in both sections to change defaults - either for pictures or for .jpg...
Hi, all: After about a week with Win10 on this OEM box, a few annoyances continue to nag. First, despite having set Adobe Acrobat 11 (latest, fully licensed version) as the default program for PDF files (confirmed directly in Control Panel, in...
Is there a way to change the default program for the "Play all" button in media folders? I want it to launch audio files with iTunes not media player. I have tried everything in this thread and many other online threads similar, including changing...
Is there a way in 10 to add modifiers or switches to a default program? For example, I would like a .xlsx Microsoft Excel file to open with C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE" /e "%1 (That is, adding " /e "%1 to the command...
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 09:11.
Find Us