Related
Hi Guys,
There are quite a few Registry hacks listed on this site, could someone develop a simple program that could read xml files in a directory and present them in an orderly manner, like HTweakC does...
Package the registry tweaks into a simple xml file that the program could read.
For example:
Menu Structure, ie Security, Today, Bluetooth
Title,
Description,
Registry Tweak.
On Program startup the program could read the xml files in a specified folder and order the tweaks according to the Menu Structure in the xml file.
And while you're at it an undo option wouldnt go amiss either.
Each change could be saved to an undo folder... or something.
Hi,
I´ve got an issue that i can´t set an icon to task manager and messages in start menu/settings/System. See the pic below. I use a cab file to apply these icons.
i just make a pkg with my reg entries and pics i want to use at the end of my kitchen. open up your reg with reg editor and see if it looks like this...
Code:
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\cplmain.cpl,1]
"Rank"=dword:000002BC
"Icon"="[COLOR="Red"]\\[/COLOR]Windows[COLOR="Red"]\\[/COLOR]Start_Icon_Lock.png"
notice the \\, it must be that way in registry...a single "\" wont work. also you could try assigning rank, but i dont really think that is necessary for the pic to show.
twopumpchump said:
i just make a pkg with my reg entries and pics i want to use at the end of my kitchen. open up your reg with reg editor and see if it looks like this...
Code:
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\cplmain.cpl,1]
"Rank"=dword:000002BC
"Icon"="[COLOR="Red"]\\[/COLOR]Windows[COLOR="Red"]\\[/COLOR]Start_Icon_Lock.png"
notice the \\, it must be that way in registry...a single "\" wont work. also you could try assigning rank, but i dont really think that is necessary for the pic to show.
Click to expand...
Click to collapse
Thanks for the tip. I made an OEM of my cab to make it easer. This is what reg i have for the task manager, but it dosnt work.
Code:
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\System\cplmain.cpl,30]
"Icon"="\\Windows\\Start_Icon_TaskMgr.png"
EDIT: Btw, how is rank determined? Dont really understand what ""Rank"=dword:000002BC" means..
I'm a noobie so forgive me if I make any mistakes.
But... Try adding some "zzz"s before the package to make it run at the end of the build process. If it still doesn't work, search inside all files (most probably the .provxml files) in your kitchen folder for "Task Manager.lnk" and see if another file is assigning a different icon to it. I use EVK's built in search engine to do jobs like that.
I hope I helped
EDIT: About Rank, icons are ordered from highest to lowest rank values in the start menu. I think "000002BC" is a hex value for the normal integer value that the rank is set to.
EDIT2: WOW! Awesome icons! Did you make them?
seeM_ZA said:
I'm a noobie so forgive me if I make any mistakes.
But... Try adding some "zzz"s before the package to make it run at the end of the build process. If it still doesn't work, search inside all files (most probably the .provxml files) in your kitchen folder for "Task Manager.lnk" and see if another file is assigning a different icon to it. I use EVK's built in search engine to do jobs like that.
I hope I helped
EDIT: About Rank, icons are ordered from highest to lowest rank values in the start menu. I think "000002BC" is a hex value for the normal integer value that the rank is set to.
EDIT2: WOW! Awesome icons! Did you make them?
Click to expand...
Click to collapse
Thanks for the tip. I have the folder to run last in customization. I understand thats its some sort of hex value or whatever, but i dont understand it so i can place the icons where i want them.
The icons are made by dlink ithink.
2BC = 700. The rankings go from 0-999, and most are higher, which is why that one appears on the low side. The easiest thing is to just arrange everything on the phone (drag and drop), then export the entire start menu registry key and just put that into your start menu EXT. I'm not sure exactly how the values vary left to right and top to down.
I heard somewhere that the built in start menu 'drag n drop' messes with the ranks? I'm probably wrong though
I believe the ranks go in this order.. 1 being highest, 8 being lowest. Please correct me if I'm wrong. I hope NRG doesn't mind me butchering his start menu with my awesome paint skills
Hey... i dont think you are patching and i dont think you are trsut sign the cab... or making the image PNG...
but if you are "cooking" you dont need the cab... just make an EXT PKG with the icons ins the "file" folder... and the REGS in "app.reg" file making the path to the image, if you are patching you must to set the image as "read only" simple slash and be sure that CPL is teh correct one... and for the New TEXTMesage be sure you are using the path to.. tmail.exe i couldnt give you my EXT PKG with the paths cause im not in my home right now
+ Que PPC said:
Hey... i dont think you are patching and i dont think you are trsut sign the cab... or making the image PNG...
but if you are "cooking" you dont need the cab... just make an EXT PKG with the icons ins the "file" folder... and the REGS in "app.reg" file making the path to the image, if you are patching you must to set the image as "read only" simple slash and be sure that CPL is teh correct one... and for the New TEXTMesage be sure you are using the path to.. tmail.exe i couldnt give you my EXT PKG with the paths cause im not in my home right now
Click to expand...
Click to collapse
Thanks for the help + Que PPC. The PNG is ok as it works in start menu. Btw, i made a package, instead of an cab. Much simpler to edit. What is the correct CPL for task manager in start menu/setting/System?
I have no clue on CPL or how to determine posistion
Ok i have the stock image for Taskmanager in my startmenu in position #24
Hex = 35A4EBEC
DEC = 900000748
So it seems that in the strat menu you can rank the icons as you want... by this 100 to 900 valu but in settings and for CPL icons the thing is.. they are arranged authomatically by name
(look at the attached image)
and this is the reg for cpl 30
Just this string in: Start menu settings system screen[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\System\cplmain.cpl,30]
String value named Icon
with this: \Windows\Start_Icon_TaskMgr.png
BEsure there is the image in windows folder
so... in your EXT pkg it must be like this:
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Task Manager.lnk]
"Rank"=dword:35A4EBEC
"Icon"="\Windows\Start_Icon_TaskMgr.png"
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\System\cplmain.cpl,30]
"Icon"="\Windows\Start_Icon_TaskMgr.png"
+ Que PPC said:
Ok i have the stock image for Taskmanager in my startmenu in position #24
Hex = 35A4EBEC
DEC = 900000748
So it seems that in the strat menu you can rank the icons as you want... by this 100 to 900 valu but in settings and for CPL icons the thing is.. they are arranged authomatically by name
(look at the attached image)
and this is the reg for cpl 30
Just this string in: Start menu settings system screen[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\System\cplmain.cpl,30]
String value named Icon
with this: \Windows\Start_Icon_TaskMgr.png
BEsure there is the image in windows folder
so... in your EXT pkg it must be like this:
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Task Manager.lnk]
"Rank"=dword:35A4EBEC
"Icon"="\Windows\Start_Icon_TaskMgr.png"
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\System\cplmain.cpl,30]
"Icon"="\Windows\Start_Icon_TaskMgr.png"
Click to expand...
Click to collapse
Only need to learn hex editing to position the icons then
I´ve tried theese, but none of them works.
Code:
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\System\cplmain.cpl,30]
"Icon"="\Windows\Start_Icon_TaskMgr.png"
Code:
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\System\cplmain.cpl,30]
"Icon"="\\Windows\\Start_Icon_TaskMgr.png"
easyst way - works great in build 23112
hello,
1. hardcodec-items
the easyst way to change the icon, is to going in the sys folder to the directory
\SYS\23112\dpi_192\COMMON\Base_DPI_192\
you find all hardcoded items in this directory (e.g. start_icon_*.png)
give your new icons the same name in your ext directory (oem)
2. customize icons
only what you need to customize icon is the following reg-keys
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Task Manager.lnk]
"Icon"="\\Windows\\Start_Icon_Task Manager.png"
-> this key replace the "task manager.lnk" icon in the root of the startmenue
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Office\Notizen.lnk]
"Icon"="\\Windows\\Start_Icon_Office_Notizen.png"
-> this key replace the "notizen.lnk" (like notice in english) icon in the customize directory "order" in the startmenue
so when you need no ranking is the simplest and fastest wayy i can explain to you...
everal said:
hello,
1. hardcodec-items
the easyst way to change the icon, is to going in the sys folder to the directory
\SYS\23112\dpi_192\COMMON\Base_DPI_192\
you find all hardcoded items in this directory (e.g. start_icon_*.png)
give your new icons the same name in your ext directory (oem)
2. customize icons
only what you need to customize icon is the following reg-keys
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Task Manager.lnk]
"Icon"="\\Windows\\Start_Icon_Task Manager.png"
-> this key replace the "task manager.lnk" icon in the root of the startmenue
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Office\Notizen.lnk]
"Icon"="\\Windows\\Start_Icon_Office_Notizen.png"
-> this key replace the "notizen.lnk" (like notice in english) icon in the customize directory "order" in the startmenue
so when you need no ranking is the simplest and fastest wayy i can explain to you...
Click to expand...
Click to collapse
- I can confirm that this works fine.
- However, this is good for lnk that have direct entry under [HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start]. But how to know which cpl index refers to which setting/program shortcut?
everal said:
hello,
1. hardcodec-items
the easyst way to change the icon, is to going in the sys folder to the directory
\SYS\23112\dpi_192\COMMON\Base_DPI_192\
you find all hardcoded items in this directory (e.g. start_icon_*.png)
give your new icons the same name in your ext directory (oem)
2. customize icons
only what you need to customize icon is the following reg-keys
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Task Manager.lnk]
"Icon"="\\Windows\\Start_Icon_Task Manager.png"
-> this key replace the "task manager.lnk" icon in the root of the startmenue
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Office\Notizen.lnk]
"Icon"="\\Windows\\Start_Icon_Office_Notizen.png"
-> this key replace the "notizen.lnk" (like notice in english) icon in the customize directory "order" in the startmenue
so when you need no ranking is the simplest and fastest wayy i can explain to you...
Click to expand...
Click to collapse
The thing is that i dont get the icon that is in SYS, i get the on in the exe. Would not matter if i change it.
Very true i can confirm that... the CPL images for icons in settings system cant be changed... maybe is due to another reg or .ico or other kind of file in oem
+ Que PPC said:
Very true i can confirm that... the CPL images for icons in settings system cant be changed... maybe is due to another reg or .ico or other kind of file in oem
Click to expand...
Click to collapse
Could be.. Probably. I sure hope not
You should convert the rgu files to xml files.
XML always run after the RGU, So its better to use when making custom modification.
http://forum.xda-developers.com/showthread.php?t=369457 (second post)
Th e cpl's are loaded in a provxml in the oem folder (don't remember which one off the top of my head). If it's messing with desired settings, rather than loading another provxml during first boot, and slowing down first boot even more, it's better to either edit or delete the oem provxml. Personally, I'd delete it and then put your start info in an app.reg in an EXT that runs near the end of the build.
Edit: the provxml with all of the cpl's is mxip_HtcApps_translation.provxml, and it's in oem-lang 0409. It's a complete waste to run this thing, imo. Just put it in an app.reg and you'll get a faster first boot.
Sorry but for change icon position in start menu, cant you do it just from start menu moving that icon and then go to the right reg key and export it?
This work for Kaiser dunno if Leo,Tp2 or Topaz has different way.
hi fellow chefs
i post my question here as i thought it would be better then openijng a new thread for it
i keep marketplace in my rom but i cant set it to the internet folder
i have looked in the initflash.dat and there is nothing there about marketplace(at least not that i could find)
i have looked in the sys map from market place and found a provxml
i changed it there the same way i did for taskmanager and it still doesnt work(for taskmaanger it works)
can some one help me out where or what i need to edit to have marketplace in internet folder
i attache my provxml so you can see what i have done
I have cabs set to autoinstall in my config_ap.txt, but they also automatically create shortcut icons in the start menu which I dont want there; I would just load them in as EXTs except the programs have a few bugs that way.
Is there a way to install cabs via config.txt and in the same file delete the shortcut icons? Or is there some other way to force an autodelete of those Start Menu Icon shortcuts after the cab installs?
venomshot629 said:
I have cabs set to autoinstall in my config_ap.txt, but they also automatically create shortcut icons in the start menu which I dont want there; I would just load them in as EXTs except the programs have a few bugs that way.
Is there a way to install cabs via config.txt and in the same file delete the shortcut icons? Or is there some other way to force an autodelete of those Start Menu Icon shortcuts after the cab installs?
Click to expand...
Click to collapse
Yes, it is possible. I use Mortscript to remove/move shortcuts.
Entries in config.txt
Code:
LOCK:Enabled
LOCK:Disabled
CAB: \windows\xxxxxxx.cab
EXEC:\Windows\[B]DelReglnk.mscr[/B]
Entries in DelReglnk.mscr:
Code:
Delete ("\Windows\Start Menu\Programs\yyyyyyy.lnk")
i just create and package folder in EXT of kitchen and drop config.txt, mortscript file and the cab in the "files" folder
Either use the mortscript method, or better yet, edit the cabs and put the shortcuts where you want them.
Farmer Ted said:
Either use the mortscript method, or better yet, edit the cabs and put the shortcuts where you want them.
Click to expand...
Click to collapse
^
|
|
This.
Edit the cab and remove the icon or point it to a new path.
Farmer Ted said:
Either use the mortscript method, or better yet, edit the cabs and put the shortcuts where you want them.
Click to expand...
Click to collapse
Thanks to all. Ted, I ended up getting WinCE Cab Manager and deleting the shortcuts from the cabs.
Thanks everyone.
So I added MP3 Trimmer to my kitchen, but moved the location of the start icon to a Tools folder. The problem: an MP3 Trimmer icon remains in the initial start page. There is no associated .lnk file in the Start Menu\Programs folder, and the registry HKLM\Security\Shell\Startinfo\Start has the reference to the link in the correct spot.
I have tried placing the link by moving it from the default location with a MortScript, and by changing the app.dat. Same results.
I have done this same move with many other packages, this is the only one causing any problems.
No other references to MP3 Trimmer.lnk exist in the registry or kitchen. Why is it displayed in the start menu when no .lnk is present, and where is that information coming from? Thanks!
Did you check your Initflashfile.dat ?
Also the language folder may contain a app.dat or .provxml file which creates the shortcut
I didn't bothered about two folders that was empty in "\windows\start menu\programs\" until I read this post. I found one of them in Initflashfile.dat, "Outlook" and had deleted the line away. I'm still unable to find the other folder "Start Menu". It's not in Initflashfile.dat, nor any of the xml or proxml files in the "OEM Packages" folder. :-(
Check for some App.dat in EXT folder or a provxml in Project A.
Both OsKitchen and EVK has a search string inside,use it to find your dead folder.
zard said:
I didn't bothered about two folders that was empty in "\windows\start menu\programs\" until I read this post. I found one of them in Initflashfile.dat, "Outlook" and had deleted the line away. I'm still unable to find the other folder "Start Menu". It's not in Initflashfile.dat, nor any of the xml or proxml files in the "OEM Packages" folder. :-(
Click to expand...
Click to collapse
af974 said:
Check for some App.dat in EXT folder or a provxml in Project A.
Both OsKitchen and EVK has a search string inside,use it to find your dead folder.
Click to expand...
Click to collapse
I'm using OSKitchen. It's not in provxml in Project A. I tried using search in OSKitchen to search "Start Menu" and "Start*.*" but can't find it. :-(
Ok, i dunno why you didnt find nothing ...anyway, cook the attached file in your rom, i have set it for deleting any Start Menu.lnk in Start Menu\Programs.
Basically you can use it for deleting any dead links.
If it doesnt work try to leave ".lnk" after Start Menu.
It is a mortscript , i have include also Mortscript package in case you dont have it.
zard said:
I'm using OSKitchen. It's not in provxml in Project A. I tried using search in OSKitchen to search "Start Menu" and "Start*.*" but can't find it. :-(
Click to expand...
Click to collapse
zard said:
I'm using OSKitchen. It's not in provxml in Project A. I tried using search in OSKitchen to search "Start Menu" and "Start*.*" but can't find it. :-(
Click to expand...
Click to collapse
You probably can't find it because of hexadecimal or html entities values in which the shortcut name is probably encoded into, try looking for the encoded values instead.
Check to make sure autoshortcut isn't doing it (it could be in a reg file). Autoshortcut sucks, but I don't know if it's still used.
airxtreme said:
You probably can't find it because of hexadecimal or html entities values in which the shortcut name is probably encoded into, try looking for the encoded values instead.
Click to expand...
Click to collapse
I did try hexadecimal and html but still couldn't find it. I'm using v1.31. Maybe it is the format of the search that I'm not doing right.
af974 said:
Ok, i dunno why you didnt find nothing ...anyway, cook the attached file in your rom, i have set it for deleting any Start Menu.lnk in Start Menu\Programs.
Basically you can use it for deleting any dead links.
If it doesnt work try to leave ".lnk" after Start Menu.
It is a mortscript , i have include also Mortscript package in case you dont have it.
Click to expand...
Click to collapse
Thanks for this but unfortunately, my kitchen is screwed up when I tried out your packages. My kitchen was alright before that. Even unchecking the two packages didn't help.
Don't worry, I'm not blaming you for the problem in my kitchen. Will have to find out what went wrong before I can test your packages again and hopefully, it can solve the problem since I can't find the culprit within my packages.
Farmer Ted said:
Check to make sure autoshortcut isn't doing it (it could be in a reg file). Autoshortcut sucks, but I don't know if it's still used.
Click to expand...
Click to collapse
Still very new to cooking so don't know what you meant by "Autoshortcut". :-(
HTC puts a file called autoshortcut.exe in one of the oem folders. It runs during customization, and creates shortcuts for htc apps. There are reg keys in the apps that get the shortcuts.
oooo__OoO__oooo said:
So I added MP3 Trimmer to my kitchen, but moved the location of the start icon to a Tools folder. The problem: an MP3 Trimmer icon remains in the initial start page. There is no associated .lnk file in the Start Menu\Programs folder, and the registry HKLM\Security\Shell\Startinfo\Start has the reference to the link in the correct spot.
I have tried placing the link by moving it from the default location with a MortScript, and by changing the app.dat. Same results.
I have done this same move with many other packages, this is the only one causing any problems.
No other references to MP3 Trimmer.lnk exist in the registry or kitchen. Why is it displayed in the start menu when no .lnk is present, and where is that information coming from? Thanks!
Click to expand...
Click to collapse
It is 100 % a app.dat or initflashfiles.dat issue. Or a reg in the 0409 folder.
Also when looking in you initflashfiles be careful to look for entries that point to Windows\Start Menu
instead of Windows\Start Menu\Programs
bobsbbq said:
It is 100 % a app.dat or initflashfiles.dat issue. Or a reg in the 0409 folder.
Also when looking in you initflashfiles be careful to look for entries that point to Windows\Start Menu
instead of Windows\Start Menu\Programs
Click to expand...
Click to collapse
What I'm talking about is behavior on the phone itself. Let's assume my kitchen searches have been wrong and it really is an app.dat issue. I have a shortcut that exists in the start menu with no associated link file or reg entry -- so there's nothing to delete to get rid of the shortcut on the actual phone!
Kitchen searches result in only the expected "MP3 Trimmer.lnk" locations and "MP3Trimmer.exe" text.
As far as I can tell, ManilaShortcut.exe only makes shortcuts for HTC People and HTC Calendar (but I have IsShortcutEnable = 0 to keep those from popping up). MP3 Trimmer isn't in the original ROM from which the Manila is based, so it's possible there's something going on there.
It's not a huge issue so I haven't been spending a lot of time trying to find or fix it, but I'm virtually out of bugs to fix. What's bothering me more is something seemingly simple that I don't understand.
oooo__OoO__oooo said:
What I'm talking about is behavior on the phone itself. Let's assume my kitchen searches have been wrong and it really is an app.dat issue. I have a shortcut that exists in the start menu with no associated link file or reg entry -- so there's nothing to delete to get rid of the shortcut on the actual phone!
Kitchen searches result in only the expected "MP3 Trimmer.lnk" locations and "MP3Trimmer.exe" text.
As far as I can tell, ManilaShortcut.exe only makes shortcuts for HTC People and HTC Calendar (but I have IsShortcutEnable = 0 to keep those from popping up). MP3 Trimmer isn't in the original ROM from which the Manila is based, so it's possible there's something going on there.
It's not a huge issue so I haven't been spending a lot of time trying to find or fix it, but I'm virtually out of bugs to fix. What's bothering me more is something seemingly simple that I don't understand.
Click to expand...
Click to collapse
I know how frustrating this is and I have had the same in the past. I know this is not what you want to hear but the fact is there is only a few ways for a shortcut to be created. Mainly initflashfiles.dat to move or rename shortcuts, and app.reg or rgu files to create shortcuts, and by way of provxml file. The chances are 99% one of the above. But there is also the possibility of shortcuts to be created by mortscript as well but if it is your kitchen I would think you would know if you created a mortscript. There is also the Older HTC Auto shortcut found in some reg files.
I know it is sometimes hard to find but you will eventually find it.
By the way where did the package from the MP3 trimmer come from? Was it from a chinese ROM?
af974 said:
Ok, i dunno why you didnt find nothing ...anyway, cook the attached file in your rom, i have set it for deleting any Start Menu.lnk in Start Menu\Programs.
Basically you can use it for deleting any dead links.
If it doesnt work try to leave ".lnk" after Start Menu.
It is a mortscript , i have include also Mortscript package in case you dont have it.
Click to expand...
Click to collapse
bobsbbq said:
It is 100 % a app.dat or initflashfiles.dat issue. Or a reg in the 0409 folder.
Also when looking in you initflashfiles be careful to look for entries that point to Windows\Start Menu
instead of Windows\Start Menu\Programs
Click to expand...
Click to collapse
bobsbbq said:
I know how frustrating this is and I have had the same in the past. I know this is not what you want to hear but the fact is there is only a few ways for a shortcut to be created. Mainly initflashfiles.dat to move or rename shortcuts, and app.reg or rgu files to create shortcuts, and by way of provxml file. The chances are 99% one of the above. But there is also the possibility of shortcuts to be created by mortscript as well but if it is your kitchen I would think you would know if you created a mortscript. There is also the Older HTC Auto shortcut found in some reg files.
I know it is sometimes hard to find but you will eventually find it.
By the way where did the package from the MP3 trimmer come from? Was it from a chinese ROM?
Click to expand...
Click to collapse
Since I was trying to improve on the response of my Contacts in Manila 2018 by mixing and matching 2016 and 2018 tabs, I took the opportunity to continue to search the elusive "Start Menu" folder in my Start Menu.
I was still not able to find it in the initflashfiles, nor dat, app.reg or proxmls. I modified the mortscript that af974 gave me into "Delete("\Windows\Start Menu\Programs\Start Menu.lnk")" and ran it from SD Card. Even after soft reset, the "Start Menu" folder is still there.
What I find strange is that in my \Windows directory, there was no "Start Menu.lnk" - I'm using Resco Explorer and is able to see hidden files. But in \Windows\Start Menu\Programs, I could see "Start Menu" folder. I was able to delete it using Resco Explorer.
bobsbbq said:
I know how frustrating this is and I have had the same in the past. I know this is not what you want to hear but the fact is there is only a few ways for a shortcut to be created. Mainly initflashfiles.dat to move or rename shortcuts, and app.reg or rgu files to create shortcuts, and by way of provxml file. The chances are 99% one of the above. But there is also the possibility of shortcuts to be created by mortscript as well but if it is your kitchen I would think you would know if you created a mortscript. There is also the Older HTC Auto shortcut found in some reg files.
I know it is sometimes hard to find but you will eventually find it.
By the way where did the package from the MP3 trimmer come from? Was it from a chinese ROM?
Click to expand...
Click to collapse
To the best of my ability utilizing search there is no reference to the link or the executable in any initflashfiles.dat/app.dat/.reg/.rgu/.*xml. Even the hex coded .dat entries still refer to a "normal" name.lnk, so my search should uncover those.
I pulled the MP3 Trimmer from the Rhodium 2.07 EXT latest packages, which is from an asian ROM at least judging from the links in the original app.dat.
No autoshortcut.exe exists in the ROM. The MP3 Trimmer and a bunch of other packages create an AutoShortcut key, but there's nothing under that so I'm not sure exactly how it's used (and it would therefore be present even if I deleted it from the trimmer package).
My guess is that it has to be either the start menu initial creation process some Manila initialization process that is creating the initial link. How it gets into a state where it remains in the start menu but no information exists to delete it is the 2nd question -- where is that information??
I've verified if I delete \Windows\Start Menu\Programs, then copy the directory structure back in the link goes away. This could be a solution long term, but I was trying to stick to the automatic creation process as much as possible.
Thanks to those who have responded and provided input so far.
Looking at a stock rom dump for the raphael, the autoshortcut operations are in a .provxml in the 0409 folders, like this:
Code:
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKLM\SOFTWARE\HTC\AutoShortcut">
<parm name="\Windows\Start Menu\Programs\Streaming Media.lnk" value="\Windows\Streaming Media.lnk" datatype="string" translation="install"/>
<parm name="\Windows\Help\Streaming Media.lnk" value="\Windows\Help_Streaming Media.lnk" datatype="string" translation="install"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
The autoshortcut.exe is in oemdrivers. I really don't even know what the point of it is; I guess it's for book-keeping, to keep track in the registry of all the shortcuts being moved around. It could just be done by a provxml file operation instead of by autoshortcut during customization, but whatever, that's how it's done. Just try deleting the autoshortcut references. Heck, delete or rename the shortcut in the kitchen and send it to the start menu a different way (like by renaming it while copying it with an app.dat file).
Farmer Ted said:
Heck, delete or rename the shortcut in the kitchen and send it to the start menu a different way (like by renaming it while copying it with an app.dat file).
Click to expand...
Click to collapse
OK, I'm going to modify the orignal post as solved, because this simple idea (which of course didn't occur to me) is the ticket. I renamed the .lnk to .link in the kitchen and it's renamed back to .lnk when copied by the app.dat. Presto change-o, no MP3 Trimmer.lnk file in \Windows. Works like a charm.
I use osKitchen 1.33.5 with an WWE base leo image 3.14 rom for the HD2
In my kitchen I have been able to change all the start menu icons so they can be added purely by clicking a button in oskitchen. There is one icon I have left on the start menu that I can not seem to get.
I am trying to find the entry for the today icon so I can remove it and add as an app.dat entry in the build. I have done some recearch and all I can find is that the reference to the today icon seems to be in the shellres.192.dll file stored in the Base_DPI_192 folder in the OS.
I am not sure how to modify this and remove the entry. I then also need to create an app.dat file that will allow the user to add back in to the rom if necessary.
Any help would be appreciated.
Cheers!
You can't delete "Today" icon from start menu, especially via app.dat/initflashfiles.txt, as it is hardcodded. Perhaps there is a way to hide it via registry, don't know.
Start_Icon_Today.png
I don´t sure what you want. You can use the icon you want and rename it. If you want delete it perhaps you can use a .provxml like the one in HTC Messaging Client. You can delete the link you want usin the formule of the .provxml in the directory of the .xml
Regards
Im actually looking to see if I can have the option of not having the icon there at all? In my kitchen, you can choose the icons you want in the start menu simply by clicking them.
It then copies the .lnk file into the start menu by using an app.dat file. I was looking to see if this could be done for the today icon.
why not just replace the Start_Icon_Today.png ?
What I've done was, I put a folder in EXT (EXT Packages in osKitchen) called Theme, then inside that folder, I have a new folder called "StartMenu_Icons" (Am using Firestorm icons btw)
folder structure was like this:
Sources
--Devices
----HTC <my device>
------EXT Packages
--------Theme
----------StartMenu_Icons
------------files
--------------and all Start_Icon_<name>.png
am not sure if that's what you're trying to do
What I am looking to do is to give the user the option to include the today icon simply by clicking a button with in oskitchen. I have been able to do this with all other start menu icons but it doesn't seem possible to do it with the today icon as it seems to be hard encoded