Could any one please give me the procedure to be followed to delete the machine level files and registries and user level registries

i want to delete
The folder in “…\All Users\Documents\'Application Name' ”
The registries under HKLM\Software\'Application Name'
The registries under HKCU\Software\'Application Name'
0 Comments   [ + ] Show Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


In your case I must tell you that User registries and files will be removed for only that user in which the uninstallation has taken place. Hence we tend to find a lot of files and registries under the user even after uninstallation.
- You have to check whether these files and registries for that particular user are created on run-time or are a part of the package. If on runtime then include them in your package.
- Check the attributes of the component from which the uninstalled regitries or files come from.
- Try using the remove file table to remove uninstalled files.
- One thing that I used to do was remove all the '+' keys from the value of registries which have children under them. If they dont (have children) then I used to keep the '+' value. [I dont know exactly why but was told this by a friend and it worked. May be someone can point out a reason for this]
- Else you may add a vbscript to your application to forcibly remove those resources (I generally dont prefer this but have to sometimes...)
Answered 02/25/2008 by: India_Repackaging
Blue Belt

Please log in to comment
Answer this question or Comment on this question for clarity