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


  1. Posts : 175
    Windows 10 Version 6.2 (Build 9200) Home, 64bit
       #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 Computer


  2. Posts : 9,765
    Mac OS Catalina
       #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 Computer


  3. Posts : 175
    Windows 10 Version 6.2 (Build 9200) Home, 64bit
    Thread Starter
       #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 Computer


  4. Posts : 9,765
    Mac OS Catalina
       #4

    Bingus said:
    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 Computer


  5. Posts : 175
    Windows 10 Version 6.2 (Build 9200) Home, 64bit
    Thread Starter
       #5

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


  6. Posts : 1
    Windows 10 Pro
       #6

    Bingus said:
    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 Computer


  7. Posts : 175
    Windows 10 Version 6.2 (Build 9200) Home, 64bit
    Thread Starter
       #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 Computer


 

  Related Discussions
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 08:53.
Find Us




Windows 10 Forums