Microsoft KB Archive/256244: Difference between revisions

From BetaArchive Wiki
m (1 revision imported: importing part 2)
m (Text replacement - """ to """)
 
Line 26: Line 26:
This technique is not necessary for standard OS configurations, because the standard OS component contains Control Panel and it applications.<br />
This technique is not necessary for standard OS configurations, because the standard OS component contains Control Panel and it applications.<br />
<br />
<br />
This technique does not add the Network application to Control Panel. Please see the &quot;References&quot; section for details on how to add the Network application.<br />
This technique does not add the Network application to Control Panel. Please see the "References" section for details on how to add the Network application.<br />
<br />
<br />
Microsoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact a Microsoft Certified Partner or the Microsoft fee-based consulting line at (800) 936-5200. For more information about Microsoft Certified Partners, please see the following page on the World Wide Web:
Microsoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact a Microsoft Certified Partner or the Microsoft fee-based consulting line at (800) 936-5200. For more information about Microsoft Certified Partners, please see the following page on the World Wide Web:
Line 44: Line 44:
<li><p>Copy the following text into a file named ControlPanel.kdf:</p>
<li><p>Copy the following text into a file named ControlPanel.kdf:</p>
<pre class="CODESAMP">[Version]
<pre class="CODESAMP">[Version]
Signature = &quot;$Windows NT$&quot;
Signature = "$Windows NT$"
KdfVersion = 1
KdfVersion = 1


Line 55: Line 55:
OSVersion = 4.0
OSVersion = 4.0
Platform = i386
Platform = i386
Repository = &quot;%WINNT%&quot;
Repository = "%WINNT%"
Description = &quot;Control Panel for Minimal Builds&quot;
Description = "Control Panel for Minimal Builds"
CodePage = 1252
CodePage = 1252


[Capabilities]
[Capabilities]
1 = &quot;ControlPanel&quot;, %ROOT%\Applications
1 = "ControlPanel", %ROOT%\Applications


[Components]
[Components]
1 = &quot;Control Panel&quot;, &quot;The Control Panel executable&quot;, 1
1 = "Control Panel", "The Control Panel executable", 1
2 = &quot;Minimal OS&quot;
2 = "Minimal OS"
3 = &quot;Standard OS&quot;
3 = "Standard OS"


[CapabilityDependencies]
[CapabilityDependencies]
Line 78: Line 78:


[Directories]
[Directories]
2 = &quot;\winnt\system32&quot;
2 = "\winnt\system32"
3 = &quot;\Repository\i386&quot;
3 = "\Repository\i386"


[Control Panel.Files]
[Control Panel.Files]
&quot;CONTROL.EXE&quot;, 3, 2, 2068, &quot;CONTROL.EXE&quot;
"CONTROL.EXE", 3, 2, 2068, "CONTROL.EXE"


[Control Panel.RegistryAdditions] </pre></li>
[Control Panel.RegistryAdditions] </pre></li>
<li><p>Copy the following text into a file called Applets.kdf:</p>
<li><p>Copy the following text into a file called Applets.kdf:</p>
<pre class="CODESAMP">[Version]
<pre class="CODESAMP">[Version]
Signature = &quot;$Windows NT$&quot;
Signature = "$Windows NT$"
KdfVersion = 1
KdfVersion = 1


Line 98: Line 98:
OSVersion = 4.0
OSVersion = 4.0
Platform = i386
Platform = i386
Repository = &quot;%WINNT%&quot;
Repository = "%WINNT%"
Description = &quot;Control Panel Applets&quot;
Description = "Control Panel Applets"
CodePage = 1252
CodePage = 1252


[Capabilities]
[Capabilities]
2 = &quot;ControlPanel&quot;
2 = "ControlPanel"


[Components]
[Components]
1 = &quot;Applets&quot;, &quot;Control Panel Applets&quot;, 2
1 = "Applets", "Control Panel Applets", 2
2 = &quot;Control Panel&quot;
2 = "Control Panel"


[CapabilityDependencies]
[CapabilityDependencies]
Line 119: Line 119:


[Directories]
[Directories]
1 = &quot;\winnt\system32&quot;
1 = "\winnt\system32"
3 = &quot;\Repository\i386&quot;
3 = "\Repository\i386"


[Applets.Files]
[Applets.Files]
&quot;WGPOCPL.CPL&quot;, 3, 1, 7372, &quot;WGPOCPL.CPL&quot;
"WGPOCPL.CPL", 3, 1, 7372, "WGPOCPL.CPL"
&quot;desk.cpl&quot;, 3, 1, 164112, &quot;desk.cpl&quot;
"desk.cpl", 3, 1, 164112, "desk.cpl"
&quot;devapps.cpl&quot;, 3, 1, 305936, &quot;devapps.cpl&quot;
"devapps.cpl", 3, 1, 305936, "devapps.cpl"
&quot;dtccfg.cpl&quot;, 3, 1, 28432, &quot;dtccfg.cpl&quot;
"dtccfg.cpl", 3, 1, 28432, "dtccfg.cpl"
&quot;fpnwmgr.cpl&quot;, 3, 1, 138272, &quot;fpnwmgr.cpl&quot;
"fpnwmgr.cpl", 3, 1, 138272, "fpnwmgr.cpl"
&quot;intl.cpl&quot;, 3, 1, 74000, &quot;intl.cpl&quot;
"intl.cpl", 3, 1, 74000, "intl.cpl"
&quot;liccpa.cpl&quot;, 3, 1, 95504, &quot;liccpa.cpl&quot;
"liccpa.cpl", 3, 1, 95504, "liccpa.cpl"
&quot;mmsys.cpl&quot;, 3, 1, 214288, &quot;mmsys.cpl&quot;
"mmsys.cpl", 3, 1, 214288, "mmsys.cpl"
&quot;modem.cpl&quot;, 3, 1, 96016, &quot;modem.cpl&quot;
"modem.cpl", 3, 1, 96016, "modem.cpl"
&quot;msmq.cpl&quot;, 3, 1, 62224, &quot;msmq.cpl&quot;
"msmq.cpl", 3, 1, 62224, "msmq.cpl"
&quot;odbccp32.cpl&quot;, 3, 1, 13312, &quot;odbccp32.cpl&quot;
"odbccp32.cpl", 3, 1, 13312, "odbccp32.cpl"
&quot;ports.cpl&quot;, 3, 1, 35600, &quot;ports.cpl&quot;
"ports.cpl", 3, 1, 35600, "ports.cpl"
&quot;rascpl.cpl&quot;, 3, 1, 10512, &quot;rascpl.cpl&quot;
"rascpl.cpl", 3, 1, 10512, "rascpl.cpl"
&quot;sysdm.cpl&quot;, 3, 1, 93456, &quot;sysdm.cpl&quot;
"sysdm.cpl", 3, 1, 93456, "sysdm.cpl"
&quot;timedate.cpl&quot;, 3, 1, 53008, &quot;timedate.cpl&quot;
"timedate.cpl", 3, 1, 53008, "timedate.cpl"
&quot;ACCESS.CPL&quot;, 3, 1, 19304, &quot;ACCESS.CPL&quot;
"ACCESS.CPL", 3, 1, 19304, "ACCESS.CPL"
&quot;APPWIZ.CPL&quot;, 3, 1, 27922, &quot;APPWIZ.CPL&quot;
"APPWIZ.CPL", 3, 1, 27922, "APPWIZ.CPL"
&quot;CONSOLE.CPL&quot;, 3, 1, 20669, &quot;CONSOLE.CPL&quot;
"CONSOLE.CPL", 3, 1, 20669, "CONSOLE.CPL"
&quot;EGA.CPL&quot;, 3, 1, 14359, &quot;EGA.CPL&quot;
"EGA.CPL", 3, 1, 14359, "EGA.CPL"
&quot;INETCPL.CPL&quot;, 3, 1, 5357, &quot;INETCPL.CPL&quot;
"INETCPL.CPL", 3, 1, 5357, "INETCPL.CPL"
&quot;JOY.CPL&quot;, 3, 1, 21099, &quot;JOY.CPL&quot;
"JOY.CPL", 3, 1, 21099, "JOY.CPL"
&quot;MAIN.CPL&quot;, 3, 1, 23421, &quot;MAIN.CPL&quot;
"MAIN.CPL", 3, 1, 23421, "MAIN.CPL"
&quot;MLCFG32.CPL&quot;, 3, 1, 20948, &quot;MLCFG32.CPL&quot;
"MLCFG32.CPL", 3, 1, 20948, "MLCFG32.CPL"
&quot;NWC.CPL&quot;, 3, 1, 18289, &quot;NWC.CPL&quot;
"NWC.CPL", 3, 1, 18289, "NWC.CPL"
&quot;SFMMGR.CPL&quot;, 3, 1, 46927, &quot;SFMMGR.CPL&quot;
"SFMMGR.CPL", 3, 1, 46927, "SFMMGR.CPL"
&quot;SRVMGR.CPL&quot;, 3, 1, 56316, &quot;SRVMGR.CPL&quot;
"SRVMGR.CPL", 3, 1, 56316, "SRVMGR.CPL"
&quot;TELEPHON.CPL&quot;, 3, 1, 1887, &quot;TELEPHON.CPL&quot;
"TELEPHON.CPL", 3, 1, 1887, "TELEPHON.CPL"
&quot;UPS.CPL&quot;, 3, 1, 14566, &quot;UPS.CPL&quot;
"UPS.CPL", 3, 1, 14566, "UPS.CPL"
&quot;bhctrl.cpl&quot;, 3, 1, 26288, &quot;bhctrl.cpl&quot;
"bhctrl.cpl", 3, 1, 26288, "bhctrl.cpl"


[Applets.RegistryAdditions]
[Applets.RegistryAdditions]

Latest revision as of 13:53, 21 July 2020

HOWTO: Add Control Panel to a Minimal Operating System Build

Q256244



The information in this article applies to:


  • Microsoft Windows NT Embedded 4.0





SUMMARY

This article describes how to add Control Panel and its applications (applets) to a configuration containing the minimal operating system (OS) component in Windows NT Embedded.

This technique is not necessary for standard OS configurations, because the standard OS component contains Control Panel and it applications.

This technique does not add the Network application to Control Panel. Please see the "References" section for details on how to add the Network application.

Microsoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact a Microsoft Certified Partner or the Microsoft fee-based consulting line at (800) 936-5200. For more information about Microsoft Certified Partners, please see the following page on the World Wide Web:

http://www.microsoft.com/partner/referral/

For more information about the support options available from Microsoft, please see the following page on the World Wide Web:

http://support.microsoft.com/directory/overview.asp



MORE INFORMATION

To include Control Panel and its applications in your configuration, please follow these steps:

  1. Copy the following text into a file named ControlPanel.kdf:

    [Version]
    Signature = "$Windows NT$"
    KdfVersion = 1
    
    [Header]
    Name = Control Panel
    Version = 1.0
    ReleaseDate = 03/31/2000
    Vendor = Microsoft
    OS = WINNT
    OSVersion = 4.0
    Platform = i386
    Repository = "%WINNT%"
    Description = "Control Panel for Minimal Builds"
    CodePage = 1252
    
    [Capabilities]
    1 = "ControlPanel", %ROOT%\Applications
    
    [Components]
    1 = "Control Panel", "The Control Panel executable", 1
    2 = "Minimal OS"
    3 = "Standard OS"
    
    [CapabilityDependencies]
    
    [CapabilityComponentDependencies]
    
    [ComponentCapabilityDependencies]
    
    [ComponentDependencies]
    1,2,Y
    1,3,N
    
    [Directories]
    2 = "\winnt\system32"
    3 = "\Repository\i386"
    
    [Control Panel.Files]
    "CONTROL.EXE", 3, 2, 2068, "CONTROL.EXE"
    
    [Control Panel.RegistryAdditions] 
  2. Copy the following text into a file called Applets.kdf:

    [Version]
    Signature = "$Windows NT$"
    KdfVersion = 1
    
    [Header]
    Name = Control Panel Applets
    Version = 1.0
    ReleaseDate = 03/31/2000
    Vendor = Microsoft
    OS = WINNT
    OSVersion = 4.0
    Platform = i386
    Repository = "%WINNT%"
    Description = "Control Panel Applets"
    CodePage = 1252
    
    [Capabilities]
    2 = "ControlPanel"
    
    [Components]
    1 = "Applets", "Control Panel Applets", 2
    2 = "Control Panel"
    
    [CapabilityDependencies]
    
    [CapabilityComponentDependencies]
    
    [ComponentCapabilityDependencies]
    
    [ComponentDependencies]
    1,2,Y
    
    [Directories]
    1 = "\winnt\system32"
    3 = "\Repository\i386"
    
    [Applets.Files]
    "WGPOCPL.CPL", 3, 1, 7372, "WGPOCPL.CPL"
    "desk.cpl", 3, 1, 164112, "desk.cpl"
    "devapps.cpl", 3, 1, 305936, "devapps.cpl"
    "dtccfg.cpl", 3, 1, 28432, "dtccfg.cpl"
    "fpnwmgr.cpl", 3, 1, 138272, "fpnwmgr.cpl"
    "intl.cpl", 3, 1, 74000, "intl.cpl"
    "liccpa.cpl", 3, 1, 95504, "liccpa.cpl"
    "mmsys.cpl", 3, 1, 214288, "mmsys.cpl"
    "modem.cpl", 3, 1, 96016, "modem.cpl"
    "msmq.cpl", 3, 1, 62224, "msmq.cpl"
    "odbccp32.cpl", 3, 1, 13312, "odbccp32.cpl"
    "ports.cpl", 3, 1, 35600, "ports.cpl"
    "rascpl.cpl", 3, 1, 10512, "rascpl.cpl"
    "sysdm.cpl", 3, 1, 93456, "sysdm.cpl"
    "timedate.cpl", 3, 1, 53008, "timedate.cpl"
    "ACCESS.CPL", 3, 1, 19304, "ACCESS.CPL"
    "APPWIZ.CPL", 3, 1, 27922, "APPWIZ.CPL"
    "CONSOLE.CPL", 3, 1, 20669, "CONSOLE.CPL"
    "EGA.CPL", 3, 1, 14359, "EGA.CPL"
    "INETCPL.CPL", 3, 1, 5357, "INETCPL.CPL"
    "JOY.CPL", 3, 1, 21099, "JOY.CPL"
    "MAIN.CPL", 3, 1, 23421, "MAIN.CPL"
    "MLCFG32.CPL", 3, 1, 20948, "MLCFG32.CPL"
    "NWC.CPL", 3, 1, 18289, "NWC.CPL"
    "SFMMGR.CPL", 3, 1, 46927, "SFMMGR.CPL"
    "SRVMGR.CPL", 3, 1, 56316, "SRVMGR.CPL"
    "TELEPHON.CPL", 3, 1, 1887, "TELEPHON.CPL"
    "UPS.CPL", 3, 1, 14566, "UPS.CPL"
    "bhctrl.cpl", 3, 1, 26288, "bhctrl.cpl"
    
    [Applets.RegistryAdditions]
     
  3. Modify the following lines in the [Directories] section of each file to reflect the location of your source repository:
  4. In Target Designer, click Tools, and then click Component Management.
  5. In the Component Management dialog box, click Add and then select the ControlPanel.kdf file you created in step 1. Click OK.
  6. In the Component Management dialog box, click Add and then select the Applets.kdf file you created in step 2. Click OK.
  7. In the Component Management dialog box, click OK.

Your configurations should now have a Control Panel menu item under Accessories, with Control Panel and Applets components.

You can also modify the [Applets.Files] section of the Applets.kdf file to tailor the applications list presented in Control Panel.



REFERENCES

Additional query words:

Keywords : kbDSupport kbGrpDSETK
Issue type : kbhowto
Technology : kbWinNTsearch kbWinNT400xsearch kbWinNTEmb400


Last Reviewed: December 31, 2000
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.