ZileXa Posted November 26, 2005 Share Posted November 26, 2005 I would like to add 2 items to Control Panel, I would also like to put them in the category for Visual settings.1. Xpizesettings2. startwihuvisual.cmdWith the code below, both items appear in the classic Control Panel, but not in the Category!Also, if I double click one of them they wont start!I already tried reducing the number of '\' for the path, but it doesn't help.I already have this:[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C18}]@="Visuele extra's aanpassen""InfoTip"="Kies een passend loginscherm & logoff/shutdown dialoog bij het thema, wijzig de visuele 'Windows Vista' extra's"[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C18}\DefaultIcon]@=[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C18}\Shell][HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C18}\Shell\Open][HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C18}\Shell\Open\command]@="%SystemRoot%\\\\Resources\\\\wihuvisual\\\\startwihuvisual.cmd"[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C18}\ShellFolder]"Attributes"=dword:00000020[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C19}]@="XPize Settings""InfoTip"="wijzig verschillende bureaublad instellingen!"[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C19}\DefaultIcon]@="%SystemRoot%\\\\Resources\\\\XPizeSettings.exe,0"[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C19}\Shell][HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C19}\Shell\Open][HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C19}\Shell\Open\command]@="%SystemRoot%\\\\Resources\\\\XPizeSettings.exe"[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C19}\ShellFolder]"Attributes"=dword:00000020[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C18}]@="Visuele extra's aanpassen""InfoTip"="Kies een passend loginscherm & logoff/shutdown dialoog bij het thema, wijzig de visuele 'Windows Vista' extra's"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C18}\DefaultIcon]@=[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C18}\Shell][HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C18}\Shell\Open][HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C18}\Shell\Open\command]@="%SystemRoot%\\\\Resources\\\\wihuvisual\\\\startwihuvisual.cmd"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C18}\ShellFolder]"Attributes"=dword:00000020[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C19}]@="XPize Settings""InfoTip"="wijzig verschillende bureaublad instellingen!"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C19}\DefaultIcon]@="%SystemRoot%\\\\Resources\\\\XPizeSettings.exe,0"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C19}\Shell][HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C19}\Shell\Open][HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C19}\Shell\Open\command]@="%SystemRoot%\\\\Resources\\\\XPizeSettings.exe"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C19}\ShellFolder]"Attributes"=dword:00000020[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C18}][HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C19}] Link to comment Share on other sites More sharing options...
mc134 Posted November 26, 2005 Share Posted November 26, 2005 Download and install YourCPL.YourCPLI've used it to add Taskmanager (taskmgr.exe) and Microsoft Baseline security Analyzer (mbsa.exe) among other things. Enjoy. Link to comment Share on other sites More sharing options...
The Black Cloud Posted November 26, 2005 Share Posted November 26, 2005 you cant use the variables in registry only the correct path like %systemroot% you should change it to C:\Windows Link to comment Share on other sites More sharing options...
jbm Posted November 26, 2005 Share Posted November 26, 2005 you cant use the variables in registry only the correct path like %systemroot% you should change it to C:\Windowsyou can use variables in the registry. If you want to use %systemroot%just put %%systemroot%% in your reg file. And besides when you importa .reg file with %systemroot% it will be replaced with c:\windowsin the registry, or what ever your path to windows is. Link to comment Share on other sites More sharing options...
ZileXa Posted November 27, 2005 Author Share Posted November 27, 2005 (edited) Download and install YourCPL.YourCPLI've used it to add Taskmanager (taskmgr.exe) and Microsoft Baseline security Analyzer (mbsa.exe) among other things. Enjoy.Thanks!But how is TweakUI added to Control Panel without the use of any .cpl file!?it is just a (very popular) regtweak that adds it to control panel..I used this regtweak to create my own (change the .exe, the discription and change "{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}" into "{D14ED2E1-C75B-443c-BD7C-FC03B2F08C18}"), but it didn't work because the path contained errors.;Show TweakUI at Control Panel[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}]@="TweakUI XP""InfoTip"="Starts the TweakUI program which, allows you to customize advanced options and Settings in Windows to your liking"[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}\DefaultIcon]@="%SystemRoot%\\\\System32\\\\tweakui.exe,0"[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}\Shell\Open\command]@="tweakui.exe"[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}\ShellFolder]"Attributes"=dword:00000030[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}]@="Tweak UII used this regtweak to create my own (change the .exe, the discription and change "{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}" into a new one:"{D14ED2E1-C75B-443c-BD7C-FC03B2F08C18}"), but it didn't work because the path contained errors.This is the way to add any .exe to the Control Panel!;Show Xpize at Control Panel[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C21}]@="XPize Appearance desktop icons""InfoTip"="Change the way Icons are viewed on the Desktop!""{305CA226-D286-468e-B848-2B2E8E697B74} 2"=dword:00000001[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C21}\DefaultIcon]@="%SystemRoot%\\System32\\shell32.dll,161"[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C21}\Shell\Open\command]@="C:\\Windows\\Resources\\xpizesettings.exe"[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C21}\ShellFolder]"Attributes"=dword:00000030[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C21}]@="XPize Appearance desktop icons";Show WihuVisual at Control Panel[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C22}]@="LogonScreens & Visual extra's""InfoTip"="Choose a logonscreen and logoff/shutdown dialog that fits your Theme. Modify the visual 'Windows Vista'-extras""{305CA226-D286-468e-B848-2B2E8E697B74} 2"=dword:00000001[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C22}\DefaultIcon]@="%SystemRoot%\\System32\\shell32.dll,161"[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C22}\Shell\Open\command]@="C:\\Windows\\Resources\\wihuvisual\\wihu.exe /skiprestart /skipsettings"[HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C22}\ShellFolder]"Attributes"=dword:00000030[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C22}]@="LogonScreens & Visual extra's"These are 2 examples, they show how to set the name that appears in Control Panel, the path for the icon and the path for the executable (and in the 2nd example you see switches will also work!).Now I only would like to know how to add both of them to the Category "Appearance and Themes"!Who knows?EDIT: Found it myself, I updated the code above with a dword value for the first key.It works perfectly! Edited November 27, 2005 by ZileXa Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted November 28, 2005 Share Posted November 28, 2005 Do it the easiest way and google for a little prog called cpl file maker. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now