Old 12th June 2005, 13:19   #1
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
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
Yathosho is offline   Reply With Quote
Old 12th June 2005, 13:32   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
It's GetMD5File:
Quote:
-Changed names: "GetFileMD5" -> "GetMD5File", "GetMD5" -> "GetMD5String"

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 12th June 2005, 16:52   #3
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
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.

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 13th June 2005, 12:45   #4
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
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 is offline   Reply With Quote
Old 13th June 2005, 17:29   #5
UnregisteredUs
Guest
 
Posts: n/a
Afrow UK, have you ever heard of a little thing called "Search and Replace"? It's quite handy.
  Reply With Quote
Old 13th June 2005, 22:28   #6
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Quote:
Originally posted by Afrow UK
GetFileMD5 is used in hundreds of my scripts so I'm not going through them all to replace them!
Afrow UK is offline   Reply With Quote
Old 13th June 2005, 23:13   #7
pengyou
Major Dude
 
Join Date: Mar 2003
Posts: 571
Quote:
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
pengyou is offline   Reply With Quote
Old 3rd July 2005, 16:16   #8
PerditionC
Junior Member
 
Join Date: Jan 2003
Posts: 27
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.
PerditionC is offline   Reply With Quote
Old 3rd July 2005, 16:20   #9
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
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.
Yathosho is offline   Reply With Quote
Old 3rd July 2005, 16:27   #10
PerditionC
Junior Member
 
Join Date: Jan 2003
Posts: 27
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.
PerditionC is offline   Reply With Quote
Old 3rd July 2005, 17:39   #11
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
That means, version 0.4 was released:
Quote:
-Added dual name to exports for backwards compatibility

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 3rd July 2005, 17:53   #12
PerditionC
Junior Member
 
Join Date: Jan 2003
Posts: 27
off topic (somewhat related), how do you attach files to the wiki?
PerditionC is offline   Reply With Quote
Old 3rd July 2005, 18:04   #13
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
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.

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump