Archive: How to use extract_RunDLL?


How to use extract_RunDLL?
I couldn't find any documents for extract_RunDLL. Could anyone remind me where to find documents for extract_RunDLL or simply tell me how to use it? Thanks a lot.


It's in the source code:

// This function is to be used by rundll32.exe. Call it like this:
//
// rundll32.exe "c:\a path\nsisunz.dll",extract_RunDLL c:\path\zipfile.zip c:\outdir
//
// or to extract a single file, use this (concatenate the next two lines):
//
// rundll32.exe c:\path\nsisunz.dll,extract_RunDLL
// /file readme.txt "c:\a path\zipfile.zip" c:\outdir
//
// "/noextractpath" is implicitly used if "/file" is used.
// It mimics NSIS itself by setting up a stack and pushing the
// parameters from the function on the stack. I made it like this
// so I could directly reuse the code I already had written without modifications.