Files and Folders are not deleted after uninstall - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

elanius
Posts: 38
Joined: Fri May 15, 2009 9:49 am

Files and Folders are not deleted after uninstall

Hi

I was searching over forum and looking for similar problems but no one solve my problem. Which is:

After uninstalling my app there are still some files and folders in APPDATADIR
c:\Documents and Settings\All Users\Application Data\MyAppName
c:\Documents and Settings\User\Application Data\MyAppName

Folders are created by installer but files are dynamically created by Application. I have there File Operation -> File Removal set to *.* Remove On: Component Uninstall
Also component has not set flag Permanent

I don't understand why these files are still there after uninstall.
Yes I now I can create custom action which will remove everything but I think it would be nicer if it would be removed automatically from installer.

Thanks for any reply.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Files and Folders are not deleted after uninstall

Hello,

You can use the Cleanup Wizard to clean up files that were created by your application. These files are not registered with Windows Installer, which is why they are not removed upon uninstall.

The user in the following thread had a similar issue. The correct usage of the Cleanup Wizard is explained there.

Regards.
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
elanius
Posts: 38
Joined: Fri May 15, 2009 9:49 am

Re: Files and Folders are not deleted after uninstall

Hi

Maybe I'm blind or I have old version (5.1.1). I see that in new version is this feature. But I can not find it in my version :(

Maybe I will have to persuade my boss to buy new version :)

thanks
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Files and Folders are not deleted after uninstall

Hello,

Indeed this feature has been available since version 7.0 of Advanced Installer. Plenty of features have been added since version 5.1.1, and bugs have been fixed ( the list of improvements can be seen in the Version History). An upgrade might prove beneficial.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”