- NSIS Discussion
- Makensis console / unzip dll
Archive: Makensis console / unzip dll
{_trueparuex^}
13th December 2005 20:26 UTC
Makensis console / unzip plugin
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^}
13th December 2005 23:33 UTC
I forgot to add zlib sources in that package, and now that damn thing don't fit in attachment size limit. :tinfoil:
{_trueparuex^}
13th December 2005 23:35 UTC
:tinfoil: Sorry! Heres the zlib sources.
{_trueparuex^}
15th December 2005 18:55 UTC
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.
kichik
15th December 2005 19:00 UTC
You can compile using the free version of VC. The documentation contains some links.
{_trueparuex^}
19th January 2006 14:55 UTC
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^}
19th January 2006 14:57 UTC
And here's the attachment :D
deguix
19th January 2006 15:23 UTC
Could you post those plug-ins to the wiki? Things posted only in the forums get lost easily.
{_trueparuex^}
20th January 2006 09:54 UTC
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
20th January 2006 12:15 UTC
The VC Toolkit doesn't really need .NET. It installs it, but you can uninstall it and VC will keep on working.
{_trueparuex^}
21st January 2006 14:39 UTC
Hey thanks for the note. :)