Archive: My plugins source code


My plugins source code
I created a wiki page where you can download my plugins source codes. Since I'm now in Linux (debian) I won't enable to give them support.

So, enjoy them! :)

Wike page: http://nsis.sourceforge.net/Joel_plugin_src

PS: Any chance to upload them in nsis wiki server?


there is a size limit on wiki uploads, you might have to split it into several uploads

by extracting your 7z and extracting all archives inside and doing: "7z a -r -mx=9 joel.7z *" I was able to shave off more than 100kb, down to 260kb for everything, the wiki size limit is 100kb, so you would have to split it in 3 archives


I can upload files over 100kb. Send the repackaged 7z to me and I'll upload it.


For MSIBanner, how do I get a progress bar update to get realtime progress of a silent installer progress?


SetDetailsPrint textonly
DetailPrint "Installing Microsoft .NET 2.0..."
SetDetailsPrint none
;ExecWait `"$INSTDIR\Misc\dotnetfx.exe" /q:a /c:"install.exe /noaspupgrade /q"` $R0
;Banner::show /NOUNLOAD "Installing Microsoft .NET Framework 2.0..."
;nsExec::ExecToStack '"$INSTDIR\Misc\dotnetfx.exe" /q:a /c:"install.exe /noaspupgrade /q"'
;Banner::destroy
;SetRebootFlag true
MSIBanner::Show /NOUNLOAD "Microsoft .NET Framework 2.0"
MSIBanner::Update /NOUNLOAD "Installing .... Please wait"
ExecWait `"$INSTDIR\Misc\dotnetfx.exe" /q:a /c:"install.exe /noaspupgrade /q"` $R0
MSIBanner::Destroy

Originally posted by jweinraub
For MSIBanner, how do I get a progress bar update to get realtime progress of a silent installer progress?
In all probability, you don't. Theoretically everything is possible, but unless you're a software hacker of great skill, you won't be able to grab a progress counter from existing third-party installer software.

would the /qb flag work - i think it does for Framework 3 but I am using 2, and i dont have any virgin pcs available right now - it wont let me uninstall net2 either.

if i can get the native progress bar to popup (msiexec flag??) or other suggestions would be greatly appreciated!


Yes, /qb will give you a progressbar dialogbox


Cool, I see that works, I just formatted a laptop. But question, it was minimized on my setup, how do i give that progress bar dialogue focus so its above my installer so people actually see/notice it?

Thanks again


I'm not sure, it is topmost with my installer.
You can try using SetWindowPos with HWND_TOP(MOST) and/or SWP_SHOWWINDOW