Jump to content
Sign in to follow this  
Alpha_95

how to remove CLSID ?

Recommended Posts

Hello people,

how to delete registry key :

Section uninstall of my INF :

[uninstall]
BeginPrompt =BeginUnInsPrompt
EndPrompt =EndUnInsPrompt
DelFiles =main.copy,lang.copy,PNF.File,inf.copy
DelReg =myprog.DelReg,myprog.CPL
DelDirs =Folder.del
UpdateInis =sysoc.clean
Cleanup =1


[myprog.DelReg]
HKLM,"SOFTWARE\myprog",,0x0,"%16422%\myprog"
HKLM,"SOFTWARE\myprog","UpdateCheck",0x0,"1"
HKLM,"SOFTWARE\Classes\myproglaunch",,0x0,"URL: myprog Protocol"
HKLM,"SOFTWARE\Classes\myproglaunch","URL Protocol",0x0
HKLM,"SOFTWARE\Classes\myproglaunch\shell",,0x0
HKLM,"SOFTWARE\Classes\myproglaunch\shell\open",,0x0
HKLM,"SOFTWARE\Classes\myproglaunch\shell\open\command",,0x0,"""%16422%\myprog\myprog.exe"" /%%1"
HKLM,"SOFTWARE\Classes\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\myprog",,0x10
HKLM,"SOFTWARE\Classes\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\myprog\command",,0x0,"%16422%\myprog\myprog.exe /AUTO"
HKLM,"SOFTWARE\Classes\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\Open myprog...",,0x10
HKLM,"SOFTWARE\Classes\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\Open myprog..\command",,0x0,"%16422%\myprog\myprog.exe"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\myprog.exe",,0x0,"%16422%\myprog\myprog.exe"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\myprog.exe","Path",0x0,"%16422%\myprog"
HKLM,%RemoveMe%,"DisplayName",0x0,"myprog"
HKLM,%RemoveMe%,"Publisher",0x0,"Alpha_95"
HKLM,%RemoveMe%,"UninstallString",,"rundll32.exe advpack.dll,LaunchINFSection myprog.inf,uninstall"

everything is deleted except the registry keys :

HKLM,"SOFTWARE\Classes\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\myprog",,0x10

HKLM,"SOFTWARE\Classes\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\myprog\command",,0x0,"%16422%\myprog\myprog.exe /AUTO"

HKLM,"SOFTWARE\Classes\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\Open myprog...",,0x10

HKLM,"SOFTWARE\Classes\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\Open myprog..\command",,0x0,"%16422%\myprog\myprog.exe"

none of these registry keys are removed correctly, there is still a trace ...

why?

Cordialy

Edited by Alpha_95

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...