How to add my own program to the list of Default programs?


  1. Posts : 3
    Windows 10
       #1

    How to add my own program to the list of Default programs?


    I'm trying to add my own program (AkelPad) to the list of Default programs.



    I created and applied the reg-file, but the program still is not in the list.

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\AkelPad\Capabilities]
    "ApplicationDescription"="AkelPad - Text Editor"
    "ApplicationIcon"="C:\\Program Files\\AkelPad\\AkelPad.exe,0"
    "ApplicationName"="AkelPad"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\AkelPad\Capabilities\FileAssociations]
    ".txt"="AkelPadText.txt"
    ".ini"="AkelPadText.ini"
    ".reg"="AkelPadText.reg"
    ".bat"="AkelPadText.bat"
    ".cmd"="AkelPadText.cmd"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\AkelPad\Capabilities\FileAssociations]
    ".txt"="AkelPadText.txt"
    ".ini"="AkelPadText.ini"
    ".reg"="AkelPadText.reg"
    ".bat"="AkelPadText.bat"
    ".cmd"="AkelPadText.cmd"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications]
    "AkelPad"="Software\\AkelPad\\Capabilities"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\AkelPad.exe\shell\open\command]
    @="\"C:\\Program Files\\AkelPad\\AkelPad.exe\""
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\AkelPad.exe]
    @="C:\\Program Files\\AkelPad\\AkelPad.exe"
    "Path"="C:\\Program Files\\AkelPad"
    
    [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts]
    "Applications\\AkelPad.exe_.txt"=dword:00000000
    "Applications\\AkelPad.exe_.ini"=dword:00000000
    "Applications\\AkelPad.exe_.reg"=dword:00000000
    "Applications\\AkelPad.exe_.bat"=dword:00000000
    "Applications\\AkelPad.exe_.cmd"=dword:00000000
    "AkelPadText.txt_.txt"=dword:00000000
    "AkelPadText.ini_.ini"=dword:00000000
    "AkelPadText.reg_.reg"=dword:00000000
    "AkelPadText.bat_.bat"=dword:00000000
    "AkelPadText.cmd_.cmd"=dword:00000000
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AkelPadText.txt]
    @="AkelPad Document"
    "FriendlyTypeName"="AkelPad Document"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AkelPadText.txt\DefaultIcon]
    @="\"C:\\Program Files\\AkelPad\\AkelPad.exe,0\""
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AkelPadText.txt\shell\open\command]
    @="\"C:\\Program Files\\AkelPad\\AkelPad.exe\" \"%1\""
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AkelPadText.reg\shell\edit\command]
    @="\"C:\\Program Files\\AkelPad\\AkelPad.exe\" \"%1\""
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AkelPadText.ini]
    @="AkelPad Document"
    "FriendlyTypeName"="AkelPad Document"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AkelPadText.ini\DefaultIcon]
    @="\"C:\\Program Files\\AkelPad\\AkelPad.exe,0\""
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AkelPadText.ini\shell\edit\command]
    @="\"C:\\Program Files\\AkelPad\\AkelPad.exe\" \"%1\""
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AkelPadText.reg]
    @="AkelPad Document"
    "FriendlyTypeName"="AkelPad Document"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AkelPadText.reg\DefaultIcon]
    @="\"C:\\Program Files\\AkelPad\\AkelPad.exe,0\""
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AkelPadText.reg\shell\edit\command]
    @="\"C:\\Program Files\\AkelPad\\AkelPad.exe\" \"%1\""
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AkelPadText.bat]
    @="AkelPad Document"
    "FriendlyTypeName"="AkelPad Document"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AkelPadText.bat\DefaultIcon]
    @="\"C:\\Program Files\\AkelPad\\AkelPad.exe,0\""
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AkelPadText.bat\shell\edit\command]
    @="\"C:\\Program Files\\AkelPad\\AkelPad.exe\" \"%1\""
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AkelPadText.cmd]
    @="AkelPad Document"
    "FriendlyTypeName"="AkelPad Document"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AkelPadText.cmd\DefaultIcon]
    @="\"C:\\Program Files\\AkelPad\\AkelPad.exe,0\""
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AkelPadText.cmd\shell\edit\command]
    @="\"C:\\Program Files\\AkelPad\\AkelPad.exe\" \"%1\""
    Can anyone tell me how to add my own program that doesn't appear in Default programs list?
      My Computer


  2. Posts : 3
    Windows 10
    Thread Starter
       #2

    For the experiment I installed the XnView program and with SysTracer Pro discovered the regiistry keys (strings), that were necessary for adding portable version of the XnView program to Default Programs list in Windows 10.
    The example provided below, adds portable version of the XnViewMP program to the Default Programs list in clean Windows 10, installed on virtual system.

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\xnviewmp.exe\shell\open\command\]
    @="\"C:\\Users\\Nizaury\\Desktop\\XnViewMP\\xnviewmp.exe\" \"%1\""
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\XnViewMP.bmp\DefaultIcon\]
    @="C:\\Users\\Nizaury\\Desktop\\XnViewMP\\FileIcons\\bmp.ico"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\XnViewMP.bmp\shell\open\command\]
    @="\"C:\\Users\\Nizaury\\Desktop\\XnViewMP\\xnviewmp.exe\" \"%1\""
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications\]
    "XnViewMP"="Software\\XnViewMP\\Capabilities"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\XnViewMP\Capabilities\]
    "ApplicationDescription"="XnViewMP is a fast multi-format graphics browser, viewer, and converter. It reads more than 400 file formats."
    "ApplicationName"="XnViewMP for Windows"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\XnViewMP\Capabilities\FileAssociations\]
    ".bmp"="XnViewMP.bmp"
    On the basis of this template I сreated for AkelPad - but it didn't work.

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\AkelPad.exe\shell\open\command\]
    @="\"C:\\Users\\Nizaury\\Desktop\\AkelPad\\AkelPad.exe\" \"%1\""
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AkelPad.txt\DefaultIcon\]
    @="C:\\Users\\Nizaury\\Desktop\\AkelPad\\FileIcons\\Icon.ico"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AkelPad.txt\shell\open\command\]
    @="\"C:\\Users\\Nizaury\\Desktop\\AkelPad\\AkelPad.exe\" \"%1\""
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications\]
    "AkelPad"="Software\\AkelPad\\Capabilities"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\AkelPad\Capabilities\]
    "ApplicationDescription"="AkelPad is a fast multi-format text editor."
    "ApplicationName"="AkelPad"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\AkelPad\Capabilities\FileAssociations\]
    ".txt"="AkelPad.txt"
    I wonder what could be the reason?
    Maybe addition to the list of "Default Programs" should be laid at the program level?
      My Computer


  3. Posts : 3
    Windows 10
    Thread Starter
       #3

    Problem solved.
    In Windows 10 to add the program to the "Defaults Programs" list, the program should have the "CompanyName" in resources.
      My Computer


  4. Posts : 1
    Windows
       #4

    Nizaury said:
    Problem solved.
    In Windows 10 to add the program to the "Defaults Programs" list, the program should have the "CompanyName" in resources.
    Hi, I am struggling with a similar issue -- all registry keys are in place, yet the application does not show in Default Programs applet in Windows 10. Have been frustrated by this for over a week now, trying seemingly everything.

    There is a "CompanyName" value in my "Version" resource in the built .exe file for my application, but doesn't seem to have any positive effect.

    How did you find out about "CompanyName" in resources? Trial and error? Is there some documentation by Microsoft I might have missed?
      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 18:38.
Find Us




Windows 10 Forums