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

ifoko
Posts: 35
Joined: Tue Apr 12, 2011 5:10 pm
Contact: Website

Deleting Folder

Hi,

In my app I have folder "LayoutSettings" in which the files should be deleted when a new version is installed.
After appling the "Uninstall Cleanup", my setup always fails to install.
At the end there is a rollback.

How I can see the reason why? Is there a logfile?

When I disable the "remove folder" everything is fine.

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

Re: Deleting Folder

Hi and welcome to the Advanced Installer Forums,
How I can see the reason why? Is there a logfile?
Here is how to create a verbose log of the installation.

Can you please send us the .AIPs( old and new version ) and the verbose log of the installation to support at advancedinstaller dot com so we can help you investigate?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ifoko
Posts: 35
Joined: Tue Apr 12, 2011 5:10 pm
Contact: Website

Re: Deleting Folder

Hi,

I send you a mail. Did you get it and do you have a idea whats the problem?

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

Re: Deleting Folder

Hello,

Usually the uninstall cleanup is meant for the uninstall mode, and in your .AIP and it seems you have scheduled your removal operation when the component is installed not when it is uninstalled.
Since you have the "Install new version first and then uninstall old version" option enabled and want to remove resources on install, you should add removal operations for your files without the "Remove empty folders" and "Remove non empty folders" options enabled. You can do this instead of using the uninstall cleanup wizard.

Another method would be to use the "Uninstall old version first and then install new version" instead. If you want to remove folders you can do so from the folder's properties( context menu or double click on the folder in the Files and folders ) in the Remove tab.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ifoko
Posts: 35
Joined: Tue Apr 12, 2011 5:10 pm
Contact: Website

Re: Deleting Folder

thx changeing the order helped

Return to “Common Problems”