Deleting Files - 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!

sseveran
Posts: 2
Joined: Thu Dec 13, 2007 9:20 pm

Deleting Files

My application creates a variety of data files during its operation? What is the recommended way to remove them during uninstallation? Thanks.

Steve
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi,

You can define File Removal Operations in the Files and Folders page ("New File Operation -> File Removal"). Select "Component uninstall" in the "Remove On" combobox.

Another approach is to use a custom action which removes the folder which contains these file after the uninstall is complete. This custom action can be scheduled under the "InstallExecuteSequence" -> "Install Finalize" standard action with the REMOVE="ALL" condition. You can find a sample custom action here:
http://www.advancedinstaller.com/forums ... php?t=1681

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”