mlukas
Posts: 10
Joined: Tue Jun 14, 2011 6:24 am

Deleting Folders

During an uninstall, what ultimately determines whether a folder is deleted?

In our project, we have several folders set to be removed, even if they are not empty. This action is set to run on Component uninstall.

We also have file removal actions set for various files within the folders that get created after installation.

When the uninstall completes, some folders are left behind even though they are empty.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Deleting Folders

Hello,

If you are using the Uninstall Cleanup wizard, the folder should be automatically removed.

If you are using the Remove tab from the folder's Properties in its context menu( double click on the folder in Files and Folders page ), is the "Create folder on target machine" option enabled from the Properties tab?
Also, is this a regular folder or a property based one?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mlukas
Posts: 10
Joined: Tue Jun 14, 2011 6:24 am

Re: Deleting Folders

Hi Mihai

We are using the Remove tab on the Edit Folder dialog that is accessed by selecting Properties when right clicking on the folder under Files and Folders. "Create folder on target machine" is not checked.

How do I tell if this is a regular folder or a property based one? This is a folder where target files are installed to.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Deleting Folders

Hi,

Can you please send us the .AIP (project) file you are using and a verbose uninstall log to support at advancedinstaller dot com so we can investigate them?
How do I tell if this is a regular folder or a property based one?
You can read about property-based folders here:
http://www.advancedinstaller.com/user-g ... lders.html

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

Return to “Common Problems”