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
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)
Please log in to answer
Posted by:
Foleymon
16 years ago
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.
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
Posted by:
chprakashs
16 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.