PDA

View Full Version : Version manifest test



NewsArchive
05-17-2006, 01:28 AM
Hi Freidrich

Could you shed a little more light on the following taken from Help:

To check if an update is available, the wupdate.exe client program
downloads the server manifest file and compares the version number specified
in the manifest with the version number of the installed application. If the
server manifest file version is newer, the application knows its time to
perform an update. The server manifest file will be created at the same
location where wupdate.exe resides.

How is the version checked? Is it a string comparison? What do you mean by
"If the server manifest file version is newer"? e.go if I change my version
from "3.8.3 Build 16 Beta" to "3.8.4" or "3.8.3 Build 20 Beta", will this be
seen as "newer" (my version is stored in an ini and passed to the app at
setup time and displayed on the app frame)? i.e. is it merely a change in
the string that triggers the update, or is it some kind of numeric check?

Help on the Version Comparison says: "This function supports version strings
of the form aaaa.bbbb.cccc.dddd". Could you clarify this statement please.
Are alpha characters allowed in the 'string'?

Many thanks for a great product!

Mike Loney
Perth Australia

NewsArchive
05-17-2006, 02:36 AM
Hi Mike,

Thank you for your kind words.

Documentation is not precise on this. The version should be in the format
AAAA.BBBB.CCCC.DDDD, where AAAA is the major version, BBBB is the minor
version, CCCC is the build version, and DDDD is an optional release number.
Alpha characters are not allowed.

So please use 3.8.3.16 (instead of 3.8.3. Build 16 Beta).

Does this help?

Friedrich

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

"point. click. ship" - that's SetupBuilder 5

NewsArchive
05-18-2006, 12:15 AM
Thanks for clearing that up for me.

Kind regards

Mike Loney

NewsArchive
05-22-2006, 03:29 AM
Hi Mike.

Also take a look at HKEY_LOCAL_MACHINE\SOFTWARE\Lindersoft\WebUpdate\A pps,
that will give you a pretty good idea as to what's going on behind the
scenes..

Best Regards,

Gary.

Gary James
Strategy, South Africa
www.StrategyOnline.co.za

NewsArchive
05-22-2006, 03:30 AM
Thanks Gary

"Ngiyabonga"

Mike

NewsArchive
05-29-2006, 12:14 AM
Hi Mike.

No worries... :)

"Sala Kakuhle"...

Gary.

Gary James
Strategy, South Africa
www.StrategyOnline.co.za