/build/static/layout/Breadcrumb_cap_w.png

remove entire directory at end of uninstall

Hi,
does anyone have tips on how to achieve a clean uninstall of a product where a user has an option to delete the entire file structure (including directories (2locations) & all files) when they choose to uninstall the product?

0 Comments   [ + ] Show comments

Answers (1)

Posted by: anonymous_9363 15 years ago
Red Belt
0
You need a Custom Action, conditioned to run on uninstall (REMOVE~="ALL"). That CA could be script or a simple call-out to something like KillDir. I prefer the scripted approach because you can test for success, post message to the Windows Installer log and so on.
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