Related
Hello professionals ;-)
i have to delete some registry keys during an softwareinstall with a cab file.
Can anybody tell me how to make an installationfile (like *.cab ore something else) deletes some keys in the registry!
whatfor?
i want to install some programs (like pocket plus) and make some configuration during cab file installation. so i looked into the registry what changes when i configurate pocket plus.
as i noticed there where som keys changed i can overwrite with the new values BUT there are some registry keys deleted also. How get them out???
is there any way ??
Have a look at creating a custom setup.dll file to include in the cab file.
You can certainly delete registry entries using it.
I don't know about deleting registry using cab files.
I think there is only options to allow or not to replace a registry key if exists during install.
Here a good link for .cab files Cab files
Apart that you can make your own install from PC to Pocket using RAPI. With that no problem to delete keys, copy files, add new keys ...
want to delete some keys bevore install
Thank's for your tips!
Have a look at creating a custom setup.dll file to include in the cab file. You can certainly delete registry entries using it.
Click to expand...
Click to collapse
is there more information about this ?
how it works?
how to do?
as i looked at the CABFiles Website this looks very complicated to me ;-(
i am an absolute beginner in developing software!
i need an easy way to delete some regkeys during installation.
I think you can use the excellent scripting utility called nScriptM to achieve your goal. Simply run a search on this in google and you will come across a number of resources including the download location.
k_kirk said:
I think you can use the excellent scripting utility called nScriptM to achieve your goal.
Click to expand...
Click to collapse
i will try this, Thanks!
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.
This ist probably a stupid question, but I just couldn't find a solution.
How do I change an already existing Quickling on the homescreen? The same question is also valid for the contacts screen.
Once I have defined a Quicklink on the Homescreen there doesn't seem to be a method to change it to something else, I couldn't find it anywhere in the settings. And touch-and-hold doesn't do anything eighter.
So if anyone knows the solution please post it here.
Thanks
chuelibrueder
Remove quick links
Try "Menu" (lower right corner) -> Remove quick links ->tap on the one you want to remove -> Done -> you're done
found solution (sorry)
Okay that works.
Thank for your help.
I'm also having Quicklinks problems.
I can delete/change the ones that point to programs but the last row of my Quicklinks point to my top websites (ie; Bookmarks/Favourites) and if I use the normal method to delete them it doesn't work! Has anyone else found this, or a solution?
What might be the issue is that I've installed a cab to increase the number of Quicklinks from 9 (3x3) to 16 (4x4). Could that be causing this, as in a stock HD2 that last row wouldn't even be there...?
Many thanks!
You may certainly use a *.cab which has modified the number of quicklinks on home tab, and which doesn't work properly, isn't ?
You can :
- uninstall this cab
- sof reset
- delete quick links
- install back the cab
- soft reset
Then it's ok.
I realise that this is an old thread but I am a new owner of an HD2 and still finding my way. I have done a search and this is the closest thread to my issue.
Just like ugotamesij I have 16 quick links on my home page. My probem is that I cannot remove an unwanted quick link by using the menu button option to get rid of it. The link that I am trying to remove is to the Excel Mobile program.
I would like to remove the .cab file that gave me the 16 links and then re-install it but I do not know how to remove the .cab file from the SD card.
I have located the particular file using the file explorer and deleted it from the list on my SD card but the 16 quick links still appear on my phone after a soft reset.
Can someone assist please?
the_rascal said:
I realise that this is an old thread but I am a new owner of an HD2 and still finding my way. I have done a search and this is the closest thread to my issue.
Just like ugotamesij I have 16 quick links on my home page. My probem is that I cannot remove an unwanted quick link by using the menu button option to get rid of it. The link that I am trying to remove is to the Excel Mobile program.
I would like to remove the .cab file that gave me the 16 links and then re-install it but I do not know how to remove the .cab file from the SD card.
I have located the particular file using the file explorer and deleted it from the list on my SD card but the 16 quick links still appear on my phone after a soft reset.
Can someone assist please?
Click to expand...
Click to collapse
you can use the registry editor to remove the links -
HKLM\Software\HTC\Manila\Home
There are keys marked with 0..9 (or 0..n)
each item is a shortcut on the home page.
there is a value called "IsExist" set it to 0,
and set all the other tring values to empty.
If you only want to re-order the links -
you can use the app in the following link
http://forum.xda-developers.com/showpost.php?p=5166930&postcount=6
Som30ne, thank you for the reply and link.
I am sorry to reveal my ignorance but I do not know what your instructions mean. I have never had a windows mobile phone before and have never attempted any tweaks.
This registry editor business sounds very interesting but sadly, it's like a foreign language to me.
If you have the time can you break it right down for me or point me to a "how to..." guide?
the_rascal said:
Som30ne, thank you for the reply and link.
I am sorry to reveal my ignorance but I do not know what your instructions mean. I have never had a windows mobile phone before and have never attempted any tweaks.
This registry editor business sounds very interesting but sadly, it's like a foreign language to me.
If you have the time can you break it right down for me or point me to a "how to..." guide?
Click to expand...
Click to collapse
To edit the registry I use TotalCommanderCE,
it's free, just google it.
After you install it, run it, and click on the [\] button (top right of the screen)
double click "Plugins"
double click "Registry"
and then go to the path specified (HKLM\Software\HTC\Manila\Home\. . . .)
go to each of the number folders and double click the values to edit them.
After editing - exit the TotalCommander,
and hold the power button, and select "power off", than turn the device back on,
so the new values would be loaded on bootup.
I hope it's clear enough.
Enjoy.
(BTW: if you are not sure - write down any o the value you changed,
just in case you need to restore the values to what they were before)
I feel as though I'm on the right path but require a little more help.
After a little further research I installed PHM RegEdit and using the directions provided by Som30ne have found the entry in the registry that relates to the offending quick link (Excel Mobile). It is next to a folder with the number 9.
The path is HKLM\Software\HTC\Manila\Home\9
What do I do to simply remove Excel Mobile as a quick link?
the_rascal said:
I feel as though I'm on the right path but require a little more help.
After a little further research I installed PHM RegEdit and using the directions provided by Som30ne have found the entry in the registry that relates to the offending quick link (Excel Mobile). It is next to a folder with the number 9.
The path is HKLM\Software\HTC\Manila\Home\9
What do I do to simply remove Excel Mobile as a quick link?
Click to expand...
Click to collapse
No
there is a value called "IsExist" set it to 0,
Then click save Then reboot
I don't have a value named, IsExist". I can see;
IsNeedRefresh
IsReadOnly
IsSet
IsSet is the only one of these that has a value other than 0 (the value is 1).
Any ideas?
Can anyone help?
the_rascal said:
I don't have a value named, IsExist". I can see;
IsNeedRefresh
IsReadOnly
IsSet
IsSet is the only one of these that has a value other than 0 (the value is 1).
Any ideas?
Click to expand...
Click to collapse
I dont understand - what do you mean it is near the 9 folder ?
There cannot/shouldnt/isnt any quick links near the folders.
The quick links are defined inside the folders.
Inside each of the folders (0 . . N) there are several entries - one of the entried is called "IsExist", and the others contain a path to a program link, and a path to the program icon.
Thanks for you patience.
I finally found the value IsExist and changed it from 1 to 0. I saved my change and then did a soft reset. Sadly, The quick link is still there and resolutely defies any attempts to remove it.
Is there something that I have missed or is there another way? If all else fails I can see only two choices;
1. Perform a hard reset and start again from scratch or,
2. Leave the quick link where it is and learn to live with it.
Any other ideas - PLEASE?
I am fairly new to this registry editing myself, but I also had this problem.
Using the good advice from this thread so far I have managed to get rid of the quick link from my 4x4 quick link grid.
I just looked at the registry values for an empty link and entered the same values for the one I wanted to remove. I then did a soft reset and it seems to have worked.
Thanks for the support speaky05 but I managed to get the required result by simply un-installing the .cab file that gave me the 4x4 grid and then re-installing it.
I don't know why it didn't occur to me sooner.
Hello!
I am returning to Windows Mobile from Android. I purchased a T-Mobile Dash 3G, and am liking it so far, however I'm having a heck of a time trying to figure out how to remove a lot of the applications from the start menu because they're really cluttering things and I want them gone. I can't access them through the File Explorer. When I find something, for example TeleNav, that I want to delete, the option to delete it is grayed out.
If anyone knows of a tweak, a hack, or a .cab I need to install to get this done, I would be GREATLY apprecative!
Have an awesome day!
here is the app called totalcommander download it install from phone. then you can go into the windows folder and then go into the start menu folder and from there you can create new folders to uncluter or delete what you dont want.
You can remove elements in Windows/Start Menu
You can also make folders and sub-categorize items to make the start menu clutter free.
The file explorer all ready on your device will support this.
You can change the start menu order using a registry editor and editing HKEY_CURRENT_USER\Software\Microsoft\Shell\StartMenu\Order
can i change the folder icon?
Devora said:
can i change the folder icon?
Click to expand...
Click to collapse
Yes you can, Just kidding you cant...
Have you searched? Look here: http://forum.xda-developers.com/showthread.php?t=567080.
I hope that helps,
cswroe said:
.
You can change the start menu order using a registry editor and editing HKEY_CURRENT_USER\Software\Microsoft\Shell\StartMenu\Order
Click to expand...
Click to collapse
i have tried to use this method and changed the order but the start menu order still isnt changed. any ideas why?
flamekid said:
i have tried to use this method and changed the order but the start menu order still isnt changed. any ideas why?
Click to expand...
Click to collapse
You may have to restart.
I have synced my contacts with gmail and facebook and i have following problem :
For example, John, with number 063123456 is in my people... 063 is for operator and 123456 is number.. If he is saved in that format, when he calls me , phone will display John, but if he sends me a sms, phone will display +38163123456 (+381 area code for Serbia). If i save John in +38163123456 format, phone will display "John" in sms, but when he calls me, phone will display 063123456..
Help please
Thanks in advance
I have the same problem. It's really annoying and I hate it. But for now I just added both numbers to my frequent contacts. If someone could help us, that would be great!
+1 this is really annoying!
So no one found any solution ?
Try Settings > Phone > International assist and turn it on or off.
Not sure if this helps since i don't have this problemen, but you could try?
Discription says:
Turning on this feature will help automatically correct some common mistakes while dialing internationally or dialing while abroad.
Click to expand...
Click to collapse
So might do something with the country number!
The Following registry Tweak fixes the issue!
[HKEY_CURRENT_USER\ControlPanel\Phone]
"CallIDMatch"=dword:7
Thanks to xboxmod who provided the solution is this thread:
http://forum.xda-developers.com/showthread.php?t=907971
petrosk73 said:
The Following registry Tweak fixes the issue!
[HKEY_CURRENT_USER\ControlPanel\Phone]
"CallIDMatch"=dword:7
Thanks to xboxmod who provided the solution is this thread:
http://forum.xda-developers.com/showthread.php?t=907971
Click to expand...
Click to collapse
hey i've tried to access HKEY_CURRENT_USER\ControlPanel\Phone using registry viewer but an error message pops up saying access denied. Anyway to solve this??
BsB|oVeR said:
hey i've tried to access HKEY_CURRENT_USER\ControlPanel\Phone using registry viewer but an error message pops up saying access denied. Anyway to solve this??
Click to expand...
Click to collapse
Try using the method described here:
http://forum.xda-developers.com/showthread.php?t=907169
Works perfectly!
Thank you petrosk73. I haven't tried it yet but I hope it works!
Thank you again! Saved my WP7
4-Put this file into the attached xap provxmldeployer.xap with winrar.
Click to expand...
Click to collapse
just put it in archive or what ?
Well it doesn't work for me. Or I just don't know how to do it.
I first tried to manualy add the regestry tweaks with Regestry Editor with no luck.
Then I tried the ProvXml methode. -> Opened the NotePad -> Coppied the code:
Code:
REGEDIT4
[HKEY_CURRENT_USER\ControlPanel\Phone]
"CallIDMatch"=dword:7
-> Renamed the file to CustClear.reg and added it to the rar file provxml deployer.rar -> opened the xap program.
What did I do wrong?
EDIT: Well you have to open the xap program with winrar so that you can see the files that are inside it. You must replace the CustClear.provxml file with the new one and save it. Then run the xap program to you WP7. Now it works. Thanks again for the tip
you need to put those 2 files together (custclear created file and provxmldeplyoer.xap) with XBMOD.Files.Deployer.exe. but it force close for me ...
Laynee1 said:
you need to put those 2 files together (custclear created file and provxmldeplyoer.xap) with XBMOD.Files.Deployer.exe. but it force close for me ...
Click to expand...
Click to collapse
Just open the provxmldeplyoer.xap with WinRar on 7-zip and drag the custclear file in it, than save it. It worked for me