File Removal - 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!

lolmoney
Posts: 1
Joined: Sun Sep 09, 2012 3:22 am

File Removal

Heya,

I have an issue. Currently I'm trying to make Advanced Installer delete a file that is being added after installation. We use an automatic update function, so when someone goes to uninstall our program, whatever was downloaded via the update system is being left behind.

I am aware of the File Removal function in the Files and Folders section, but I am unaware of how to make it function. For the sake of example, lets say one of the files being downloaded via the update function is called "lol.bmp." What would I enter in the File Removal prompt to get it to be removed when the program is uninstalled?

Thanks!
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: File Removal

Hello and welcome to Advanced Installer forums,

During an uninstall, Windows Installer removes only the data registered into the MSI file. All other data created by custom actions, by the installed application or by the user is not registered in the MSI, therefore it will not be removed. If you want to also delete this data, you need to use the "Uninstall Cleanup" wizard available from the context menu when a folder is selected in the Files and Folders Page.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”