Need help - Patch builds are HUGE

Got a problem you cannot solve? Try here.
diablosport
Posts: 10
Joined: Wed Jul 29, 2015 2:06 pm

Re: Need help - Patch builds are HUGE

Postby diablosport » Tue Oct 04, 2016 3:30 pm

Sorry, I thought you were just talking about by following your instructions. I downloaded Patch.rar. I was able to successfully build them. The patch that got generated was larger than the original installer, but it did build. The original installer was pretty small to begin with though.
I see in your patch project it's completely separate paths to the executables. Is that required? Do I need to go and modify my patch project to remove all of the files that are not being changed from the project and put the modified files in a separate path?

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Need help - Patch builds are HUGE

Postby FrancescoT » Wed Oct 05, 2016 1:56 pm

Dear Diablosport,

the patch that gets generated by the sample, it's smaller than the original base project used as reference.
The original setup exe is about 3,05 MB (3.201.482 byte) while the patch is about 2,40 MB (2.523.049 byte).

The sample uses separate source paths to clearly illustrate which are the effective files involved with each project.
You should use a similar approach in order to easily manage in the your setup projects, the different files and their respective versions.

The base project sample installs the following files;

Install Files ..\appfiles\1.0.0.0\TestApp.exe to $TARGETDIR$
Install Files ..\appfiles\1.0.0.0\dummy.dll to $TARGETDIR$
Install Files ..\appfiles\1.0.0.0\the file.pdf to $TARGETDIR$


while the patch project sample;

Install Files ..\appfiles\1.0.0.0\TestApp.exe to $TARGETDIR$
Install Files ..\appfiles\1.0.1.0\dummy.dll to $TARGETDIR$
Install Files ..\appfiles\1.0.1.0\the file.pdf to $TARGETDIR$


Then when the patch gets created, this will just include the binary delta difference of the updated files. In this case "..\appfiles\1.0.1.0\dummy.dll" and "..\appfiles\1.0.1.0\the file.pdf". While the file "..\appfiles\1.0.0.0\TestApp.exe" will be skipped by the patch generation, because it's identical in both projects.

Hope this helps you.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: Google Adsense [Bot] and 195 guests