|
#1
|
|||
|
|||
|
Help Need For the registry
Hello Friends,
I am very new to system programming. And currently I am developing a system like registry cleaner. But I can not track the information of where the information comes from uninstall from the path LOCAL_MACHINE\SOFTWARE\MICROSOFT\WINDOWS\CURRENT VERSION\UNINSTALL in this path of registry editor this all shows the softwares which are installed in the computer. But I want to find invalid entries so how can I find this entries from the registry editor. Thanks in advance!!!! |
|
#2
|
||||
|
||||
|
I'm not sure :
If it contains "UninstallString" and if this string is a path different than the default installer and it's valid path . but clean this key [if it's true] make some errors in the windows add/remove programme . |
|
#3
|
|||
|
|||
|
Thanks for your reply
Dear,
I get your reply. But I am still confuse that how can I verify that Uninstall path of that key is valid or not. OR The software under the uninstall of registry editor is valid or not??? Please give me reply. Thanks again for your reply. |
|
#4
|
|||
|
|||
|
Exatly What I want
Hello Friends,
The key which I had specified in the first post how Registry cleaner identifies the bad values under the uninstall key for the respective software. Thanks in advance!!!! |
|
#5
|
||||
|
||||
|
If what I told u is the right way then u have to try to open the subKey :
"UnistallString" and check the return value to specify what to do : if return value = sub key not exist ----> invalid Key if return value = "any_string" then start check the string " ***if the string is in format : "defaultInstallerName.exe /anyArgument" ---> I don't know how to check the valid argument , can ignore ***else if the string isnt exist path --->invalid key else valid kay . hope this helps Last edited by Amahdy; 12-01-2006 at 09:45 AM. |
|
#6
|
|||
|
|||
|
Hello,
I am not sure about that but i have found a link related to this topic, So you should tryout this . hopefully it may be helpful to you. FIX DLL Errors |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Visual Installer removing registry entries | AndrewH | VB Classic | 0 | 04-20-2006 06:06 AM |
| writing to registry with RegSetValueEx gives access denied | RossOliver | VB Classic | 4 | 03-16-2006 06:23 PM |
| Writing in HKEY_LOCAL_MACHINE...Access is denied | Martin | VB Classic | 22 | 12-03-2001 04:53 AM |
| Registry? INI Files? What's In Store With .NET? | Dave Keighan | .NET | 20 | 07-08-2001 08:40 PM |
| Re: ASP and the Registry | Hans | ASP.NET | 1 | 06-29-2000 12:51 PM |