Archive: Checking the CRC value of a file


Checking the CRC value of a file
I would like to check if an installed file is exactly the same as another one by checking its CRC value, is this possible?

Thanks


It is not possible with basic NSIS commands but you can always create an external DLL to do the job. Have a look at crc32.c, it contains the core of the NSIS CRC mechanism.


Thanks Kichik, unfortunately I wouldn't know where to start. Maybe someone has already written one and can share it?


Try searching for a command line md5sum for Windows. It does the same thing as CRC, so you won't have to write any program.


I will give it a try, thanks.