Hide all Programs, Customize Start Menu - Windows Mobile Development and Hacking General

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.

Related

intellipad is no longer there? registry key required

was playing with the registry editor and must of changed an option some days back... and now i have no intellipad option for INPUT!
anybody out there know where this line exist?
bump!
someone know the keys to enable or disable
the keyboards/ intellidailer xpad etc etc?
...
Destroying the registry so a given functionality dies, is not the same as enabling/disabling. I doubt these programs have simple on/off switches in the registry, so instead I suggest you reinstall them.
Set a browser such as the Resco Explorer to show files in ROM, then locate and execute the file loadvdisk.exe in the Windows folder. This will give you access to the Extended_ROM folder, located in root. From there you can reinstall what you want. Names of the files you will need are selfexplanatory, the rest you can find a description on here on forum, by using the search function.

STK returns to program folder after every soft reset

After every softreset the link to the Sim Toolkit is recreated in the startmenu -> programs folder. This is really annoying as I just don't use this program. Is there any way maybe in the registry to prevent it from being created? I am using the newest official T-Mobile GER ROM but i already had this problem with the first ROM that was installed.
I have the same problem!
i want to disable the stk menu from WM5
Did anyone tell me how to do?
Ok, I got an idea. Might sound stupid and is not the most ellegant solution but it will work: Why don't we put together a little program that deletes the shortcut and we put this program in the startup folder? This way the icon won't reappear after each soft-reset.
Can anybody here do this for me? Just a simple little program to delete the file. The one which needs to be deleted is:
\\Windows\Startmenü\Programme\Special.lnk
Thank you so much!
there is no stk.lnk shortcut in my windows\startup folder
but my stk menu is automatic start! why?
Hi there,
I'm having the same problem, in that there is a link to the STK appearing in my programs folder on each reset. I have tried deleting and moving the icon, setting it to 'hidden', and altering the registry setting (\\Windows\Startmenu\Programmes\O2.lnk (it's slightly different to the example in an above post, but it does link to STK)) to place it in a sub-folder called Phone (i.e. \\Windows\Startmenu\Programmes\Phone\O2.lnk), but on each reset my changes are removed.
Has anyone got any ideas how to permanently remove this - or at least how it is being recreated each reset? Is it installed as part of the O2 Active software?
Cheers all
Rory

Hidden files and registry after Rom upgrade, what's up ?

Hi !
I've just upgrade my 9000 with Rom 1.30.89 ITA
With the previous Rom I can move shortcuts in Start>Programs in sub-folders created by me (for example: PIE in a folder called Web)
But now i see the shortcuts (of the pre-installed applications in Rom as Word, Excel, Agenda....) in Programs are hidden files and I can't move to my customized folders, i get an error !
I have an italian OS and the error is "Accesso negato" (probably in English is "Access denied")
Same error when i try to modify the registry from PC with Mobile Registry Editor or Smartione.
What's up ? :shock:
Is not my first Pocket PC and with all my past device i always was able to move folders in Programs and edit the registry from PC, but now I don't know what can I do...
Anyone with this issue ?
Thanks :wink:
answer
cut and paste the shortcut icons. you will have to have any start menu aplications closed to do this. It will give you an error if you try to move those icons if you don't close those programs also clear out all the checkmarks under start-settings-menu. this should help
I had this issue as well on my Dopod 900. These files seem to be classified as System Files now and are hidden.
I was using Resco File Explorer and it could not see these files. But checking the box "Show All Files", the files could be seen and moved.
Using File Explorer though, I am pretty sure that it sees the files with no problems. You can move them but you get a prompt saying that this might cause some problems with other software. Just have to click OK and it moves it.
Hope this helps.
Re: answer
sandrobber said:
cut and paste the shortcut icons. you will have to have any start menu aplications closed to do this. It will give you an error if you try to move those icons if you don't close those programs also clear out all the checkmarks under start-settings-menu. this should help
Click to expand...
Click to collapse
Thanks sandrobber, I always close all the running application before moving the shortcuts and I clear all the checkmarks
@capkapak
You're right when you say "These files seem to be classified as System Files now and are hidden."
Anyway thanks for your suggestion, I can move files with TotalCommander also (not only Resco) and modify the registry with PHM RegEditor
Obviously both installed in my 9000
But i would like move files and modify registry from my PC....
Ps: This is strange for me, I always was able to move files with ActiveSync and modify registry with Smartione without any problems.....
Thanks guys for your replies :wink:

[APP] (20/08/09) HideFolder - Show/Hide Folders in HTC Album (CAB)

Update
I have now created a CAB for the script.
It will install a link to the program in Programs under the Start Menu.
IMPORTANT: You need to have MortScript installed. There is a CAB in \Program Files\HideFolder. If you already have MortScript you can delete this CAB.
The new cab is at the end of this post.
-------------------------------------------------------------------------
Hiding folders from HTC Album has been discussed elsewhere, maybe for different reasons than mine !
When I select 'Storage Card' a list of folders appear that have no interest to me and do not contain any images that are mine.
I have written a script that allows you to Show or Hide folders from HTC Album. I included the ability to 'Show' folders in the event that you may want to temporarily hide a folder but re-enable it at some point.
You need to have Mortscript installed on your device !
Unzip the file and copy to your device.
When you run the script you will be given a choice whether you want to:
1) Show a Folder
2) Hide a Folder
3) Exit the Script
When you select Show or Hide you will then be asked to select the folder.
If you select Show: A previously hidden folder will be enabled (If the folder is not hidden you will get a message informing you of the error)
A confirmation message will be displayed and you are done.
If you select Hide: The selected folder will now be hidden from HTC Album (If the folder is already hidden you wil get a message informing you of the error)
A confirmation message will be displayed and you are done.
I've run the script in as many combinations as I can think of and all seems to work, please let me know if there is something I hae missed.
CAB Now available see above.
Thanks for such a necessary utility, I was actually looking for this for some days now...I needed this... you know to hide some things when your is taken over by some enthusiast who wants to check out everything in it and occasionally press wrong links....
This app. does its work what it supposed to do but I have Resco photo manager installed the hidden folder is visible in this photo manager...is there a way it could be hidden to resco as well.
great,
is this also possible for HTC Music Player ß
I don´t want to see my ringtones and others on the SD card.
thanks
I edit the registry to hide the folders. This saves me a lot of work. Simple enough. Thanks
Mesquire said:
I edit the registry to hide the folders. This saves me a lot of work. Simple enough. Thanks
Click to expand...
Click to collapse
Can you share the registry edits...pls.
Do you have the same tweaks for music ???
Does this work for HTC HD2? I have tried it an error, unknown function selectdirectory?
A non responding thread...
Application does not work with the newer builds 6.5.x
Here you go.... to all who want to hide folders for whatever reasons, go to this link and follow directions and viola, job done!!! no cabs to install or extra steps that make it complicated, all's you need is a reg-edit on your phone and your good to go!!!
http://pocketnow.com/tweaks-hacks/how-to-hide-folders-with-pictures-from-htc-album
ENJOY AND HAVE FUN!!!
^^^
having some trouble figuring that out could you help
Apologies
Hi All,
I am really sorry that I have not been able to respond to recent requests.
I have some personal stuff going on at the moment which has meant my head has been inserted up an unattractive part of my body.
I am sorting myself out and will try to help where I can in the next few days.
Apologies and thanks in adavnce for your understanding.
Hide more then one folder????
it seems as if i can only hide 1 folder and not multipl folders. How can I hide multiple different folders? When i attempt to do another folder the error always says this folder is already hidden and its not.
Thanks man, nice little app!!
tried on hd2, doesnt work

Keep apps installed on SD Card during update?

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]

Categories

Resources