Copy files from server - Advanced Installer Community
borrbr01
Posts: 7
Joined: Thu May 07, 2020 2:01 pm

Copy files from server

Hi all,

In my project, I need to copy a complete folder from a server to the target PC.
I can't integrate these files in the package, they can be modified often or files can be added.

I would like to copy these files from the server during installation.

I know how to copy a file but I don't know how to copy (or synchronize) a complete folder.

Thanks in advance.
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Copy files from server

Hello and welcome to Advanced Installer forums,

In order to achieve that, I believe the easiest way would be to create a synchronization between a folder in your project and the folder from the network location.

To do so, pelase open your Advanced Installer project --> "Files and Folders" page --> right click on your folder --> "Properties" --> "Synchronize" tab --> check the "Synchronize content with folder from disk" option and then pick your folder.

Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
borrbr01
Posts: 7
Joined: Thu May 07, 2020 2:01 pm

Re: Copy files from server

Hi

Thanks,

But my need is to synchronise a network folder with Conditions.
And on this menu, we can't add a condition.

The condition depends on the user's choice in the installation interface (Radio Button).
The user choices one kind of installation, and with this attribute, I want to synchronize the right folder.

Maybe I will create a Batch file with "Custom Actions" and Conditions.

Thanks and Regards
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Copy files from server

Hello,

You are always welcome!

If I understand this correctly, you want to synchronize the folders after the installation.

To be fully honest with you, I am not quite sure how this can be achieved.

However, as you have mentioned, you can try to create your own custom action that does this and then condition the custom action accordingly.

Just let me know if there is anything else I could help you with and I will be glad to assist.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”