Jump to content











Photo
- - - - -

Missing Control panel icons in nativeEx


  • Please log in to reply
7 replies to this topic

#1 Garfield

Garfield

    Member

  • .script developer
  • 96 posts
  • Interests:pretty much everything
  •  
    South Africa

Posted 17 July 2007 - 02:04 PM

@Peter

Building from a fresh nativeEx and nativeEx_core I noticed that the missing icons in the control panel are back..

Missing_Icons_for_Control_panel_Items.JPG

I traced the problem and found it to be the missing file System32\MAIN.CPL

#2 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 17 July 2007 - 08:23 PM

@Peter

Building from a fresh nativeEx and nativeEx_core I noticed that the missing icons in the control panel are back..

Missing_Icons_for_Control_panel_Items.JPG

I traced the problem and found it to be the missing file System32\MAIN.CPL

I'm confused: main.cpl gives the ability to change the mouse's properties.
?????
Does this also include the icons for 'fonts' and 'admin tools'. I cannot imagine.

But I'll check

Peter

#3 Garfield

Garfield

    Member

  • .script developer
  • 96 posts
  • Interests:pretty much everything
  •  
    South Africa

Posted 18 July 2007 - 06:43 AM

Does this also include the icons for 'fonts' and 'admin tools'. I cannot imagine.


According to the registry entries for both, it does.

[HKEY_CLASSES_ROOT\CLSID\{D20EA4E1-3957-11d2-A40B-0C5020524152}]

@="Fonts"

[HKEY_CLASSES_ROOT\CLSID\{D20EA4E1-3957-11d2-A40B-0C5020524152}\DefaultIcon]

@="%SystemRoot%\system32\main.cpl,9"

   

[HKEY_CLASSES_ROOT\CLSID\{D20EA4E1-3957-11d2-A40B-0C5020524153}]

@="Administrative Tools"

[HKEY_CLASSES_ROOT\CLSID\{D20EA4E1-3957-11d2-A40B-0C5020524153}\DefaultIcon]

@="%SystemRoot%\system32\main.cpl,10"


#4 Garfield

Garfield

    Member

  • .script developer
  • 96 posts
  • Interests:pretty much everything
  •  
    South Africa

Posted 18 July 2007 - 06:47 AM

We could also change the icon location, (the Fonts icon can also be found at Shell32.dll,39) but it might make things messy...

#5 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 18 July 2007 - 07:47 AM

According to the registry entries for both, it does.

[HKEY_CLASSES_ROOT\CLSID\{D20EA4E1-3957-11d2-A40B-0C5020524152}]

 @="Fonts"

 [HKEY_CLASSES_ROOT\CLSID\{D20EA4E1-3957-11d2-A40B-0C5020524152}\DefaultIcon]

 @="%SystemRoot%\system32\main.cpl,9"

	

 [HKEY_CLASSES_ROOT\CLSID\{D20EA4E1-3957-11d2-A40B-0C5020524153}]

 @="Administrative Tools"

 [HKEY_CLASSES_ROOT\CLSID\{D20EA4E1-3957-11d2-A40B-0C5020524153}\DefaultIcon]

 @="%SystemRoot%\system32\main.cpl,10"

Thanks :yahoo:
I'll include.

Peter

#6 Garfield

Garfield

    Member

  • .script developer
  • 96 posts
  • Interests:pretty much everything
  •  
    South Africa

Posted 07 August 2007 - 02:37 PM

Peter i noticed you added a section to 5 - CopyAndExpand.Script in nativeEx_Core

1","WB-Software\Classes\CLSID\{D20EA4E1-3957-11d2-A40B-0C5020524152}\DefaultIcon",,"%SystemRoot%\system32\main.cpl,9"If,%pCheckBox2%,Equal,True,RegWrite,"HKLM","0x1","WB-Software\Classes\CLSID\{D20EA4E1-3957-11d2-A40B-0C5020524153}",,"Administrative Tools"If,%pCheckBox2%,Equal,True,RegWrite,"HKLM","0x1","WB-Software\Classes\CLSID\{D20EA4E1-3957-11d2-A40B-0C5020524153}\DefaultIcon",,"%SystemRoot%\system32\main.cpl,10"CopyOrExpand,%SourceDir%\I386\MAIN.CPL,%TargetDir%\i386\system32RegHiveUnLoad,"WB-Software" _linenums:0'>[icons]RegHiveLoad,"WB-Software","%TargetDir%\i386\system32\config\software"If,%pCheckBox1%,Equal,True,RegWrite,"HKLM","0x1","WB-Software\Classes\CLSID\{D20EA4E1-3957-11d2-A40B-0C5020524152}",,"Fonts"If,%pCheckBox1%,Equal,True,RegWrite,"HKLM","0x<strong class='bbc'>1</strong>","WB-Software\Classes\CLSID\{D20EA4E1-3957-11d2-A40B-0C5020524152}\DefaultIcon",,"%SystemRoot%\system32\main.cpl,9"If,%pCheckBox2%,Equal,True,RegWrite,"HKLM","0x1","WB-Software\Classes\CLSID\{D20EA4E1-3957-11d2-A40B-0C5020524153}",,"Administrative Tools"If,%pCheckBox2%,Equal,True,RegWrite,"HKLM","0x<strong class='bbc'>1</strong>","WB-Software\Classes\CLSID\{D20EA4E1-3957-11d2-A40B-0C5020524153}\DefaultIcon",,"%SystemRoot%\system32\main.cpl,10"CopyOrExpand,%SourceDir%\I386\MAIN.CPL,%TargetDir%\i386\system32RegHiveUnLoad,"WB-Software"
but the string types are wrong and the class information already exists, so i am not sure if it is needed,and for some unknown reason CopyOrExpand,%SourceDir%\I386\MAIN.CPL,%TargetDir%\i386\system32doesn't copy Main.cpl to system32 :yahoo: according to the script log it should have...Posted Image CopyExpand - [P:\I386\MAIN.CPL] to: [%BaseDir%\Target\UtilsCD\i386\system32]

#7 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 07 August 2007 - 05:15 PM

Peter i noticed you added a section to 5 - CopyAndExpand.Script in nativeEx_Core
but the string types are wrong and the class information already exists, so i am not sure if it is needed,

and for some unknown reason CopyOrExpand,%SourceDir%\I386\MAIN.CPL,%TargetDir%\i386\system32


Thanks, Garfield :yahoo:
You see me :)
(I always explain people: When you use variables in registry entries, you have to use '0x2')
But excuse me, I got this as suggestion from somebody and used it w/o check!
Maybe no excuse, but an 'understand' :)

I hope, this will never happen again. :)

The CopyOrExpand seems to be an issue for Nuno.

Peter

BTW @Garfield: Please do not complain that I changed your 'quote' to 'codebox' to make it more readable :)

#8 Garfield

Garfield

    Member

  • .script developer
  • 96 posts
  • Interests:pretty much everything
  •  
    South Africa

Posted 08 August 2007 - 09:01 AM

BTW @Garfield: Please do not complain that I changed your 'quote' to 'codebox' to make it more readable :)


No problem.. :yahoo:




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users