Arie Posted October 5, 2007 Share Posted October 5, 2007 During my unattended Windows XP Professional setup, LightScribe Direct Disc Labeling is installed silently. My custom silent installer deletes all created shortcuts in the Start Menu and imports the following REG-file to configure the software and to add an icon for the "LightScribe Control Panel" to the Control Panel. Everything works fine, except adding the icon to the Control Panel... well, actually, that works fine too, but when clicking the newly created icon I get an error message: "Access denied". How do I properly add a new icon to the Control Panel; what is wrong with the following:Windows Registry Editor Version 5.00; DISABLE NOTIFICATION MESSAGES[HKEY_CURRENT_USER\Software\LightScribe\LightScribe Control Panel]"DisplayBalloons"=dword:00000000; DISABLE LIGHTSCRIBE CONTROL PANEL TO START AUTOMATICALLY[HKEY_CURRENT_USER\Software\LightScribe\LightScribe Control Panel]"RunAtLogin"=dword:00000000; ADD LIGHTSCRIBE TO CONTROL PANEL[HKEY_CLASSES_ROOT\CLSID\{5197646C-00EA-4307-A067-61319EBBE499}]@="LightScribe""InfoTip"="LightScribe Direct Disc Labeling"[HKEY_CLASSES_ROOT\CLSID\{5197646C-00EA-4307-A067-61319EBBE499}\DefaultIcon]@="%CommonProgramFiles%\\LightScribe\\LightScribeControlPanel.exe"[HKEY_CLASSES_ROOT\CLSID\{5197646C-00EA-4307-A067-61319EBBE499}\Shell][HKEY_CLASSES_ROOT\CLSID\{5197646C-00EA-4307-A067-61319EBBE499}\Shell\Open][HKEY_CLASSES_ROOT\CLSID\{5197646C-00EA-4307-A067-61319EBBE499}\Shell\Open\Command]@="%CommonProgramFiles%\\LightScribe\\LightScribeControlPanel.exe"[HKEY_CLASSES_ROOT\CLSID\{5197646C-00EA-4307-A067-61319EBBE499}\ShellFolder]"Attributes"=dword:00000030[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{5197646C-00EA-4307-A067-61319EBBE499}]@="LightScribe" Link to comment Share on other sites More sharing options...
Arie Posted October 8, 2007 Author Share Posted October 8, 2007 Anyone? Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted October 8, 2007 Share Posted October 8, 2007 I have an idea as I do this all of the time with inf files give me a minute to translate to an reg file and add the needed info for lightscribe please. Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted October 8, 2007 Share Posted October 8, 2007 I could not get past that error no matter what I tried so I went a completly different path:I made a cpl and cpi file for it and it works fine that way!Just add these file to the system32 dir... Link to comment Share on other sites More sharing options...
Arie Posted October 8, 2007 Author Share Posted October 8, 2007 Thank you very much. Will see if it works soon, maybe this evening.One question though, how do you make these files?I like to make everything myself, hence the question Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted October 8, 2007 Share Posted October 8, 2007 jspayne cpl file makerhttp://www.jspayne.com/cplmaker/I DO have the registered version so no worry about the rarely seen popup. Link to comment Share on other sites More sharing options...
Oisin Posted October 8, 2007 Share Posted October 8, 2007 Hi Arie! [HKEY_CLASSES_ROOT\CLSID\{5197646C-00EA-4307-A067-61319EBBE499}\DefaultIcon]@="%CommonProgramFiles%\\LightScribe\\LightScribeControlPanel.exe"[HKEY_CLASSES_ROOT\CLSID\{5197646C-00EA-4307-A067-61319EBBE499}\Shell\Open\Command]@="%CommonProgramFiles%\\LightScribe\\LightScribeControlPanel.exe"I think you have to use REG_EXPAND_SZ Registry Values here.Best regards,Oisin Link to comment Share on other sites More sharing options...
ricktendo Posted October 8, 2007 Share Posted October 8, 2007 (edited) Kel I think Oisin is correct, try this one:HKCU,"Software\LightScribe\LightScribe Control Panel","DisplayBalloons",0x10001,00,00,00,00HKCU,"Software\LightScribe\LightScribe Control Panel","RunAtLogin",0x10001,00,00,00,00HKCR,"CLSID\{5197646C-00EA-4307-A067-61319EBBE499}",,0x0,"LightScribe"HKCR,"CLSID\{5197646C-00EA-4307-A067-61319EBBE499}","InfoTip",0x0,"LightScribe Direct Disc Labeling"HKCR,"CLSID\{5197646C-00EA-4307-A067-61319EBBE499}\DefaultIcon",,0x20000,"%%CommonProgramFiles%%\LightScribe\LightScribeControlPanel.exe"HKCR,"CLSID\{5197646C-00EA-4307-A067-61319EBBE499}\Shell\Open\Command",,0x20000,"%%CommonProgramFiles%%\LightScribe\LightScribeControlPanel.exe"HKCR,"CLSID\{5197646C-00EA-4307-A067-61319EBBE499}\ShellFolder","Attributes",0x10001,30,00,00,00HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{5197646C-00EA-4307-A067-61319EBBE499}",,0x0,"LightScribe"BTW to fix the icon try something like this (use the actual Icon number inside the executable):...b1-940d-96973a50e9e0}\DefaultIcon",,0x20000,"%%ProgramFiles%%\%SIDEBAR%\sidebar.exe,-100" Edited October 8, 2007 by ricktendo64 Link to comment Share on other sites More sharing options...
Arie Posted October 9, 2007 Author Share Posted October 9, 2007 Thanks for all the tips and hints Will give it all a try soon hopefully. Link to comment Share on other sites More sharing options...
Arie Posted October 9, 2007 Author Share Posted October 9, 2007 ricktendo64, how do I add your code to a REG-file? It's not the normal syntax? Link to comment Share on other sites More sharing options...
Arie Posted October 26, 2007 Author Share Posted October 26, 2007 ricktendo64, how do I add your code to a REG-file? It's not the normal syntax?Bump Link to comment Share on other sites More sharing options...
Arie Posted October 26, 2007 Author Share Posted October 26, 2007 I could not get past that error no matter what I tried so I went a completly different path:I made a cpl and cpi file for it and it works fine that way!Just add these file to the system32 dir...Tested it. It does indeed add an icon to the Control Panel, but the name of the icon is wrong; it should be LightScribe, instead of LiteScribe. Besides that, the icon seems to look different compared to the normal LightScribe icon; it seems to have some kind of border? Is it possible for you to please fix these two points? Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted October 26, 2007 Share Posted October 26, 2007 Yeah I will tonight. Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted October 26, 2007 Share Posted October 26, 2007 Going off of the official icon for the control panel it does have a border just browse the LightScribe dir in you program files\common folder and you'll see that. So I cannot do much about that unless I rebuilt the icon without a border.I did rebuild the cpl & cpi files though so the name is right now sorry about that. Link to comment Share on other sites More sharing options...
os2fan2 Posted October 29, 2007 Share Posted October 29, 2007 You can create control panel applets by the following reg file. This is c-regedit.reg. It adds regedit.exe to the control panel, You need to use different CLSID's for different items. I use microsoft's CLSID for generating these.Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\CLSID\{819C8FC5-3D36-4d9a-B626-5CE2AD811463}]@="Registry""InfoTip"="Registry Editor""{305CA226-D286-468e-B848-2B2E8E697B74} 2"=dword:00000005; fiddle with the end -05 to change the location in the control categories.[HKEY_CLASSES_ROOT\CLSID\{819C8FC5-3D36-4d9a-B626-5CE2AD811463}\DefaultIcon]@="regedit.exe,0"[HKEY_CLASSES_ROOT\CLSID\{819C8FC5-3D36-4d9a-B626-5CE2AD811463}\Shell][HKEY_CLASSES_ROOT\CLSID\{819C8FC5-3D36-4d9a-B626-5CE2AD811463}\Shell\Open][HKEY_CLASSES_ROOT\CLSID\{819C8FC5-3D36-4d9a-B626-5CE2AD811463}\Shell\Open\command]@="regedit.exe"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{819C8FC5-3D36-4d9a-B626-5CE2AD811463}]@="Add Registry to Control Panel" 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