October 5, 200718 yr 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"
October 8, 200718 yr 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.
October 8, 200718 yr 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...
October 8, 200718 yr Author 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
October 8, 200718 yr jspayne cpl file makerhttp://www.jspayne.com/cplmaker/I DO have the registered version so no worry about the rarely seen popup.
October 8, 200718 yr 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
October 8, 200718 yr 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, 200718 yr by ricktendo64
October 9, 200718 yr Author ricktendo64, how do I add your code to a REG-file? It's not the normal syntax?
October 26, 200718 yr Author ricktendo64, how do I add your code to a REG-file? It's not the normal syntax?Bump
October 26, 200718 yr Author 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?
October 26, 200718 yr 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.
October 29, 200718 yr 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"
Create an account or sign in to comment