cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Platini
Level 3

Checking if a files was modified

There is a file on the hard drive. Let the file name ex.txt.

So how can I check from install script if the C:\ex.txt file was changed or not?
Labels (1)
0 Kudos
(3) Replies
Anonymous
Not applicable

On which hard drive? The source computer or destination computer.

And when do you want to see if it was changed? Before, during, or after the installation? Or before building the installation?
0 Kudos
Platini
Level 3

The file is on the target computer. And I want to see (before file movement) if that specific file was changed or not.

That file is a simple file . It is not related with my installer package.
0 Kudos
MrTree
Level 6

You can get the MD5 signature of the original file and check with

GetFileInfo ( szPathName, FILE_MD5_SIGNATURE, nvResult, svResult ); 


if the file has changed.
0 Kudos