IPB

Google Frontpage Forums Unattended CD/DVD Guide

> Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Windows XP forum. If you have an error or a question make sure that you provide enough information to your fellow members in order to get a good answer, without information we cant answer you.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators.

 
Reply to this topicStart new topic
> Adding Program To Control Panel
Denney
post Oct 13 2004, 09:43 PM
Post #1


*shrug*
*****

Group: Members
Posts: 877
Joined: 11-September 03
From: Brisbane, Australia
Member No.: 6518
Country Flag


I need some help adding a program to the contol panel. I've created a Startup Manager program and have added it to the control panel with the following registry entries:
CODE
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{373419B5-F3F9-4D20-9A45-6D4898CE9E04}]
@="Startup Manager"
"InfoTip"="Manages all programs that startup with a computer."

[HKEY_CLASSES_ROOT\CLSID\{373419B5-F3F9-4D20-9A45-6D4898CE9E04}\DefaultIcon]
@="%programfiles%\\Mantra Software Australia\\StartupManager\\StartupManager.exe,0"

[HKEY_CLASSES_ROOT\CLSID\{373419B5-F3F9-4D20-9A45-6D4898CE9E04}\Shell\Open\command]
@="%programfiles%\\Mantra Software Australia\\StartupManager\\StartupManager.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{373419B5-F3F9-4D20-9A45-6D4898CE9E04}]
@="Startup Manager"
It appears, but the problem is when I try and run it from the control panel, I get an "Access is Denied" error.

Does anyone have any information on this or any way to fix it?
Go to the top of the page
 
+Quote Post
Denney
post Oct 13 2004, 09:46 PM
Post #2


*shrug*
*****

Group: Members
Posts: 877
Joined: 11-September 03
From: Brisbane, Australia
Member No.: 6518
Country Flag


Nevermind. I fixed it.

I placed the StartupManager.exe file in the system32 directory and now it works.

Obviously the "Program Files" folder doesn't have the required permission to run programs via the control panel.
Go to the top of the page
 
+Quote Post
MCT
post Oct 13 2004, 09:49 PM
Post #3


MSFN Junkie
*********

Group: Members
Posts: 4164
Joined: 19-May 04
Member No.: 20315
Country Flag


really? thats kinda weird (ive never tried it)

what if u are in the admin account? (i dunno if u are)
Go to the top of the page
 
+Quote Post
Denney
post Oct 14 2004, 05:06 AM
Post #4


*shrug*
*****

Group: Members
Posts: 877
Joined: 11-September 03
From: Brisbane, Australia
Member No.: 6518
Country Flag


Yeah. No matter what account you use, you'll get an "Access is denied" error.

system32 is the only folder so far that works properly. Ahwell, I don't mind... I only have one exe file so just placing it in the system32 directory doesn't matter.
Go to the top of the page
 
+Quote Post
MCT
post Oct 14 2004, 09:10 PM
Post #5


MSFN Junkie
*********

Group: Members
Posts: 4164
Joined: 19-May 04
Member No.: 20315
Country Flag


what if u add a *.lnk 2 system32 & link it 2 the program? adding your *.lnk file to control panel?
Go to the top of the page
 
+Quote Post
Denney
post Oct 14 2004, 09:21 PM
Post #6


*shrug*
*****

Group: Members
Posts: 877
Joined: 11-September 03
From: Brisbane, Australia
Member No.: 6518
Country Flag


Nup... I get a new error now...

(null) is not a valid Win32 application.
Go to the top of the page
 
+Quote Post
prathapml
post Oct 14 2004, 10:16 PM
Post #7


Follow the rules please :-)
Group Icon

Group: Patrons
Posts: 7658
Joined: 14-November 03
From: Bangalore, India
Member No.: 9470
Country Flag


Maybe you can modify this to your purpose.
Examples of a similar sort of add to CPL:
CODE
;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 UI

;Clipboard (becomes clipbook) Control Panel Icon
[HKEY_CLASSES_ROOT\CLSID\{4de05bc9-69f6-4bfc-8094-5e1069f2f51f}]
@="Clipboard"
"InfoTip"="Starts the Clipboard"
[HKEY_CLASSES_ROOT\CLSID\{4de05bc9-69f6-4bfc-8094-5e1069f2f51f}\DefaultIcon]
@="%SystemRoot%\\\\System32\\\\clipbrd.exe,0"
[HKEY_CLASSES_ROOT\CLSID\{4de05bc9-69f6-4bfc-8094-5e1069f2f51f}\Shell\Open\command]
@="clipbrd.exe"
[HKEY_CLASSES_ROOT\CLSID\{4de05bc9-69f6-4bfc-8094-5e1069f2f51f}\ShellFolder]
"Attributes"=dword:00000030
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{4de05bc9-69f6-4bfc-8094-5e1069f2f51f}]
@="Add Clipboard to the Control Panel"
Hoping this helps....
Go to the top of the page
 
+Quote Post
Denney
post Oct 15 2004, 12:59 AM
Post #8


*shrug*
*****

Group: Members
Posts: 877
Joined: 11-September 03
From: Brisbane, Australia
Member No.: 6518
Country Flag


@prathapml: Take note of my second post... I fixed it... tongue.gif

Just meant that I needed to have the program in "system32" directory rather than the "Program Files" directory.
Go to the top of the page
 
+Quote Post
dougiefresh
post Apr 11 2005, 12:39 AM
Post #9


Member
**

Group: Members
Posts: 104
Joined: 30-October 04
Member No.: 35213
Country Flag


The only way I've found to add programs to the Control Panel is to use CMD or BAT files with "REG ADD" commands in it. It ensures that the correct path to the program is expanded before it is put in the registry. For example, this is how I add the "Volume Control" applet to the Control Panel:
CODE
echo Adding "Volume Control" application to Control Panel....
set CLSID={A27BAB2C-1EF5-4009-B6DA-53F58DEAEAA3}
reg add hkcr\clsid\%CLSID% /v "" /t REG_SZ /d "Volume Control" /f > nul
reg add hkcr\clsid\%CLSID% /v InfoTip /t REG_SZ /d "Allows user to adjust the volume of the sound card" /f > nul
reg add hkcr\clsid\%CLSID%\DefaultIcon /v "" /t REG_SZ /d "\"%systemroot%\system32\sndvol32.exe\"" /f  > nul
reg add hkcr\clsid\%CLSID%\Shell\Open\Command /v "" /t REG_SZ /d "\"%systemroot%\system32\sndvol32.exe\"" /f  > nul
reg add %NameSpace%\%CLSID% /v "" /t REG_SZ /d "Volume Control" /f > nul
Go to the top of the page
 
+Quote Post
Kelsenellenelvia...
post Apr 11 2005, 01:26 AM
Post #10


WPI Guru
Group Icon

Group: Software Developers
Posts: 6077
Joined: 18-September 03
From: Pocatello, ID
Member No.: 6960
OS: Vista Ultimate x86
Country Flag


google for a program called CPL maker it will make cpl extensions for any program. I have a registered version for any that want a cpl made...
Go to the top of the page
 
+Quote Post
dougiefresh
post Apr 18 2005, 02:33 PM
Post #11


Member
**

Group: Members
Posts: 104
Joined: 30-October 04
Member No.: 35213
Country Flag


QUOTE (kelsenellenelvian @ Apr 11 2005, 01:26 AM)
google for a program called CPL maker it will make cpl extensions for any program. I have a registered version for any that want a cpl made...
*

Could you provide a link to the software? I can't find it! confused.gif
Go to the top of the page
 
+Quote Post
k0pect8
post Apr 19 2005, 10:01 AM
Post #12


Take yer medicine...
**

Group: Members
Posts: 122
Joined: 12-October 04
From: Atlanta
Member No.: 33535
Country Flag


yep, control panel looks in \system32 folder.
I copy the DirectX applet (directx.cpl) there
CODE
\$OEM$\$$\System32\directx.cpl

for my unattended CD...
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 8th January 2009 - 03:30 AM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2008 msfn.org
Privacy Policy