Removing Log folders at the time of uninstall - 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!

ramit
Posts: 90
Joined: Thu Dec 18, 2008 11:51 am

Removing Log folders at the time of uninstall

Hi,

My application creates some Log folders at run time.
At the time of uninstall, the installer can remove all the files/folders other then Log files/folders.
I want to remove Log folders also, at the time of uninstall.
One way I know that I need to write script to remove folders that I need to call at the time of Uninstall (this process will be little bit tedious for me because my application will create around 11 Log folders on different-different locations).
Is there any other way to remove Log folders, so that I need not to specify manually all Log folder paths in the script file?

Thanks for the help

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

Re: Removing Log folders at the time of uninstall

Hello,

You can use the Cleanup Wizard to remove all redundant files your application generates.
The following thread discusses this in detail:
http://www.advancedinstaller.com/forums ... nup#p26278

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
ramit
Posts: 90
Joined: Thu Dec 18, 2008 11:51 am

Re: Removing Log folders at the time of uninstall

Hi,

Currently I have Acvance Installer 6.3 version that does not support “Cleanup Wizard” functionality.
So to remove the folders I created vbscript file that will delete the folders at the time of uninstall and add that file as custom action in Uninstall under “InstallExecuteSequence”.
I run my installed it installed properly when I try to uninstall some problem came in vbscript file and my installer was unable to uninstall the application.
Now I am in problem, I am not able to uninstall the application even from add/remove program.

What should I do, is there any way to forcefully uninstall the application?

Please suggest.

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

Re: Removing Log folders at the time of uninstall

Hello,

You can try using a .bat file to del your folders.
If you still can not fix this issue, please send your project (.aip and scripts) to support at advancedinstaller dot com so we can further investigate the issue.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
ramit
Posts: 90
Joined: Thu Dec 18, 2008 11:51 am

Re: Removing Log folders at the time of uninstall

Thanks for reply.

I uninstalled the application with help of "Windows Installer Clean Up".

Thanks
Amit

Return to “Common Problems”