Automatic deletion of empty folders?

Got a problem you cannot solve? Try here.
Post Reply
Galina
Posts: 17
Joined: Thu Aug 27, 2015 3:02 pm

Automatic deletion of empty folders?

Post by Galina »

I've discovered that InstallAware script automatically removes empty folders. Not sure what might trigger this... Is this expected behavior? Is there any way to turn it off?

Thanks,

Galina
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Automatic deletion of empty folders?

Post by FrancescoT »

Dear Galina,

if such folder has been created by the install process, the same gets removed at un-install.

Am I missing something?

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Galina
Posts: 17
Joined: Thu Aug 27, 2015 3:02 pm

Re: Automatic deletion of empty folders?

Post by Galina »

No, it has not been created by install process, but was created externally (other application/manually etc.) We use IA script to update the data in the folder. IA install process (not uninstall) removes all the empty subfolders, which is not desired in some cases. Can we control it somehow?
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Automatic deletion of empty folders?

Post by FrancescoT »

Dear Galina,

please excuse me, but I am not quite sure to follow your description.

Could you please send me a very minimal project that replicates the same behavior?

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply