q0987
21st January 2006 03:44 UTC
How to use MD5dll plugin?
hello:
I ran the MD5Example.nsi in the Md5dll.zip.
compiler gave me the following errors.
StrCpy $0 "C:\Program Files\NSIS\NSIS.CHM" () ()
Invalid command: md5dll::GetMD5File
Error in script "C:\temp\Md5dll\md5dll\MD5Example.nsi" on line 12 -- aborting creation process
what should i do to fix this problem?
thank you
-Daniel
q0987
21st January 2006 03:54 UTC
please ignore
thx
Comperio
21st January 2006 04:08 UTC
Plugins are usually placed in the PLUGINS directory of the NSIS install location (usually C:\programs files\nsis\plugins).
In the case of the MD5 plugin, you would copy the MD5dll.DLL file to your NSIS plugins directory and then compile.
Alternatively, you can add a !addplugindir command in the example NSI file to specify the path to the DLL like this:
!addplugindir 'c:\path_to_the_plugin'.
edit:
I see you must have figured it out just as I posted the reply.
;)