PDA

View Full Version : creating min patch



Ernest Mikita
07-21-2006, 07:47 AM
Is it possible to create a patch which contains only changed parts of files to mimimize size?

DebbieL
07-21-2006, 08:06 AM
Yes, it is possible to create patches. In some scenarios, patches aren't the best solution. The "Updating Applications" section of the help discusses patches. Here are links to a couple of the help topics in that section:

Patching (http://helpnet.macrovision.com/Robo/BIN/Robo.dll?tpc=/robo/projects/installshield12helplib/PatchesView.htm) (for Basic MSI and InstallScript MSI installations)
Differential Releases (http://helpnet.macrovision.com/Robo/BIN/Robo.dll?tpc=/robo/projects/installshield12helplib/DifferentialRelease.htm) (for InstallScript installations)


I hope that helps.

Debbie Landers
Macrovision Corporation

Ernest Mikita
07-21-2006, 11:30 AM
I already read the help topics, my question was about a creation of min differential release (DF) - is it possible to create DF which includes ONLY changed parts of changed files: I changed 500 MB file, but only 10% of the file content was changed - I would like to create a 50 MB patch instead of 500MB. Is it possible?

RobertDickau
07-21-2006, 02:03 PM
For InstallScript projects, I gather the files in the differential build release will be the entire changed files.

Ernest Mikita
07-24-2006, 05:06 AM
Is it possible to take control over process of creating CAB files to achieve what I wrote above?

DebbieL
07-24-2006, 10:50 AM
Sorry, Ernest. I misunderstood your original post.

I'm not sure about the CAB file solution, but there are third-party tools that can produce a diff of a file, and the diff can be applied using a tool that the vendors provide. You may want to consider using something like that. You would handle this in your script by including the diff file and calling their tool to install the file.

I hope that helps.

Debbie Landers
Macrovision Corporation