/build/static/layout/Breadcrumb_cap_w.png

Deleting files and registries on uninstallation

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

Answers (1)

Posted by: India_Repackaging 16 years ago
Blue Belt
0
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...)
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ