Show installer progress in taskbar (Windows 7)
Hi there.
Is it possible to show installer progress via the taskbar icon in Windows 7?
I have just been installing the latest Paint .NET and noticed that this feature was present?
Thanks
Archive: Show installer progress in taskbar (Windows 7)
Show installer progress in taskbar (Windows 7)
Hi there.
Is it possible to show installer progress via the taskbar icon in Windows 7?
I have just been installing the latest Paint .NET and noticed that this feature was present?
Thanks
This is done via ITaskbarList3::SetProgressValue. One would need to modify NSIS or call this using the System plug-in.
Stu
Ah sweet! :)
Stu
Originally posted by MSGThanks. I will give this a try! :up:
http://nsis.sourceforge.net/TaskbarProgress_plug-in
I've also created a small header for use outside of InstFiles (or other pages with a progressbar) / in conjunction with Anders' plug-in (to change progressbar states, e.g.).
http://nsis.sourceforge.net/Set_Taskbar_button_progress
Note that this does -not- replace Anders' plug-in, as Anders' plugin automatically syncs to a progressbar, which is rather useful within InstFiles, whereas the header obviously does not.
this plugin does nothing for me, at least not with MUI
Originally posted by YathoshoJust to get the obvious out of the way... you -are- running Windows 7, right?
this plugin does nothing for me, at least not with MUI
win7 - yes
skin - no
the example works perfectly
Originally posted by YathoshoNo idea, then... works fine here with MUI2 as well. From the plugin's example code, I merely changed...
the example works perfectly
; added
!include "MUI2.nsh"
; changed
Outfile "Win7TaskbarProgress_mui2.exe"
; further original code here
!insertmacro MUI_LANGUAGE "English"
you don't have to use MUI_PAGE_COMPONENTS_SHOW (or similiar - i'm on a mac right now) anymore? that's probably why it didn't work, will test it when i get home!
You do if you want to mess with the components page - but the example invokes the plugin on initialization of the InstFiles page, so anything regarding to a components page should be moot.
The plugin will only work when a page has a windows progress bar (The component page has no progress bar, so why are we even talking about it?)
Originally posted by Yathoshooops, that was a typo. i'm actually used MUI_PAGE_CUSTOMFUNCTION_PRE
you don't have to use MUI_PAGE_COMPONENTS_SHOW (or similiar - i'm on a mac right now) anymore? that's probably why it didn't work, will test it when i get home!