![]() |
#1 |
Registered User
Join Date: Oct 2008
Posts: 18
|
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 |
![]() |
![]() |
![]() |
#2 |
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
This is done via ITaskbarList3::SetProgressValue. One would need to modify NSIS or call this using the System plug-in.
Stu |
![]() |
![]() |
![]() |
#3 |
Major Dude
Join Date: Oct 2006
Posts: 1,892
|
|
![]() |
![]() |
![]() |
#4 |
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Ah sweet!
![]() Stu |
![]() |
![]() |
![]() |
#5 | |
Registered User
Join Date: Oct 2008
Posts: 18
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#6 |
Major Dude
Join Date: Jun 2001
Posts: 1,173
|
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. |
![]() |
![]() |
![]() |
#7 |
Forum King
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
|
this plugin does nothing for me, at least not with MUI
|
![]() |
![]() |
![]() |
#8 |
Major Dude
Join Date: Jun 2001
Posts: 1,173
|
|
![]() |
![]() |
![]() |
#9 |
Forum King
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
|
win7 - yes
skin - no the example works perfectly |
![]() |
![]() |
![]() |
#10 |
Major Dude
Join Date: Jun 2001
Posts: 1,173
|
No idea, then... works fine here with MUI2 as well. From the plugin's example code, I merely changed...
code: |
![]() |
![]() |
![]() |
#11 |
Forum King
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
|
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!
|
![]() |
![]() |
![]() |
#12 |
Major Dude
Join Date: Jun 2001
Posts: 1,173
|
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.
|
![]() |
![]() |
![]() |
#13 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,457
|
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?)
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#14 | |
Forum King
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
|
Quote:
and it works with MUI_PAGE_CUSTOMFUNCTION_SHOW. my bad. |
|
![]() |
![]() |
![]() |
|
Tags |
progress, taskbar, windows 7 |
Thread Tools | Search this Thread |
Display Modes | |
|
|