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!

cadull
Posts: 12
Joined: Thu Feb 27, 2020 11:09 pm

Reducing download size and install time

A web installer can have multiple features with a separate cab file for each. The cab file will only be downloaded if the feature is to be installed.

In our case we have some features that are large in size and change infrequently. Ideally we would like to only download and install these the first time, with a condition indicating when it is required. However, since the feature was previously installed, the condition has no effect and the feature is downloaded and reinstalled every time.

Is there a way to keep an installed feature without downloading the files again?
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Reducing download size and install time

Hello,

This most likely happens due to the "MigrateFeatureState" standard action.

During an upgrade, this standard action reads the feature states in the old version and then sets these feature states in the new version.

For instance, if the feature was installed in the older version, it will try to install it once again in the newer version.

For more information about this and also a workaround for this, please have a look on the following thread:

Re: InstallValidate Action ignores property changes when product is updated

Hope this helps.

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

Return to “Building Installers”