MSFN Forum: custom icons. - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

custom icons. Rate Topic: -----

#1 User is offline   Custommx3 

  • Group: Members
  • Posts: 1
  • Joined: 18-July 04

Posted 25 May 2007 - 09:49 AM

Is it possible to change your default icons on install? I want to change my My computer icon to an icon I have. I also want to rename my computer to something else. Can this be done during the install?


#2 User is offline   Viscon 

  • Newbie
  • Group: Members
  • Posts: 37
  • Joined: 04-June 05

  Posted 25 May 2007 - 04:04 PM

most of the icons (quite a lot actually) you can change hacking shell32.dll.
find shell32.dl_ file in I386 folder, and uncab it with this command in command prompt window:

expand -r shell32.dl_


now you have unpacked shell32.dll which you may open with Resource Hacker.
on the left pane expand Icon Group folder, so you'll see all the icons to be changed.
right-click any you want and choose Replace resource...

or

in the menu click Action and Replace Icon...
this way you may also change bitmaps, cursors, and more...

having changed your icons you have to re-cab shell32.dll with this command (command prompt too)

Quote

makecab shell32.dll

you got shell32.dl_ again but hacked with your icons,
so copy it back to I386 folder overwriting an older one, and install XP.
now your icons are set for good
:whistle:

#3 User is offline   Silvereyes 

  • Newbie
  • Group: Members
  • Posts: 46
  • Joined: 13-March 05

Posted 25 May 2007 - 04:55 PM

Yes, it is possible and it's actually quite simple to change both the default icons
and the displayed name for all of the 'standard' desktop items, ie. My Computer,
My Network Places, etc.

The pair of keys you need are listed below, The first one is a simple text entry
which is the name as displayed on the desktop while the second is the default icon
give as "filename,resource-number".

You can chose which desktop item you want to change by substituting the appropriate
CLSID as the attributes are the same for all of them. The only exception to this is
the Recycle Bin which has three 'DefaultIcon' entries as show at the bottom.

 
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}","",0000000000,"My Computer"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\DefaultIcon","",0x00020000,"%SystemRoot%\Explorer.exe,0"


208D2C60-3AEA-1069-A2D7-08002B30309D	- My Network Places
20D04FE0-3AEA-1069-A2D8-08002B30309D	- My Computer
450D8FBA-AD25-11D0-98A8-0800361B1103	- My Documents


HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}","",0x00000000,"Recycle Bin"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\DefaultIcon","",0x00020000,"%SystemRoot%\System32\shell32.dll,31"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\DefaultIcon","Empty",0x00020000,"%SystemRoot%\System32\shell32.dll,31"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\DefaultIcon","Full",0x00020000,"%SystemRoot%\System32\shell32.dll,32"
 


I can't give detailed instructions without knowing exactly how/when you perform
this part of the installation. My personal preference is to use a 'custom.inf' file
which contains these and other settings which I run from cmdlines.txt using the
following line:-

"rundll32 setupapi,InstallHinfSection DefaultInstall 128 .\Custom.inf"

This can also be executed via RunOnceEx but be aware this is a per user
setting. Running it from cmdlines.txt changes the default user account which is
then inherited by all others created afterwards. Running from anywhere else
only changes the settings for that particular user account.

Something else you should be aware is that some settings don't 'stick' if applied
during cmdlines.txt, I assume that they are being overwritten during a later stage.

This post has been edited by Silvereyes: 25 May 2007 - 04:56 PM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy