Set Extract Archive Order - Advanced Installer Community
elou
Posts: 96
Joined: Tue Apr 14, 2015 9:12 am

Set Extract Archive Order

Hello,
I would like to integrate several Zip-Archive in my project (some of them are retrieved from a download link).
It's important in my case to set the order in which the archives are extracted because the second archive will overwrite a folder extracted from the first archive.
How can I garanted the order in which my archives are extracted?
Regards, Éric.
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Set Extract Archive Order

Hello Éric,

The files are copied to the target machine in the order they are added in the "Files and Folders" page.

Hope this helps.

Kind regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
elou
Posts: 96
Joined: Tue Apr 14, 2015 9:12 am

Re: Set Extract Archive Order

Hello,
thanks for your reply.
Is there a way to check in which order those file have been added?
How Could I be sure that the files a extracted before the other files are installed?

Regards,
Éric.
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Set Extract Archive Order

Hello Éric,
Is there a way to check in which order those file have been added?
You can check this by opening your project and going to "Files and Folders" page.
How Could I be sure that the files a extracted before the other files are installed?
I think that you may find useful using our predefined support for "Temporary Files". Unlike Advanced Installer's regular files or resources, "Temporary Files" are copied on the target machine at the beginning of the installation and are deleted at the end of it, ensuring you have access to them throughout the entire install process. "Temporary Files" are copied during the "CostFinalize" standard action, at the beginning of the setup and removed during the "InstallFinalize" standard action.

Hope this helps.

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

Return to “Common Problems”