Skip to content
⌘ NSIS Forum Archive

Makensis console / unzip dll

11 posts

{_trueparuex^}#edited

Makensis console / unzip dll

I made very custom plugin for my Self-Extractor wizard thingy, what somebody may find useful. It uses makensis.exe to compile NSIS files and also can unpack zip files. Since I doubt that nobody actually needs this kind of plugin, I separated the functions to two different plugins.

The plugins are made out of NSIS zip2exe tool. I don't know if there is some license issues in this, but let me know if there is.

The zip plugin shows a small progress "banner" and the NSIS console plugin shows a console window with makensis output. Check the readme for all the features and more info.

Also I would appreciate if someone could recompile the dlls, because Borland C/C++ compiler produce relatively very large files (see the readme). And if somebody knows a way how I can help my self in this issue, please tell me! 😉
{_trueparuex^}#
I forgot to add zlib sources in that package, and now that damn thing don't fit in attachment size limit. 🤨
{_trueparuex^}#
🤨 Sorry! Heres the zlib sources.
{_trueparuex^}#
OK heres the dlls again, recompiled with MinGWStudio (much smaller size).
Screenshot


Features unzip plugin:
- shows small "banner" with progress bar, percent text or "file count" text (you have to recompile the dll to change this. Look in the resource.h)
- cancel unzip (right click menu)
- left click the dialog to drag it a round

Ussage: Nzipdll::nzip [ZIP_FILE] [UOTPUT_DIR]


Features NSIS console plugin:
- shows a console window with makensis output
- left click dialog to drag it a round

Ussage: Nmwdll::nmwMakensis [MAKENSIS_EXE_PATH] [NSI_FILE]

You still need the zlib from post above if you want to recompile.
{_trueparuex^}#
Update!

Probably last update for these plugins.

New things:
- (fix) Unzip plugin now always creates the out dir.
- New flag to change unzip plugin banner (recompiling not needed anymore)
- Better error handling
- precompiled "wizard" plugin added to the package
- decent examples added to the package 🙂

Screenshot


Again if you want to compile the sources, you need the zlib package from post above or use the one which comes with NSIS zip2exe source.
{_trueparuex^}#
And here's the attachment 😁
deguix#
Could you post those plug-ins to the wiki? Things posted only in the forums get lost easily.
{_trueparuex^}#
Ok, I'll do that. I guess, any contribution to wiki is valuable. :/

Kichik thanks, but no thanks. VC++ would be the ultimate solution, but it needs .NET Framework even for install and I try to keep .NET Framework out of my machine long as possible. (not the greatest fan of .NET)
kichik#
The VC Toolkit doesn't really need .NET. It installs it, but you can uninstall it and VC will keep on working.