PDA

View Full Version : Differential Setup(s)


tkroeckel
08-15-2006, 04:47 AM
Hi,

I have a question concerning the basic concepts of SUF 7:

Is it possible to create a (new) 'differential' setup from an already existing setup automacticly?
Example: The basic setup (with all files) is created at realease time of a product. During life-time of the product, several components change due to enhancements, bug-fixes, ...
Is it possible to take the basic setup and create from the original file-list a new setup with only the changed files?

Regards
Thomas

pww
08-15-2006, 08:58 AM
You may create a new project and add a folder reference to it.

Say your most recent files are in C:\Last
, the files added to the base project are in C:\Base
, and the referenced folder is C:\Diff

It's easy to make a script in VBScript , wsh etc. that will do something like

delete *.* from Diff
for each file in Last
if (same file does not exist in Base) OR (exists but is older) then
copy file Last -> Diff
end if
next

You may set the script to run automatically before generating a setup.exe (see Build Settings), so each time you build the project, setup will contain the updated files.

Ted Sullivan
08-15-2006, 09:11 AM
You might want to consider using Visual Patch (http://www.indigorose.com/vp/index.php) for that job. That's exactly what it is made for. It looks at the differences between versions and only packages up the bytes that have changed. It's extremely fast and efficient and creates secure binary patches.