File not being removed after uninstallation - 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!

sravan
Posts: 8
Joined: Mon Aug 27, 2012 11:09 am

File not being removed after uninstallation

Hi,

Installing an msi built with advanced installer version 8.7 and during installation it should also install a text file.While uninstallation unable to remove that text file. Is there any way possible to remove that text file(enabling any checkbox) through advanced installer?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: File not being removed after uninstallation

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

In order to achieve what you want you can use our "Uninstall cleanup" feature. By definition, the wizard allows you to specify what files and folders created by your application will be removed upon uninstall. In order to run this wizard select the parent folder, the directory from where you want to delete files and folder, and from the context menu select “Uninstall Cleanup...”. After the wizard launches, simply follow to on-screen instructions to choose the files you want to delete.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sravan
Posts: 8
Joined: Mon Aug 27, 2012 11:09 am

Re: File not being removed after uninstallation

Hi,

Thanks for your update.

I want to remove all the files and folders which got installed during installation of msi...is there any other way?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: File not being removed after uninstallation

Hello,

Please keep in mind that during uninstall Windows Installer removes only 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.

Also, in order to remove a file you can use a file removal operation.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sravan
Posts: 8
Joined: Mon Aug 27, 2012 11:09 am

Re: File not being removed after uninstallation

Hi,

Can we over-ride that text file instead of removing it. If so, please tell me the process.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: File not being removed after uninstallation

Hello,

Can you please give us more details about your scenario (maybe exemplify)? Why do you want to override a file during uninstall? Please keep in mind this is a common behavior for an upgrade process.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”