- NSIS Discussion
- My plugins source code
Archive: My plugins source code
Joel
20th April 2008 04:18 UTC
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?
Anders
20th April 2008 05:47 UTC
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
kichik
20th April 2008 14:52 UTC
I can upload files over 100kb. Send the repackaged 7z to me and I'll upload it.
jweinraub
8th April 2010 16:01 UTC
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
MSG
8th April 2010 17:31 UTC
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.
jweinraub
8th April 2010 17:40 UTC
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!
jpderuiter
9th April 2010 11:10 UTC
Yes, /qb will give you a progressbar dialogbox
jweinraub
9th April 2010 16:00 UTC
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
jpderuiter
12th April 2010 08:53 UTC
I'm not sure, it is topmost with my installer.
You can try using SetWindowPos with HWND_TOP(MOST) and/or SWP_SHOWWINDOW