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

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.

Answers

0
Hi,

You can remove that file using the remove file table.
Answered 08/20/2008 by: knight
Orange Senior Belt

Please log in to comment
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.
Answered 08/20/2008 by: Foleymon
Orange Senior Belt

Please log in to comment
0
Thanks both of you

Actually I want the MSI to remove everything.

I used the Removefile table and it is working.
Answered 08/21/2008 by: daher
Orange Belt

Please log in to comment
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
Answered 11/07/2008 by: chprakashs
Senior Yellow Belt

Please log in to comment
0
Answered 11/09/2008 by: jmcfadyen
Fifth Degree Black Belt

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