/build/static/layout/Breadcrumb_cap_w.png

Uninstall does not remove alll files

Hi all

My Setup creates some folders.One of them contains exe file
After the user runs the exe file one of these folder, let's say "folder1", is filled with data.
After stopping the exe and doing deinstallation all other folders are deleted except for folder1 because it contains data that were not part of the setup.

How can i force my Setup to delete such a folder on Uninstall??

I appreciate your help

Best Regards

0 Comments   [ + ] Show comments

Answers (5)

Posted by: knight 16 years ago
Orange Senior Belt
0
Hi,

You can remove that file using the remove file table.
Posted by: Foleymon 16 years ago
Orange Senior Belt
0
daher-
Need a little more info. Is your .msi doing the uninstall or are you using a wrapper to call another routine? Typically an .msi will not remove files it doesn't know about (created after install). When I have an app that does this I usually just remove the entire directory including any files left in there. Be very careful that you are not removing files that were created by the user and needed later as these will be gone. I will have a script that searches that directory for any file extensions that are created by that app and move them to a temp location just in case. Then I just purge the folder(s) and anything left in there.
Posted by: daher 16 years ago
Orange Belt
0
Thanks both of you

Actually I want the MSI to remove everything.

I used the Removefile table and it is working.
Posted by: chprakashs 16 years ago
Senior Yellow Belt
0
hi,

I have similar issue. uninstallation is leaving the empty folder in program files which I want to remove. I dont know how to use remove folder table. please help with the information!

Thanks,
Prakash
Posted by: jmcfadyen 16 years ago
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