View Single Post
  #1655 (permalink)  
Old 04-26-2010, 08:58 AM
mwalt2's Avatar
mwalt2
VIP Member
Offline
 
Join Date: Apr 2007
Posts: 1,759
Reputation: 5415
mwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: OMJ's HTC Sense Kitchen v2.1 | WM 6.x / WM 6.5.x | 21055 / 21895 / 235xx | 4/22/1

Quote:
Originally Posted by aeropatel View Post
quick question for all the seasoned chefs...

I have a bunch of CAB files I install using SASHIMI but the icons used by the application program in the Start Menu list are stretched out. I want to repackage the cab files with new icons but need to figure out how to replace the old icons with new ones.

basically, I need a program that will let me edit and replace the icon associated with the .exe file.

appreciate the help!
You can use this program: http://forum.xda-developers.com/showthread.php?t=567080 or how I do it below (mainly so I don't have .png's for icons taking up space on my main memory).

I use a mortscript and store the new icon .png's on my internal storage. It was kind of a pain setting it up, but you only have to do it once really. As an example to move an icon and change the icon with mortscript, I used the following commands:
Code:
If ( FileExists( "\Windows\Start Menu\Programs\Calculator.lnk" ) )
	Move( "\Windows\Start Menu\Programs\Calculator.lnk","\Windows\Start Menu\Programs\Accessories\","TRUE"  )
EndIf

RegWriteString( "HKLM", "Security\Shell\StartInfo\Start\Accessories\Calculator.lnk", "Icon", "\Internal Storage\Icons\Calculator2.png" )
Just paste that code into a .txt document and change Calculator.lnk and Calculator2.png to whatever program/icon you want. Then save the .txt as a .mscr (no .txt extension) and copy it to your phone. Make sure to cook in mortscript (or cab install) and then you just browse to filename.mscr and click on it using your phone's file browser. It can take a minute or two if you have a lot being done and you need to soft-reset to see the changes in icons.

Last edited by mwalt2; 04-26-2010 at 09:01 AM.
Reply With Quote
This post has been thanked 1 times.