Hi folks,
My first post on the list here. Hopefully I've come to the right place.
I have a M1500 SPV pocket pc device. I would like to customize the Start Menu items by removing two of them -Active Sync and Internet Explorer. I have made a cab file which makes changes to the registry and would like (if possible) to delete the above mentioned items from the start menu via making a change to the registry. I know I can delete the shortcut links from the Start Menu folder but I would prefer to do it via a registry edit if possible. Or if possible, use the same cab to delete the shortcuts from the Start Menu (not sure if this is possible!?)
I'm also looking for a way to hide *all* programs from the Start->Programs screen. Any ideas how to achieve this via a registry hack?
Best Regards and thanks a lot for any help,
dav7
Dan - do you want to delete the start menu ("\windows\start menu" and all subfolders and entry on the start menu?)
Or remove most recently used entries on the start menu?
Or programs in "\windows\start menu"?
Registry isn't really your friend here, other then for the MRU list.
V
Hi vijay555,
Thanks for the quick reply. I only want to remove certain programs from Start Menu, this one...
>Or programs in "\windows\start menu"?
I know if I delete those programs from My Device->Windows->Start Menu then it will remove them from the Start Menu without deleteing the actual program. I was just wondering if there was a way to do that via the registry? i.e. perhaps there is a key in the registry somewhere that lists the items to put in the Start Menu following a hard reset?
I am also looking to hide all programs from the main Programs page i.e. the Programs screen\page that shows all the actual Programs. I was wondering if there is a way to do that via the registry?
I know for example I am able to hide things that reside in the Control Panel settings i.e. Connections->Beam. I was wondering if there is a similar way to do that in the Programs screen?
Hope that is clear! or clearer!
Cheers,
dav
dAV:
sounds like you want to edit your startmenu.
Get a file explorer like GSFinder/Resco etc.
navigate to \windows\start menu
and delete/move everything you want to clear out.
V
perhaps there is a key in the registry somewhere that lists the items to put in the Start Menu following a hard reset?
Click to expand...
Click to collapse
heh problem is that the registry is reset when you do a hardreset
so it would just go back to default
same thing with the content of your \windows\start menu
all shortcuts would reappear after a hardreset
unless you made a program in the extented rom which removed them when it was run
Hi,
Thats basically what I'm trying to do. I've made a cab file which when run sets a lot of registry settings following a hard reset. As you said, after a hard reset the device is restored to its normal build. My cab runs right after a hard reset to make sure the device is configured the way I want it. Are there any keys in the registry which are responsible for configuring the Start Menu? I cant seem to find one for Start Menu, only the New Menu
An alternative approach is running an exe which deletes the Programs from the Start Menu folder...but I would prefer to parcel it all up in a tiny little cab file if possible...
Thanks again for any suggestions...
Cheers,
dav
i never seen anything like it in the reg
Thats a pity. I cant find anything either. I prefer to do as much as possible in either the CPF or a cab. exe's do the job but there big and more complicated to change. Neverthless seems I'm stuck with an exe for now. Oh well...
Cheers,
Dav
Hi, Dav!
Even though there is no registry solution, exe file is not your only option.
Cabs can contain a setup.dll that exports 4 functions which the system calls before and after installation or uninstall (separate function for each event).
Check MSDN for setup.dll specifics.
Get a cab file that will start up automatically after a hardreset to delete all the fies in the start menu? I think if you delete the files in the start menu, it will be removed in the Programs list. It is basically a short cut file.
levenum said:
Hi, Dav!
Even though there is no registry solution, exe file is not your only option.
Cabs can contain a setup.dll that exports 4 functions which the system calls before and after installation or uninstall (separate function for each event).
Check MSDN for setup.dll specifics.
Click to expand...
Click to collapse
Excellent! Thanks a lot, I'll look into that.
Cheers!
Dav
hanmin said:
Get a cab file that will start up automatically after a hardreset to delete all the fies in the start menu? I think if you delete the files in the start menu, it will be removed in the Programs list. It is basically a short cut file.
Click to expand...
Click to collapse
Hi Hanmin,
I think you are correct...if you delete *all* files and folders from the Start Menu it will remove the files which are directly situated in the Start Menu folder as well as all files in the Program folder which also resides in the Start Menu folder. This will remove items from both the Start menu and the Programs screen. This is ok for me though as luckily I want to also hide all Programs from the Program screen. A lot of the device functionality has to be hidden from the end users, to prevent them from fiddling with anything and to also hide things like Games etc...
Cheers,
Dav
Hi,
I've managed to get the setup.dll working. Its really useful and stops me needing an exe for many things. However, is it possible to get the dll to show a Dialog window? I've tried incorporating a dialog to the dll but it never seems to show up. I need the user to set a value and was considering doing it via the setup dll, but so far not been able to get the dialog, or even a Message Box to show up when called within the dll?
Any ideas?
Thanks,
Dav
Here is a line of code from Install_Init function that's working perfectly for me:
Code:
g_dlg = CreateDialog(g_hInst, MAKEINTRESOURCE(IDD_MSGDLG), hwndParent, MyDlgProc);
I save g_hInst in DllMain.
As for message boxes, just call them as usual, never had a problem there, but you need to make sure you put your code in the correct function or it will not be called at the right time.
I've uninstalled this program call "SiriusCE" on my TyTN, but the program icon is still in the "Programs". I can't seem to remove it, when I click on that icon, it shows some error. It seems like the program did not uninstall completely. Does anyone know how to remove it manually? Thanks!
Sometimes it helps to re-install and then uninstall.
If that doesn't work, try the manufacturer's website, sometimes they have FAQ sections which will help you.
Most probably it is just the icon (this is why it gives you an error when you click on it after all, what did you expect?). Why don't you delete it manually?
mikaljan ... NLS is probably correct. Using File Browser, go to \windows\Start Menu\Programs and tap&hold on the icon until the context menu pops up. Then select Delete and confirm. That should do it.
I don't know if it's just me but I have noticed some slightly somewhat "irritating" changes in the latest firmware preventing me for modifying some things as simply as before.
First, the Handango is now in ROM and can not be erased or uninstalled the good old fashioned way.
The panelmanager shortcut is no longer in the startup items.
I may not be looking properly but I can no longer find the "Run" key folder in the Registry to check for startup items there.
As far as I know, Handango is just a shortcut to a website in the newer ROMs. You can delete it out of the Programs folder.
Nope
Nope, I opened the .lnk and it links to the Handango program in the windows folder, which of course I am not allowed to delete because it is "In ROM".
I some how deleted it form windows following a different link. I'll update when I find out again!
I haven't seen any mention as to whether it's ok to keep the apps that are installed on the SD Card when updating. Will they still work or should I uninstall before the update and then reinstall after? Thanks.
the apps still work, you just need to re-copy the shortcuts to windows\startmenu etc... i've had no problems
But...... if the apps have information in the registry then the information will be wiped and they wont work. Also there is no unistall information. Best to reinstall all apps again.
thanks, I suppose it's easy enough to reinstall if they didn't work but I would definitely try installing a new shortcut and see what happens. Thanks again
Heres what i did for those apps i keep on the storage card.
create links in the windows\start menu folder to the programs,
then apply those to home quicklinks,
then browse in a reg editor to
hklm\software\htc\manila\home
find the quicklink you just created and edit the path and icon path to point not to the link in start menu, but to the exe itself on the storage card.
Once all quicklinks are set up to my liking, use ceregistry editor to export the entire hklm\software\htc\manila\home key, then use wincecabmanager to make it into a cab.
Then, after a hard reset, run the cab and all the quicklinks are back, pointing directly at the .exe's on the storage card.
Takes a little setting up to begin with, but now i have about 30 pre defined quicklinks, of which around ten of them point to my 'sd card\always on' folder, where programs that dont need to be installed live, and its easy to do a quick export/import using ceregistry editor and wincecab manager to update my quicklinks cab if i make any changes.
[EDIT - just found the settings export function on cookies hometab editor, i wont be manually exporting teh quicklinks from now on. Hometab layout and quicklinks exported/imported at a click]
I was wondering how would one remove entries from "Remove Programs" during the setup process after flashing your phone. Also, how would one remove registry entries from the registry during the initial setup process after flashing your phone? I have cabs that install during this time, but I don't want them showing up in "Remove Programs," and I have a feeling that being able to remove registry entries is somehow tied to this. Thanks!
The easiest thing to do with the 'remove programs' list is to re-pack the cabs so that they're not uninstallable. Then you don't get all that extra crap loaded, like the uninstall files in \windows\appmgr as well as the appinstall reg keys.
If you have sk tools, use the 'installed programs' tool and then select 'remove uninstall info' to get rid of that crap. It's hard to do manually, because in addition to the file in appmgr and a bunch of reg keys, there's also an entry in the software management database, which is a ***** to remove unless you have a database editor and know what you're doing.
The reg keys are easy to find. Check out the adobe flash sys package rgu. It actually has the uninstall reg keys in at, near the end. I always delete those. It's funny, cuz it's obvious microsoft got it from a cab.
Thanks! I'll have to look into repackaging cabs then.