Worf Posted November 20, 2009 Posted November 20, 2009 Hi.How would i display an .exe as an .cpl in Control Panel?I know there is a registry entry that can be used but can'nt find the information.Many ThanksWorf Quote
beats Posted November 20, 2009 Posted November 20, 2009 Below are the registry entries you need. This example is for CPU-Z. Keep in mind that the CLSID has to be unique. Change it to some random number, to avoid conflicts with other CPL addons and such.Windows Registry Editor Version 5.00; Add CPU-Z to Control Panel[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-111111111120}]@="CPU-Z""InfoTip"="Shows detailed CPU and RAM information""{305CA226-D286-468e-B848-2B2E8E697B74} 2"=dword:00000005[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-111111111120}\DefaultIcon]@="%SystemRoot%\\System32\\cpuz.exe"[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-111111111120}\Shell][HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-111111111120}\Shell\Open][HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-111111111120}\Shell\Open\command]@="cpuz.exe"[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-111111111120}\ShellFolder]"Attributes"=dword:00000000[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{D14ED2E1-C75B-443c-BD7C-111111111120}]@="Add CPU-z to Control Panel" Quote
Worf Posted November 20, 2009 Author Posted November 20, 2009 Below are the registry entries you need. This example is for CPU-Z. Keep in mind that the CLSID has to be unique. Change it to some random number, to avoid conflicts with other CPL addons and such.Windows Registry Editor Version 5.00; Add CPU-Z to Control Panel[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-111111111120}]@="CPU-Z""InfoTip"="Shows detailed CPU and RAM information""{305CA226-D286-468e-B848-2B2E8E697B74} 2"=dword:00000005[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-111111111120}\DefaultIcon]@="%SystemRoot%\\System32\\cpuz.exe"[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-111111111120}\Shell][HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-111111111120}\Shell\Open][HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-111111111120}\Shell\Open\command]@="cpuz.exe"[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-111111111120}\ShellFolder]"Attributes"=dword:00000000[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{D14ED2E1-C75B-443c-BD7C-111111111120}]@="Add CPU-z to Control Panel"Thank you Beats. :thumbsup_anim: Quote
ricktendo Posted November 20, 2009 Posted November 20, 2009 Use guidgen to generate unique registry guid for each CPL item instead of doing it manually, also you can referance this page to see what numbers/categories you want your cpl item placed inhttp://support.microsoft.com/kb/292463Here is how you put MS Virtual CDRom in the "Printers and Other Hardware" category[VCdRom.AddReg]HKCR,"CLSID\{8ECC055D-047F-11D1-A537-0000F8753ED1}",,,"%VCDROM%"HKCR,"CLSID\{8ECC055D-047F-11D1-A537-0000F8753ED1}","InfoTip",,"%VCDROM_DESC%"HKCR,"CLSID\{8ECC055D-047F-11D1-A537-0000F8753ED1}","{305CA226-D286-468e-B848-2B2E8E697B74} 2",0x10001,2HKCR,"CLSID\{8ECC055D-047F-11D1-A537-0000F8753ED1}\DefaultIcon",,0x20000,"%%SystemRoot%%\system32\shell32.dll,-12"HKCR,"CLSID\{8ECC055D-047F-11D1-A537-0000F8753ED1}\Shell\Open\command",,,"vcdcontroltool"HKCR,"CLSID\{8ECC055D-047F-11D1-A537-0000F8753ED1}\ShellFolder","Attributes",0x10001,0HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{8ECC055D-047F-11D1-A537-0000F8753ED1}",,,"%VCDROM%"Here is how you put MS Timezone and Time Zone Editor in the "Date, Time, Language, and Regional Options" category[TZEdit.AddReg]HKCR,"CLSID\{3B337BE7-9A3E-431a-ACCA-995ADC347EE5}",,,"%TZEDIT%"HKCR,"CLSID\{3B337BE7-9A3E-431a-ACCA-995ADC347EE5}","InfoTip",0x20000,"@%%SystemRoot%%\system32\tzedit.exe,-1"HKCR,"CLSID\{3B337BE7-9A3E-431a-ACCA-995ADC347EE5}","{305CA226-D286-468e-B848-2B2E8E697B74} 2",0x10001,6HKCR,"CLSID\{3B337BE7-9A3E-431a-ACCA-995ADC347EE5}","LocalizedString",0x20000,"@%%SystemRoot%%\system32\tzedit.exe,-2"HKCR,"CLSID\{3B337BE7-9A3E-431a-ACCA-995ADC347EE5}\DefaultIcon",,0x20000,"%%SystemRoot%%\explorer.exe,-253"HKCR,"CLSID\{3B337BE7-9A3E-431a-ACCA-995ADC347EE5}\Shell\Open\command",,,"tzedit"HKCR,"CLSID\{3B337BE7-9A3E-431a-ACCA-995ADC347EE5}\ShellFolder","Attributes",0x10001,0HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{3B337BE7-9A3E-431a-ACCA-995ADC347EE5}",,,"%TZEDIT%" Quote
Worf Posted November 22, 2009 Author Posted November 22, 2009 Oh, guidgen is nice. Gracias Rick! Thank you both, need this info so i can incorperate it into WSFI so that users can create there own control panel apps. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.