This is a reg file I use to add a few icons in my context menu:
Code:
[HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shell\empty]
"Icon"="shell32.dll,145" CCleaner icon added to recycle bin
[HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shell\Run CCleaner]
"Icon"="E:\\ICONS\\System Context\\CC.ico" CCleaner icon added to recycle bin
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\locate]
"Icon"="E:\\ICONS\\System Context\\locate.ico" Locate32 icon added to My Computer
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\lupdatedb]
"Icon"="E:\\ICONS\\System Context\\locate.ico" Locate32 Update icon added to My Computer
[HKEY_CLASSES_ROOT\Directory\shell\locate]
"Icon"="E:\\ICONS\\System Context\\locate.ico" Locate32 icon added to Directories (Folders)
[HKEY_CLASSES_ROOT\Drive\shell\locate]
"Icon"="E:\\ICONS\\System Context\\locate.ico" Locate32 icon added to Drives
So basically you need to find the shell entries for Ashampoo in regedit. Then in the right hand side add a string value (REG_SZ), name it Icon then set the data as the path to your icon.
I'll now add that not all softwares use this method. Some, particularly security based, will contain the info within a dll file.