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!

neilrobertson
Posts: 9
Joined: Tue Sep 01, 2009 11:08 am

Unintsall not deleting files

In my last post I said

"When we do an uninstall from a AI built msi on uninstall the product that we have install with such msi some files are left behind.

This only occurs when the user uses a custome install directory, ie one other than the default we specify in the MSI. The files that are left behind are ones that Windows installer doesnt know or care about. These files are usually deleted by us in custom action. This works as stated above when the default install directory is used but not when the user chooses a different one. Any ideas?"

You replied that I should try uninstall cleanup wizard. I did, it didn't work.

Also I found out what the problem is. It apperas to be that when you enter a different directory in our Custom File Selection Directory [APPDIR] get set correctly but ONLY for the INSTALL phase, when it comes to uninstall [APPDIR] reverts back to the initial default. I found this out by displaying the directory that is getting passed through during uninstall in a Custom Action.

Surely this is a bug. I would have thought that our overridden [APPDIR] would be stored in the MSI database and consequently be available during uninstall. A prompt solution would be appreciated!

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

Re: Unintsall not deleting files

Hello Neil,

I am not sure why you are encountering this behavior. What version of Advanced Installer are you using?

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
neilrobertson
Posts: 9
Joined: Tue Sep 01, 2009 11:08 am

Re: Unintsall not deleting files

V 7.1.3
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Unintsall not deleting files

Hi,

Can you please send us the .AIP (project) file you are using and a verbose log of the uninstall process to support at advancedinstaller dot com so we can investigate it?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”