Help - Search - Members - Calendar
Full Version: custom icons.
MSFN Forums > Customizing Windows and Graphics > Customizing Windows > Wallpapers & Icons

   
Google Internet Forums Unattended CD/DVD Guide
Custommx3
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?
Viscon
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:

CODE
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
whistling.gif
Silvereyes
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.

CODE

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.
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.