PDA

View Full Version : Update Project and detect changes from original Project



NewsArchive
11-14-2009, 02:48 AM
Hallo,


I want to make a new update of my program. I have the original project and I
make an update project based on my original project. Now it create a blank
one with the same GUID .

Is there a way now in SB7 when you create or make a new version in the
update project SB to DETECT automatically what files have been changed and
to add this files in the project ? (based on CRC or file version)

And always the original project source to be changed with the latest
version. Next time if you increase the version no. in update project SB will
check on the latest original project and add to the update project all
changed files.

Don't know if this is already in SB7 if not just a suggestion. This is just
for changes not for new files.

Now I need to go and compare every file to see if any file version has been
changed from the last update ...... and added to update project.


Or there is a way now in SB7 to accomplish this more easy then to manually
check the file version?


Thank you,

Regards,
Robert Iliuta

NewsArchive
11-14-2009, 02:48 AM
Robert,

> Is there a way now in SB7 when you create or make a new version in the
> update project SB to DETECT automatically what files have been changed
> and to add this files in the project ? (based on CRC or file version)

We are using the "Perform Auto Update Scan" Wizard to handle this when we
make a new SetupBuilder build available.

And you can use the "Compare Folders" feature to compare an "old" and a
"new" folder tree to find out what changed.

Hope this helps.

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder is Windows installation -- "point. click. ship"

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
11-21-2009, 02:26 AM
Hallo Friedrich,


I keep a copy of my program in a folder but with source files. Not only with
files added to installer....and "Perform Auto Update Scan" did not help me.
I need to keep a separate folder with files for installation to have
"Perform Auto Update Scan" work ok...

If SB can scan the last project and let you know what files need to be
added it will be great. This way you don't need to keep a separate folder
with files for installation.

Thank you ,
Robert

NewsArchive
11-21-2009, 02:27 AM
Hello Robert,

> I keep a copy of my program in a folder but with source files. Not only
> with files added to installer....and "Perform Auto Update Scan" did not
> help me. I need to keep a separate folder with files for installation to
> have "Perform Auto Update Scan" work ok...
>
> If SB can scan the last project and let you know what files need to be
> added it will be great. This way you don't need to keep a separate folder
> with files for installation.

This is (and will not be) possible because you never know what happens with
the "original" files after you compiled the project. Compiling a project is
a completely dynamic process and quite a few developers build their projects
directly from their development folders. So "scanning" the last project can
really result in a support nightmare in this scenario.

What we do is, we have complete folder trees of all ever shipped versions of
our software products. When we create a new SetupBuilder build, we use
"Auto Update Scan" to create all kinds of updates in 2-3 seconds! Not a
single problem in more than six years now.

If you can't use Auto Scan, what you can do is to use the compiler .htm
files and write some kind of "parser" to extract the required file
information (e.g. version, date, etc.). Then you can compare it with the
new files and you know what has to be added.

Friedrich

NewsArchive
11-21-2009, 02:27 AM
Hallo Friedrich,

Noted. I believe as you described bellow your method is more simple then my
method.... I will try this way.

Thank you very much for your help on this.

Regards,
Robert