DelReg (deleting registry keys/values) - Windows Mobile Development and Hacking General

Hi,
I looked around on MSDN and found that cabs/inf files do use the AddReg 'command' to add or modify registry keys and values, but it doesn't explain how to remove a registry value of key with a cab installer file. DelReg doesn't seem to be supported.
I'm sure there must be a way to delete registry settings, anyone know how?
TAI,
Cheers,
C.a.c.t.u.s

you can put this (and other) functionality into your own setup.dll
buzz

k, thanks.
Can you point me in the right direction where to find information on this?
Cheers,
C.a.c.t.u.s.

le_cactus said:
k, thanks.
Can you point me in the right direction where to find information on this?
Cheers,
C.a.c.t.u.s.
Click to expand...
Click to collapse
not right now, but go to http://msdn.microsoft.com
and type "setup.dll windows ce cabwiz" into the search box.
buzz

Thanks Buzz, I'll have a look there again.
C.a.c.t.u.s.

Related

deleting registry keys automatically within a cab file

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!

Revealing the Hidden Partition in Atom Life

Since I don't know how to edit the Wiki pages and I didn't find the information elsewhere I would like to share the solution for revealing the hidden partition of Atom Life here:
Using a registry editor go to
HKLM\System\StorageManager\Profiles\Trueffs_DOC1\FATFS\
now open "MountHidden" and set the the decimal value to "0"
After a softreset there will appear "_QHiddenPartition" as a storage card in the file explorer.
Enjoy!
tuttovabene said:
Since I don't know how to edit the Wiki pages and I didn't find the information elsewhere I would like to share the solution for revealing the hidden partition of Atom Life here:
Using a registry editor go to
HKLM\System\StorageManager\Profiles\Trueffs_DOC1\FATFS\
now open "MountHidden" and set the the decimal value to "0"
After a softreset there will appear "_QHiddenPartition" as a storage card in the file explorer.
Enjoy!
Click to expand...
Click to collapse
What to do with it, can we store files?
observer365 said:
What to do with it, can we store files?
Click to expand...
Click to collapse
It's simply because I like to know what's going on in my machine. In addition you have instant access to desired files you wish to extract for later use or on other machines. I also heard that it shall be possible to store cabs here which you wish to be installed via the O2 Autoinstall routine after a hardreset. But I also heard that it could be dangerous to manipulate the files in the hidden partition(?)
Does anyone have detailed and reliable information about that?
Regards!

Recognizer...

Hi
Wonder if anyone can give me the 2 registrykeys i need to create the blockrecognizer and the other one that i cant remeber the name on
I have a swedish version and for some strange reason they have disabled the 2 inputmethods in it.
Thanks
/Magnus
Sebulba_se said:
Hi
Wonder if anyone can give me the 2 registrykeys i need to create the blockrecognizer and the other one that i cant remeber the name on
I have a swedish version and for some strange reason they have disabled the 2 inputmethods in it.
Thanks
/Magnus
Click to expand...
Click to collapse
It seems that you have always the same problem....see your post there:
http://forum.xda-developers.com/showthread.php?t=303954
good luck!
ouioui01 said:
It seems that you have always the same problem....see your post there:
http://forum.xda-developers.com/showthread.php?t=303954
good luck!
Click to expand...
Click to collapse
Ps: i remember that someone post something to disable input keyboard for TC, maybe in Tweak and tricks thread...sorry, haven't got enough time to search.
Yes i always get this problem when i buy a new phone.
So i know how to fix it i just need the registry key to enable the input type again.
So if anyone with the 2 recognizer inputs enabled could search the registry and give me the keys?
Thanks
/Magnus
Can't remember where I saw it but when I disabled my keypad I changed some stuff at
HKEY_CLASSES_ROOT\CLSID\{198D503A-EFFE-4afd-BC54-EED333C80E6D}
Good luck!
Thanks
This was wrong key it is the key for the Touch-keypad.
But i finally found a cab that will fix the block and letter recognizer for both Touch and Touch Cruise, and i should probably say its for the swedish version.
If you want to use another country edit the textfiles i have attached.
You should change the name of the dll file on line 10 and 18. I guess yours will be namned with your country code instead of the sw that stands for sweden.
Think you will find the msim??.dll in you windows folder.
/Magnus
Sebulba_se said:
This was wrong key it is the key for the Touch-keypad.
But i finally found a cab that will fix the block and letter recognizer for both Touch and Touch Cruise, and i should probably say its for the swedish version.
If you want to use another country edit the textfiles i have attached.
You should change the name of the dll file on line 10 and 18. I guess yours will be namned with your country code instead of the sw that stands for sweden.
Think you will find the msim??.dll in you windows folder.
/Magnus
Click to expand...
Click to collapse
Downloaded your files and renamed them to *.cab but couldn't get it to work! Any idea what I've might be doing wrong?
/Göran
Yes i know whats wrong...
The problem is that its not .cab files it is registry keys.
So you should rename them to .reg and execute them.
Then you should get a question if you want to add the key to your registry.
If thats not happening thats because you need some registry editor installed on your phone.
I use resco explorer witch is good for a loot of other things to.
Good luck
/Magnus
I went to http://www.smartmobile.se/ and got the cab file from Touch. Now the recognizer works for me - quick and painless
Sebulba_se said:
The problem is that its not .cab files it is registry keys.
So you should rename them to .reg and execute them.
Then you should get a question if you want to add the key to your registry.
If thats not happening thats because you need some registry editor installed on your phone.
I use resco explorer witch is good for a loot of other things to.
Good luck
/Magnus
Click to expand...
Click to collapse
Thanks,
Figured that out a little bit later and used resco explorer also, works nicely now
/GHurun

Registry Edit

Ok, so I want to edit the registry for the 15 Tabs...
How do I go about this I know what I need to put on but to go about putting on the HD I have no idea.
Thanks in advance for your help
Have you got yourself a registry editor? Check out PHM, or CERegEditor.
Then just follow the required keys and make the necessary edits.
V
thanks mate =)

Changing Quicklinks on homescreen

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.

Categories

Resources