CRCCheck plug-in: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
m (Updated author and download links, and changed format of some pages.) |
m (Updated author links.) |
||
Line 1: | Line 1: | ||
{|align=right | |||
|<small>Author: [[{{ns:2}}:SpiderVenom|SpiderVenom]] ([[{{ns:3}}:SpiderVenom|talk]], [[{{ns:-1}}:Contributions/SpiderVenom|contrib]])</small> | |||
|} | |||
<br style="clear:both;"> | |||
== Links == | == Links == | ||
<attach>CRCCheck.zip</attach><br> | <attach>CRCCheck.zip</attach><br> | ||
Line 16: | Line 20: | ||
Just extract CRCCheck.zip to your NSIS dir (with folder names), and everything will go in the right place. Check \Contrib\CRCCheck\Readme.txt for more info. | Just extract CRCCheck.zip to your NSIS dir (with folder names), and everything will go in the right place. Check \Contrib\CRCCheck\Readme.txt for more info. | ||
Revision as of 23:14, 29 April 2005
Author: SpiderVenom (talk, contrib) |
Links
CRCCheck.zip (13 KB)
CRCCheck.zip (13 KB) (Mirror #1)
Description
A small (3KB) plugin that generates a standard ZIP CRC32 for any file you pass it:
Example
CRCCheck::GenCRC "$SYSDIR\explorer.exe" Pop $R1 MessageBox MB_OK $R1
This gives you a CRC for the windows explorer executable. If a CRC can not be generated, you get "0" in $R1. Specific error reporting will come soon.
Written in VC++ 7, it reuses the CRC code from VPatch, with a few tweaks.
Just extract CRCCheck.zip to your NSIS dir (with folder names), and everything will go in the right place. Check \Contrib\CRCCheck\Readme.txt for more info.