PDA

View Full Version : Method of updating



NewsArchive
11-05-2008, 02:49 AM
Has anyone used SetupBuilder to make an updating program that simply looks
for noncurrent files by comparing isntalled and current CRC information?

Patching is a neat idea but impractical as many updates are created.

Sending all files to a client always works but is always a big download.

I'd list like to make a list of CRC numbers for our "current" files, compate
those with the CRC of the isntalled files and simply download and install
the non-current files.

Mike

NewsArchive
11-05-2008, 02:49 AM
Mike,

> Has anyone used SetupBuilder to make an updating program that simply looks
> for noncurrent files by comparing isntalled and current CRC information?
>
> Patching is a neat idea but impractical as many updates are created.
>
> Sending all files to a client always works but is always a big download.
>
> I'd list like to make a list of CRC numbers for our "current" files,
> compate those with the CRC of the isntalled files and simply download and
> install the non-current files.

Yes, SetupBuilder's own (web) update process uses this method. It compares
the CRC32 and only downloads and installs/updates what is required.

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

"point. click. ship" - that's SetupBuilder
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
11-06-2008, 02:37 AM
Great to hear.

Any sample scripts?

I presume you have an automated process that creates a text file on the
server with all of the CRC numbers for your files?

Mike

NewsArchive
11-06-2008, 02:38 AM
Hi Mike,

> Great to hear.
>
> Any sample scripts?
>
> I presume you have an automated process that creates a text file on the
> server with all of the CRC numbers for your files?

No, there is no external text file involved. "File Replacement Option" in
the File Properties dialog is set to "Check File (CRC)" and the SetupBuilder
installer does the dirty work.

The same method is used when our full SetupBuilder install image goes into
"maintenance mode" (see attached screenshot) to update an existing
SetupBuilder 6 installation.

Friedrich

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

"point. click. ship" - that's SetupBuilder
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
11-07-2008, 03:23 AM
Friedrich,

Can you use the CRC creation capability in Clarion:

MODULE('C60RUNX.LIB')
CRC32(*STRING buffer,ULONG buffersize,ULONG
seed),ULONG,RAW,NAME('Cla$crc32')
END


to create the CRC and have that CRC compatible with the SetupBuilder
generated CRC ?

Mike

NewsArchive
11-07-2008, 03:23 AM
Hi Mike,

> Can you use the CRC creation capability in Clarion:
>
> MODULE('C60RUNX.LIB')
> CRC32(*STRING buffer,ULONG buffersize,ULONG
> seed),ULONG,RAW,NAME('Cla$crc32')
> END
>
>
> to create the CRC and have that CRC compatible with the SetupBuilder
> generated CRC ?

Yes, SetupBuilder supports the standard CRC-32 method.

Please note that you also have a CRC-32 function available in the script
with "Get File Info (File CRC-32)".

Friedrich