how do I do a "regular" update? - 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!

corif
Posts: 3
Joined: Mon Jul 27, 2009 10:55 pm

how do I do a "regular" update?

I have a software app that is just powerpoint presentions and html files that copy into a directory. We've been installing via a batch file for several years. I decided on this update I'd convert it to Advanced Installer. The full install is done. However, I included auto update so I could update the full install in the future, when I did this it was downloading the full 154MB msi file. So I figured out I needed to patch and upgrade to Enterprise, which I did. The patch is comparing an installed msi with a new msi. What I want to do is create an update or patch file that will copy in ONLY THE CHANGED FILES, not compare to an existing msi file. We have a lot of installs already out there from the batch file install, so they don’t have an msi file as they've never been installed with Advanced Installer before. All I want to do is give them the update.exe file the update.txt file for their update and let them auto download the few files that have changed that will get them current to this new full advanced installer version. I don't want to compare one msi to another msi, I just want to push the update at them to get them current with this new version so I can continue forward and auto update them with a patch along with the new full installs. How do I do this? I'm going around and around in circles trying to figure it out.

-Cori
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: how do I do a "regular" update?

Hello,

A patch will always need a source msi and a target msi, so it can check the differences and generate only an installation of the files that have changed.
Since you lack a target msi, you currently have no way of creating a patch. Alas, what you can do is create a major upgrade. This initial msi will serve as the target for your future patches.

What this msi must do during install is search for the directory that was created with the .bat file you mentioned, and replace its contents.
Only after having an already installed msi on the target machine can you release your future updates through patches, which are considerably smaller in size.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”