mehraanakbarii
Sophomore Member
Posts: 226
OS: Windows 10 22H2
CPU: Intel Core i5-11400
RAM: 32.0 GB DDR4 3200MHz
GPU: Nvidia GeForce RTX 3070
|
Post by mehraanakbarii on Apr 16, 2024 13:10:58 GMT -8
I de-compiled default programs editor and I am trying to use it source code in my app
|
|
mehraanakbarii
Sophomore Member
Posts: 226
OS: Windows 10 22H2
CPU: Intel Core i5-11400
RAM: 32.0 GB DDR4 3200MHz
GPU: Nvidia GeForce RTX 3070
|
Post by mehraanakbarii on Apr 16, 2024 16:08:32 GMT -8
Remake classic Set Default Programs page from Default Programs Control Panel (sud.dll) releasedgithub.com/MehranAkbarii/DefaultProgramsRemakenow you can set defaults for both UWP and Win32 apps in one page (I de-compiled default programs editor and I used it source code in my app)
|
|
mehraanakbarii
Sophomore Member
Posts: 226
OS: Windows 10 22H2
CPU: Intel Core i5-11400
RAM: 32.0 GB DDR4 3200MHz
GPU: Nvidia GeForce RTX 3070
|
Post by mehraanakbarii on Apr 17, 2024 7:35:25 GMT -8
|
|
mehraanakbarii
Sophomore Member
Posts: 226
OS: Windows 10 22H2
CPU: Intel Core i5-11400
RAM: 32.0 GB DDR4 3200MHz
GPU: Nvidia GeForce RTX 3070
|
Post by mehraanakbarii on Apr 17, 2024 8:39:47 GMT -8
To do : bypass Microsoft Default apps restrictions to add "change default browser , media player .etc" feature add protocols support
|
|
|
Post by enderboy on Apr 17, 2024 10:20:37 GMT -8
How does it detect your programs?
|
|
mehraanakbarii
Sophomore Member
Posts: 226
OS: Windows 10 22H2
CPU: Intel Core i5-11400
RAM: 32.0 GB DDR4 3200MHz
GPU: Nvidia GeForce RTX 3070
|
Post by mehraanakbarii on Apr 17, 2024 10:33:45 GMT -8
How does it detect your programs? it detects registered UWP apps by help of Windows.ApplicationModel and Windows.Management.Deployment libraries and registered Win32 apps from registry using de-compiled library called FileAssociationLibrary from default programs editor program
|
|
|
Post by enderboy on Apr 17, 2024 22:55:28 GMT -8
The Windows 7 Windows Update just disappears. I have imported them correctly but it doesn’t show up in control panel. Also language and biometric devices don’t have links which is a bit annoying
|
|
Legofan
Sophomore Member
Embrace modernity? Nah, embrace tradition.
Posts: 171
OS: Windows 11 24H2
Theme: Default
CPU: AMD Ryzen 5 3600 / Intel Pentium Gold 4425Y
RAM: 64GB / 8 GB
GPU: NVIDIA GeForce GTX 1050 Ti / IGPU
Computer Make/Model: Custom Built / Surface Go 2
|
Post by Legofan on Apr 18, 2024 1:11:11 GMT -8
Remake classic Set Default Programs page from Default Programs Control Panel (sud.dll) releasedgithub.com/MehranAkbarii/DefaultProgramsRemakenow you can set defaults for both UWP and Win32 apps in one page (I de-compiled default programs editor and I used it source code in my app)
Nice work! Tho, would it be possible to make that app interface with a proper control panel page in the future?
Though right now, this works as well.
|
|
|
Post by Brawllux on Apr 18, 2024 6:51:04 GMT -8
The Windows 7 Windows Update just disappears. I have imported them correctly but it doesn’t show up in control panel. Also language and biometric devices don’t have links which is a bit annoying Did you only import the specified regkey for WU CPL page? And which preset of links are you using?
|
|
|
Post by enderboy on Apr 18, 2024 7:22:41 GMT -8
The Windows 7 Windows Update just disappears. I have imported them correctly but it doesn’t show up in control panel. Also language and biometric devices don’t have links which is a bit annoying Did you only import the specified regkey for WU CPL page? And which preset of links are you using? No I copied the files also, and what do you mean by preset?
|
|
mehraanakbarii
Sophomore Member
Posts: 226
OS: Windows 10 22H2
CPU: Intel Core i5-11400
RAM: 32.0 GB DDR4 3200MHz
GPU: Nvidia GeForce RTX 3070
|
Post by mehraanakbarii on Apr 18, 2024 7:53:30 GMT -8
Remake classic Set Default Programs page from Default Programs Control Panel (sud.dll) releasedgithub.com/MehranAkbarii/DefaultProgramsRemakenow you can set defaults for both UWP and Win32 apps in one page (I de-compiled default programs editor and I used it source code in my app)
Nice work! Tho, would it be possible to make that app interface with a proper control panel page in the future?
Though right now, this works as well.
yes I will improve it in future, these are the things that I have plans for implement them in my app: -bypass Microsoft Default apps restrictions to add "change default browser , media player .etc" feature -show extensions current defaults in a extensions list view column -multi-select and set defaults for multiple extensions at once -add protocols support
|
|
|
Post by enderboy on Apr 18, 2024 7:56:03 GMT -8
Remake classic Set Default Programs page from Default Programs Control Panel (sud.dll) releasedgithub.com/MehranAkbarii/DefaultProgramsRemakenow you can set defaults for both UWP and Win32 apps in one page (I de-compiled default programs editor and I used it source code in my app)
Just Wondering, can you get working current default in file type associations by patching it
|
|
|
Post by Brawllux on Apr 18, 2024 8:11:42 GMT -8
Did you only import the specified regkey for WU CPL page? And which preset of links are you using? No I copied the files also, and what do you mean by preset? Attachments:
|
|
|
Post by enderboy on Apr 18, 2024 8:15:59 GMT -8
No I copied the files also, and what do you mean by preset? I’ll try using regsvr32 again and see if it works
|
|
mehraanakbarii
Sophomore Member
Posts: 226
OS: Windows 10 22H2
CPU: Intel Core i5-11400
RAM: 32.0 GB DDR4 3200MHz
GPU: Nvidia GeForce RTX 3070
|
Post by mehraanakbarii on Apr 19, 2024 0:54:06 GMT -8
I found a way to add task links without modifying shell32 related files that is how default programs editor handle it control panel applet and task links ControlPanelTasks.xml (4.62 KB)
|
|
|
Post by Brawllux on Apr 19, 2024 1:08:18 GMT -8
I found a way to add task links without modifying shell32 related files that is how default programs editor handle it control panel applet and task links View Attachment View AttachmentI already know this way. I tried doing it multiple times but it is impossible by just doing edits to the registry.The links that you see in the attachment(the links in CPL main page) are loaded directly from shell32. There is no registry key that they use, hence no way to remove or add links there without editing shell32.dll.mun as of today. Although you can load each applets links by pointing them to an XML file(which is documented here)but this will require editing each applets registry entries one by one and also giving each link a separate GUID from the vanilla one(windows refuses to load links if the same GUIDs are used multiple times, and this will make them not appear in CPL main page since they are forced to load the ones in shell32.), which would make undoing the changes made by this modificatiın a real pain in the back. It will also slow the development since you will need to point every link to their new GUID. For loading the links from a different dll or xml file globally a windhawk mod would be needed that will redirect the calls made to shell32 to a different dll file(for example Windows 7 shell32). This way all links could appear without any edits to shell32. Attachments:
|
|
mehraanakbarii
Sophomore Member
Posts: 226
OS: Windows 10 22H2
CPU: Intel Core i5-11400
RAM: 32.0 GB DDR4 3200MHz
GPU: Nvidia GeForce RTX 3070
|
Post by mehraanakbarii on Apr 20, 2024 9:36:06 GMT -8
show current defaults feature soon
|
|
mehraanakbarii
Sophomore Member
Posts: 226
OS: Windows 10 22H2
CPU: Intel Core i5-11400
RAM: 32.0 GB DDR4 3200MHz
GPU: Nvidia GeForce RTX 3070
|
Post by mehraanakbarii on Apr 20, 2024 14:50:47 GMT -8
v1.1.3: extensions current defaults listed in a column of extensions list view
|
|
mehraanakbarii
Sophomore Member
Posts: 226
OS: Windows 10 22H2
CPU: Intel Core i5-11400
RAM: 32.0 GB DDR4 3200MHz
GPU: Nvidia GeForce RTX 3070
|
Post by mehraanakbarii on Apr 20, 2024 17:40:59 GMT -8
Set Default Programs page from Default Programs (sud.dll) (Removed in Windows 10 1709-1803) is the only control panel page from windows 8 , 8.1 era that cannot be restored and cannot be remade completely and even there is no good replacement application for it even I could not remake it functionalities completely "Set default app or program for file types by app." feature was the only thing that I could remake it , but it is not perfect either because some of current defaults would not show in list view (you will have exact same issue in default programs editor) These 3 functionalities are still missing (last two functionalities even missing in ms-settings page and completely removed from windows) :
-Set default app or program for protocols by app. (there is no way to change protocols associations without using ms-settings or classic Default Programs\Set Associations page because Windows uses hashes to prevent changing protocols Associations by directly editing registry values by users and third-party apps, Hash value data and ProgID value data are not changeable directly by users and third-party apps)
-Make an app or a program the default for all file types and protocols it can open at once. -Make an app or a program the default for multiple file types or protocols it can open at once.
|
|
|
Post by enderboy on Apr 21, 2024 11:06:24 GMT -8
v1.1.3: extensions current defaults listed in a column of extensions list view Don't know if this helps, but I managed to open set your default apps without it crashing, although it doesn't have any apps in it
|
|