Hash Value

Topics: Updater Application Block
Jan 22, 2005 at 7:29 AM
originally posted by: MHildebrand

Would anyone know what the hash actually does when specified with a 'file souce' as in below (in the Manifest file)?:

<files hashComparison="True" base="">
<file source="DelayedResume.exe"
hash="ht/0h2XPKfcGoC7kpoCXoUhgdtJ4PGcYNlFixdfy9kegnOAw" transient="True" />

Without changing the file, I have manually modified the hash value in all kinds of ways, and the UAB downloads it fine without complaint.

Is there something else I need to turn on?

Jan 23, 2005 at 1:33 AM
originally posted by: figuerres2

did you try it with
set to false ?

I think the idea is that a NOT transient file is part of the app to update.

so you then check to see if the current app has the named file
if yes then get the hash of the current file and see if the "new" file has a different hash.
if not equal then download and update.

thats what I thought is supposed to happen.

and transient=true would mean to me if I were the designer that it's a "Temp" file so to speak.