Alpha_95 Posted May 5, 2009 Share Posted May 5, 2009 (edited) Hello people,how to delete registry key :Section uninstall of my INF :[uninstall]BeginPrompt =BeginUnInsPromptEndPrompt =EndUnInsPromptDelFiles =main.copy,lang.copy,PNF.File,inf.copyDelReg =myprog.DelReg,myprog.CPLDelDirs =Folder.delUpdateInis =sysoc.cleanCleanup =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",0x0HKLM,"SOFTWARE\Classes\myproglaunch\shell",,0x0HKLM,"SOFTWARE\Classes\myproglaunch\shell\open",,0x0HKLM,"SOFTWARE\Classes\myproglaunch\shell\open\command",,0x0,"""%16422%\myprog\myprog.exe"" /%%1"HKLM,"SOFTWARE\Classes\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\myprog",,0x10HKLM,"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...",,0x10HKLM,"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",,0x10HKLM,"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...",,0x10HKLM,"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 May 17, 2009 by Alpha_95 Quote Link to comment Share on other sites More sharing options...
Alpha_95 Posted May 17, 2009 Author Share Posted May 17, 2009 update topic Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.