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!

andrewS15
Posts: 1
Joined: Fri Aug 14, 2020 9:18 pm

Upgrade - Only download new files

I have an installer project that downloads large media files in zip archives during the installation process. I am using the File Download and Extract Archive methods to achieve this.

When a user upgrades to the next version I don’t want them to have to download this content again. Can anyone advise on how to achieve this?
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Upgrade - Only download new files

Hello Andrew and welcome to our forums,

In order to achieve this, you could try to condition the "File Download" operation with a condition as it follows:

Code: Select all

NOT OLDPRODUCTS
This way, during the upgrade, the archive should not be redownloaded.

Additionally, the "Remove file on uninstall" option might need to be unchecked, so the archive is not removed during the uninstall of the older version.

Hope this helps.

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

Return to “Building Installers”