Prevent folder/library removal - 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!

MBonevil
Posts: 45
Joined: Fri Jan 22, 2010 4:48 pm

Prevent folder/library removal

Hi,

1) I install some files in a specific folder (like: C:\User\bidule\Documents\Data), I want to keep this folder when the software is uninstalled.

How I can do that ?

1) I create a library using the path in 1), How I can keep this library even if the software is uninstalled ?


Best regards,

Martin
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Prevent folder/library removal

Hi,

This can be done very simple, first you will have to access the Properties Dialog of that folder and set the option
"Create folder on target machine", if it is not already checked.

After that press "F8" while the folder is selected, you will be taken to its component, here you have to select the flag "Permanent".

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MBonevil
Posts: 45
Joined: Fri Jan 22, 2010 4:48 pm

Re: Prevent folder/library removal

I found all the options for the folders.
Thanks !

But for the libraries, how I can set it to "Permanent" ?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Prevent folder/library removal

Hi Martin,

Here is what you can try:

-- in the folder in which you wish to install the libraries create a new sub-folder
-- in the Properties dialog of that sub-folder check option "Install folder content into parent folder" and "Create folder on target machine"
-- place the libraries into the new sub-folder
-- mark the component of the folder as "Permanent"

This should have the desired effect. Please let us know if you have any questions.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MBonevil
Posts: 45
Joined: Fri Jan 22, 2010 4:48 pm

Re: Prevent folder/library removal

Hi,

I just selected the folder previously set to Permanent for the Component property of the library.
I think this will works.

If not, I will let you know.

Best regards,

Martin

Return to “Common Problems”