Question about updates - Advanced Installer Community

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!

BlueBlob
Posts: 4
Joined: Tue Mar 10, 2009 3:10 pm

Question about updates

Not sure if this is the right place to post my question, but I'll try anyway.

Is there anyway of updating a single (binary) file, without creating a patch?

What I would like to do, is have the Updater download a much smaller MSI, that will basically just replace *some* of the files, instead of downloading the massive bloated full MSI with all the merge modules, etc, included.

Am I making sense?

Is it possible?

I've tried various different things, but it always removes the rest of my installation (the bits that weren't included in the smaller MSI).

Please help,

Regards.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Question about updates

Hi,

Although it is not recommended, you can try this approach:
- create a new project which contains only the updated files
- use the approach explained in the Preserve File on Install how-to to backup the original files when the package is installed and restore them when the package is uninstalled
- distribute the resulted package as an update

This way the package should backup the original files and update them in the installation folders. If the package is uninstalled, the restore custom actions can restore the original files so the application doesn't remain broken.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
BlueBlob
Posts: 4
Joined: Tue Mar 10, 2009 3:10 pm

Re: Question about updates

Yeah, that doesn't sound like a very neat solution, and I'm not sure I completely understand what you mean either. :)

Will a 'patch' be the best solution? I was hoping to avoid that, as we only have the Professional license, and patches are excluded from that.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Question about updates

Hi,

Yes, patches are the recommended solution. Please note that the User Guide contains a patch tutorial which may help you.
Also, you can upgrade your license to Enterprise by using our license upgrade page.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”