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!

Ruben
Posts: 57
Joined: Fri Apr 10, 2015 2:35 pm

Partial Upgrade with Auto Updater

MSI files can be very large. Our customers should get upgrades without downloading full-sized MSI/EXE files everytime.

When upgrading a whole MSI file, our customers would have a Download of 160MB with each upgrade.
That's a lot for some people.


Wait. Most megabytes of our application are third party libraries, and a bundled Java Machine. These must not be upgraded each time.

=> We would like to deliver small, "incomplete" package for upgrades. These bring only components that have changed, to save download megabytes. For example, the Java Machine could be left out in most upgrade-MSI-files.

I would call it a "partial upgrade". :?: Is this possible ?

Warm regards,
Ruben
Last edited by Ruben on Tue Sep 15, 2015 1:48 pm, edited 1 time in total.
Ruben
Posts: 57
Joined: Fri Apr 10, 2015 2:35 pm

Re: Partial Upgrade with Auto Updater

Let's add something specific to better illustrate the problem.

Under "Files and Folders", our original folder structure looks like:

Code: Select all

- Target Computer
    - Application Folder
        - alternate_config
        - jre
    ...
That's how our application gets installed.

Now, I create an MSI file just for updates. To save about fifty megabytes, I removed the jre from the "Files and Folders":

Code: Select all

- Target Computer
    - Application Folder
        - alternate_config
    ...
The idea was to update our application files, while keeping the existing jre folder.
But the update will purge the existing jre folder, destroying the installation.

Do we really need upgrade packages that contain everything again ?

Thank you,
Ruben
Ruben
Posts: 57
Joined: Fri Apr 10, 2015 2:35 pm

Re: Partial Upgrade with Auto Updater

Wait, finally I found the "Patches" topic:

http://www.advancedinstaller.com/user-g ... tches.html

Looks promising. But that patches page states:
...it is recommended to use patches only for minor updates, that do not change the Product Code ...
Are patches really the right way to update large parts of our application, e.g. to replace 80 of 160 Megabytes ?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Partial Upgrade with Auto Updater

Hello,
Are patches really the right way to update large parts of our application, e.g. to replace 80 of 160 Megabytes ?
Yes, as long as you fulfill all the patch creation rules.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”