Best Methods For Creating 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!

tobiasoleary
Posts: 2
Joined: Mon Oct 27, 2008 3:00 am

Best Methods For Creating Updates?

I was wondering if you have a guide on the best methods for creating updates for simple applications (application with one feature).

I've tried the one patch per update, but the QA found this method not satisfactory, because the updater presents multiple updates with check boxes by each update. This was found to be confusing. Some users, if upgrading two version at a time, uncheck the middle version causing them to not be able to update at all.

Example: User is on 1.1.3
[*] 1.1.5
[ ] 1.1.4 <- user unchecks this option in the updater application.

The update fails to work because 1.1.5 was created to move from 1.1.4 -> 1.1.5.

So I've started to create patches with multiple targets and one upgraded version. So the 1.1.5 patch project would have 1.1.4, 1.1.3, 1.1.2, etc. as the targets.
This worked fine until the patches started becoming very large due to the amount of targets, let's say 7 targets. The more targets caused more of the typical window installer problems to arise, like 'Unable to find *.tmp', the patch randomly freezing when copying files, and complains of missing the *.msi file.

It looks like patch sequencing might be a solution, but I never seem to have enough time to plow through the Windows Installer Documentation on msdn.com to figure out if it is a solution, and my attempts to blindly create a patch project with patch sequencing in AI have led to nothing.

I've looked through past forum posts, but have been unsuccesful in finding a good response. A response, a link to an old forum post, or an external link that answer these questions would be most appreciated.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Best Methods For Creating Updates?

Hi,

Please note that patches are recommended only for small updates (a couple of files or registry entries). Also, their are usually created for minor updates (for example, from version 2.3.0 to 2.3.1). If you need to distribute a more complex update you can use the automated upgrade feature. This way you can distribute a full upgrade which can update any older version (this is what we use for Advanced Installer).

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tobiasoleary
Posts: 2
Joined: Mon Oct 27, 2008 3:00 am

Re: Best Methods For Creating Updates?

Well thanks for the help. I remember reading somewhere that you could only distribute minor patches with the AI's Auto Updater program, after looking at the documentation I see I was clearly wrong.

Return to “Common Problems”