Archive: MD5 plugin 0.3


MD5 plugin 0.3
today i downloaded the new version of the archive and recompiled my old scripts.

Invalid command: md5dll::GetFileMD5

according to the archive page, the syntax hasn't changed and it works when i downgrade to 0.2


It's GetMD5File:

-Changed names: "GetFileMD5" -> "GetMD5File", "GetMD5" -> "GetMD5String"

The example was updated here:
http://nsis.sourceforge.net/wiki/ind...tle=MD5_plugin

The author put a warning that that example shown on the Archive page was for the original plugin version. The example inside the .zip archive for the new version 1.3 is the updated one.


I was unable to use the new MD5 plugin because of that function name change. GetFileMD5 is used in hundreds of my scripts so I'm not going through them all to replace them!

-Stu


Afrow UK, have you ever heard of a little thing called "Search and Replace"? It's quite handy.


Originally posted by Afrow UK
GetFileMD5 is used in hundreds of my scripts so I'm not going through them all to replace them!

GetFileMD5 is used in hundreds of my scripts so I'm not going through them all to replace them!
There are lots of utilities which simplify this kind of task. I use Windows Grep when I need to change a string in lots of files http://www.wingrep.com/features.html

I uploaded a new version, it includes dual exports, so while the use of the newer function names is preferred, the old ones will still work.


the examples on the old archive page still used the old syntax, which lead to my confusion. hopefully the wiki page uses the new syntax already.


sorry about that, when I saw the 0.3 plugin and added to the old archive page I forgot to update the example, but with this release both the old and newer examples will work. :-)
Yes the wiki uses the new syntax.


That means, version 0.4 was released:

-Added dual name to exports for backwards compatibility

off topic (somewhat related), how do you attach files to the wiki?


Login, then click "Upload file" on the left side of the page, where you see the "toolbox". I already uploaded the file for you and added the Versions History to the page, so nobody can be confused.