Old 10th August 2003, 23:15   #41
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Now, thinking about it, will it be able to work like this:

Installer is ran, and sys tray icon is made (installer is also shown, and task bar item)
User clicks on sys tray icon to show installer ui and show the task bar item.
Sys tray icon stays until installer is closed.
On installer minimization, task bar item dissappears (along with installer ui) Sys tray icon stays.

Thanks for everything!

-Stu
Afrow UK is offline   Reply With Quote
Old 11th August 2003, 08:24   #42
brainsucker
Senior Member
 
brainsucker's Avatar
 
Join Date: Sep 2002
Location: Minsk, Belarus
Posts: 190
Send a message via ICQ to brainsucker
Is it the question? Yes, it will be able. That is the most natural behaviour, I think.
brainsucker is offline   Reply With Quote
Old 19th August 2003, 20:26   #43
tarwal2
Junior Member
 
Join Date: Aug 2003
Posts: 3
Did this plugin ever get made? Sounds pretty useful for my purposes. I basically have two installs (one that downloads the second) and it would be nice to have a tray icon that shows progress (and options) for while the second setup is downloading.
tarwal2 is offline   Reply With Quote
Old 20th August 2003, 13:29   #44
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Brainsucker is still working on it (I assume)

I went and released my program (installer) b1 without the Task Bar functionality.
When the plugin is finished, I can simply upload the new version of my program (using the plugin), and when everyone runs my program it will download the update for them.

-Stu
Afrow UK is offline   Reply With Quote
Old 23rd August 2003, 11:14   #45
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Talking

Is this still being worked on?

-Stu
Afrow UK is offline   Reply With Quote
Old 23rd August 2003, 22:25   #46
brainsucker
Senior Member
 
brainsucker's Avatar
 
Join Date: Sep 2002
Location: Minsk, Belarus
Posts: 190
Send a message via ICQ to brainsucker
Afrow Hope you'll forgive me that delay... I've got so many immediate work... If I'll finish it (work) tomorrow (today) (in basic), I'll try to bring plugin online this evening (there is nothing to do with it actually, in simpliest form (hide on minimize) at last). I'm really sorry...
brainsucker is offline   Reply With Quote
Old 23rd August 2003, 22:37   #47
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
No theres honestly no rush.
I was just hoping that it hadn't been forgotten!

Thanks for showing that it's still there!

-Stu
Afrow UK is offline   Reply With Quote
Old 31st August 2003, 17:28   #48
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Anyone home!

Just posting to keep this topic... Alive.

-Stu
Afrow UK is offline   Reply With Quote
Old 3rd September 2003, 22:56   #49
brainsucker
Senior Member
 
brainsucker's Avatar
 
Join Date: Sep 2002
Location: Minsk, Belarus
Posts: 190
Send a message via ICQ to brainsucker
So... finally... My conscience won the fight with me
Sorry again for such a long delay...
Hope it will satisfy all your needs.
Attached Files
File Type: zip notifyicon1.zip (9.3 KB, 338 views)
brainsucker is offline   Reply With Quote
Old 4th September 2003, 16:10   #50
DougCox
Junior Member
 
Join Date: Sep 2003
Posts: 1
brainsucker:
Your Notify Icon Plugin looks awesome!
DougCox is offline   Reply With Quote
Old 5th September 2003, 12:11   #51
n0On3
Senior Member
 
n0On3's Avatar
 
Join Date: Jan 2001
Location: Barcelona
Posts: 314
Send a message via ICQ to n0On3
why is the traybar called 'taskbar notification area'? Regular taskbar also notifies that some program is running.

Show me the light!
n0On3 is offline   Reply With Quote
Old 5th September 2003, 16:43   #52
brainsucker
Senior Member
 
brainsucker's Avatar
 
Join Date: Sep 2002
Location: Minsk, Belarus
Posts: 190
Send a message via ICQ to brainsucker
Who knows... You probably should sue Microsoft
brainsucker is offline   Reply With Quote
Old 5th September 2003, 18:16   #53
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Great work, and thanks.
Right now however, when calling NotifyIcon::Icon r, my installer crashes.

-Stu
Afrow UK is offline   Reply With Quote
Old 5th September 2003, 18:39   #54
brainsucker
Senior Member
 
brainsucker's Avatar
 
Join Date: Sep 2002
Location: Minsk, Belarus
Posts: 190
Send a message via ICQ to brainsucker
Which system you are using? works fine for me under winxp. will check under 98.
brainsucker is offline   Reply With Quote
Old 5th September 2003, 18:42   #55
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
I am also on Windows XP-Pro.
See attached script.

I'm using the remove call in .onInstSuccess .onUserAbort and my custom Abort function.

-Stu
Attached Files
File Type: nsi ddayupdater.nsi (41.4 KB, 443 views)
Afrow UK is offline   Reply With Quote
Old 5th September 2003, 18:45   #56
brainsucker
Senior Member
 
brainsucker's Avatar
 
Join Date: Sep 2002
Location: Minsk, Belarus
Posts: 190
Send a message via ICQ to brainsucker
What about demo script?
brainsucker is offline   Reply With Quote
Old 5th September 2003, 19:08   #57
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Never unload UI plug-ins from .onUserAbort and .onInstSuccess, use .onGUIEnd.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 5th September 2003, 19:08   #58
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Testing script

\/
Attached Files
File Type: nsi testing2.nsi (486 Bytes, 315 views)
Afrow UK is offline   Reply With Quote
Old 5th September 2003, 19:10   #59
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Ah thanks Kichik, I shall try that.

-Stu
Afrow UK is offline   Reply With Quote
Old 5th September 2003, 19:12   #60
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Well, after using it in .onGUIEnd, the icon isn't removed at all.

Updated testing attachment

-Stu
Attached Files
File Type: nsi testing2.nsi (423 Bytes, 386 views)
Afrow UK is offline   Reply With Quote
Old 5th September 2003, 19:20   #61
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
It's probably because the window is already destroyed. The plug-in should check to see if the window is destroyed and self-desrtuct if that's the case. For now remove it in the last section.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 5th September 2003, 19:21   #62
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
What about when the user clicks cancel; use it in the custom page function if IO pops cancel?

-Stu
Afrow UK is offline   Reply With Quote
Old 5th September 2003, 19:22   #63
brainsucker
Senior Member
 
brainsucker's Avatar
 
Join Date: Sep 2002
Location: Minsk, Belarus
Posts: 190
Send a message via ICQ to brainsucker
Huh, I will discuss with Kichik what to do... Problem found.
brainsucker is offline   Reply With Quote
Old 5th September 2003, 19:23   #64
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
There is also a problem that the installer doesn't close automatically, so the tray icon will get distroyed before the install has properly finished.

-Stu
Afrow UK is offline   Reply With Quote
Old 5th September 2003, 19:25   #65
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Well, the good news is that it doesn't crash when called inside the custom page after the user clicks cancel.
Now, I'll wait for the self-distruct sequence

-Stu
Afrow UK is offline   Reply With Quote
Old 5th September 2003, 19:54   #66
brainsucker
Senior Member
 
brainsucker's Avatar
 
Join Date: Sep 2002
Location: Minsk, Belarus
Posts: 190
Send a message via ICQ to brainsucker
Afrow, could you please test BrowseForFolder and BrowseForFolderNew rountines separately (be sure to update the system and exehead to latest cvs versioun).

p.s. updated NotifyIcon.
Attached Files
File Type: zip notifyicon2.zip (9.5 KB, 307 views)
brainsucker is offline   Reply With Quote
Old 5th September 2003, 20:08   #67
brainsucker
Senior Member
 
brainsucker's Avatar
 
Join Date: Sep 2002
Location: Minsk, Belarus
Posts: 190
Send a message via ICQ to brainsucker
Afrow UK: a small tip: you could skip constant parameters, for example if you use the same icon every time you could skip "i" "103". The same goes for tip at your dday.

Also, IMHO: poping up a info balloon message for every file you are downloading could be a little disturbing for user, may be you should move that info to tip, and popup only on "completed" or "failed" messages?
brainsucker is offline   Reply With Quote
Old 5th September 2003, 20:14   #68
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Thanks for the tips.
They are good ideas!

-Stu
Afrow UK is offline   Reply With Quote
Old 5th September 2003, 20:25   #69
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Well, it seems that the problem is fixed.
I am now calling the plugin to remove the notifyicon from .onGUIEnd only, and it works fine, without a crash.

Many D-Dayers are looking forward to the new installer.
Thanks for writing this excellent plugin!

-Stu
Afrow UK is offline   Reply With Quote
Old 5th September 2003, 20:26   #70
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Mind writing an archive page for it Afrow? I'll upload the zip to the archive.

[edit] uploaded to http://nsis.sourceforge.net/archive/...NotifyIcon.zip [/edit]

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 5th September 2003, 20:40   #71
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
http://nsis.sourceforge.net/archive/...02&instances=0

-Stu
Afrow UK is offline   Reply With Quote
Old 17th September 2003, 03:16   #72
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,363
it appears, that the systray icon does not get displayed properly.

my icon file consists of various sizes (including 16x16 pixels). the script uses the icon from the executable (103). the icon in the systray looks like a badly downsampled version of a larger icon. why doesn't it simply display the included 16x16 icon?
Yathosho is offline   Reply With Quote
Old 17th September 2003, 04:02   #73
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,363
having opened the .exe in a resource editor, i figured 103 is the id of the icon. now is there a way to further specify the icon size to use for the systray?
Yathosho is offline   Reply With Quote
Old 17th September 2003, 08:49   #74
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Quote:
Originally posted by n0On3
why is the traybar called 'taskbar notification area'? Regular taskbar also notifies that some program is running.

Show me the light!
Find out here.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 17th September 2003, 13:13   #75
n0On3
Senior Member
 
n0On3's Avatar
 
Join Date: Jan 2001
Location: Barcelona
Posts: 314
Send a message via ICQ to n0On3
mmm.... those reasons didn't convince me.

I suspect this is another lost war.

He can join Richard Stallman who fights to make people call open-source "free software" and Linux "GNU/Linux".

Thanks for the link, interesting read.
n0On3 is offline   Reply With Quote
Old 17th September 2003, 13:26   #76
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
That's one of Windows 95 developers, you won't find a better answer

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 17th September 2003, 22:48   #77
brainsucker
Senior Member
 
brainsucker's Avatar
 
Join Date: Sep 2002
Location: Minsk, Belarus
Posts: 190
Send a message via ICQ to brainsucker
killahbite: 103 is the number of icon group. and i know no particular way to specify which icon from group to use (the approriate icon should be selected by windows).
brainsucker is offline   Reply With Quote
Old 18th September 2003, 01:04   #78
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,363
the current version downsizes the 32x32 icon to 16x16. it should load the default 16x16 icon instead!
Yathosho is offline   Reply With Quote
Old 18th September 2003, 20:54   #79
brainsucker
Senior Member
 
brainsucker's Avatar
 
Join Date: Sep 2002
Location: Minsk, Belarus
Posts: 190
Send a message via ICQ to brainsucker
killahbite sorry, i couldn't help you. Create additional icon group from one 16x16 icon (it shouldn't take much space) and use it as NotifyIcon icon.
brainsucker is offline   Reply With Quote
Old 19th September 2003, 12:05   #80
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Specifying 16x16 in the desired size should do it. According to Wine source code, LoadImage searches for the best match.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump