Advice on Patch vs Upgrade - 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!

GSchaller
Posts: 30
Joined: Tue Aug 28, 2007 2:07 am

Advice on Patch vs Upgrade

I am unsure which method to use. Here is my scenario:

1. I have a main install which is complex and is about 150MB including suppport files, databases and related installers. I distribute this on disk but it can be downloaded.

2. I set up an update project based on version number and that works fine but the update (via the web) is slow because of the 150MB download.

3. My new versions usually only involve a few dll's and the help manual, totalling only 3MB or so. It involves a version number change to trigger things internally (like running upgrade scripts etc).

4. If I create a new install for the upgrade over the same folder from the main install/update with just the 4 files that have changed, the update deletes all other files in that folder and I can't seem to make them leave them alone. I have folder sync off.

So what is the best way to distribut the new version where only the 4 files or so are affected? Is this a patch? I am a little confused by this process but willing to try it if that is what I should be doing. Or, can I make the upgrade leave all other files alone?

Thanks for any advice.
Geoff Schaller
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

For upgrading an installation you have two possibilities:
1) you use a patch
2) you use the automated upgrade feature (this is what you are currently using)

1) A patch project is basically the difference between two MSI packages (which makes it very small) and you can use it to update an installation. You can read more about patches here:
http://www.advancedinstaller.com/user-g ... oject.html
http://www.advancedinstaller.com/user-g ... tches.html
http://www.advancedinstaller.com/user-g ... patch.html

2) The automated upgrade feature works like this:
- you install a MSI on the target machine
- you open the AIP file you used to build it
- you increase it's version and update some of it's files
- you answer "Yes" when prompted about changing the Product Code
- when running the updated MSI on the target machine the old installation will be removed and the updated package will be installed

For your situation I recommend that you use a patch because it has a small size and it updates the necessary files.

Regards,
Cosmin
Last edited by Cosmin on Thu Mar 27, 2008 6:21 pm, edited 2 times in total.
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
GSchaller
Posts: 30
Joined: Tue Aug 28, 2007 2:07 am

Thanks for the info.

Return to “Common Problems”