Re: [wpkg-users] Message box for notifying users

2008-06-19 Thread mscdex
I've added links to screenshots of what I have so far in my message class on
the user contributed software wiki page.

On 6/18/08, mscdex [EMAIL PROTECTED] wrote:

 I agree using the wpkg client service would do this, but I am looking to
 have the smallest footprint possible by having everything executed from a
 script on the server. From what I've seen in the wpkg client, I've already
 been able to implement its features that I'd be using for my situation,
 using WSH (things like before and after wpkg processing, running as an
 account with higher privileges to allow software
 installations/upgrades/removals, etc) or small console utilities run from
 the server.

 On 6/18/08, Tomasz Chmielewski [EMAIL PROTECTED] wrote:

 mscdex schrieb:

 Right now the messages would work when wpkg.js is executed, after the
 user logs in. This situation is fine by me because I have certain domain
 groups assigned to at least a certain wpkg base profile (e.g. students,
 teachers, office staff) and so wpkg would need to be executed after logon. I
 have the client machine(s) set to not display the desktop shell until the
 logon scripts have completed and because of that all they see is a wallpaper
 background while wpkg is running (no sense in giving the user the idea wpkg
 is finished when it isn't, especially if an auto-reboot is required). I
 thought during this time if wpkg was performing any tasks, a useful
 message(s) could be shown so that the they do not assume the system has hung
 or has crashed.

 Also, I thought it would be especially nice to have a message displayed
 if an automatic reboot was needed after installing a new
 application/upgrade/removal, something like rebooting in 5 seconds...


 Wouldn't WPKG Client with logon delay enabled solve your problems,
 including rebooting in 5 seconds?

 Note that displaying custom messages is available in testing versions of
 wpkg.js and WPKG Client.


 --
 Tomasz Chmielewski
 http://wpkg.org



-
Reporting bugs, all WPKG mailing lists  http://wpkg.org/Support
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Message box for notifying users

2008-06-19 Thread Tomasz Chmielewski
mscdex schrieb:
 I've added links to screenshots of what I have so far in my message 
 class on the user contributed software wiki page.

Good. The download link doesn't seem to work, though?

I mean, it goes to some page (megaupload.com) which is supposed to host 
InfoMessage-0.1.zip, but the file can't be downloaded, as there is no 
link to the file?


-- 
Tomasz Chmielewski
http://wpkg.org

-
Reporting bugs, all WPKG mailing lists  http://wpkg.org/Support
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Message box for notifying users

2008-06-18 Thread Tomasz Chmielewski
Tomasz Chmielewski schrieb:
 mscdex schrieb:
 
 (...)
 
 So a few days ago or so I set out to code something in jscript that 
 would accomplish just this. My solution makes use of Internet Explorer 
 automation and works for IE5.00 through IE7 (on both Win2k (no/any 
 service packs) and WinXP (tested with SP2)). The code could use some 
 more work and I may clean it up and continue work on it in the following 
 days, but I was mainly concerned about it displaying the same for all 
 mentioned browser versions.

(...)

 You may check something similar - see 
 http://lists.wpkg.org/pipermail/wpkg-users/2008-February/thread.html#2628 
 (wpkg via Group Policies thread).
 
 Do you have any screenshots etc.?
 
 
 It could be also worth to make a separate page in wiki for such 
 user-contributed stuff.

I created a page in the wiki:

http://wpkg.org/User_contributed_software


It is available as a first link on http://wpkg.org/Related_projects


So if you people have any scripts, programs etc. which are useful for 
you - give some info there (or just put some brief info with a link to a 
page with more details, where it is hosted etc.).


-- 
Tomasz Chmielewski

-
Reporting bugs, all WPKG mailing lists  http://wpkg.org/Support
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Message box for notifying users

2008-06-18 Thread Tomasz Chmielewski
mscdex schrieb:
 Right now the messages would work when wpkg.js is executed, after the 
 user logs in. This situation is fine by me because I have certain domain 
 groups assigned to at least a certain wpkg base profile (e.g. students, 
 teachers, office staff) and so wpkg would need to be executed after 
 logon. I have the client machine(s) set to not display the desktop shell 
 until the logon scripts have completed and because of that all they see 
 is a wallpaper background while wpkg is running (no sense in giving the 
 user the idea wpkg is finished when it isn't, especially if an 
 auto-reboot is required). I thought during this time if wpkg was 
 performing any tasks, a useful message(s) could be shown so that the 
 they do not assume the system has hung or has crashed.
 
 Also, I thought it would be especially nice to have a message displayed 
 if an automatic reboot was needed after installing a new 
 application/upgrade/removal, something like rebooting in 5 seconds... 

Wouldn't WPKG Client with logon delay enabled solve your problems, 
including rebooting in 5 seconds?

Note that displaying custom messages is available in testing versions of 
wpkg.js and WPKG Client.


-- 
Tomasz Chmielewski
http://wpkg.org

-
Reporting bugs, all WPKG mailing lists  http://wpkg.org/Support
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Message box for notifying users

2008-06-18 Thread mscdex
I agree using the wpkg client service would do this, but I am looking to
have the smallest footprint possible by having everything executed from a
script on the server. From what I've seen in the wpkg client, I've already
been able to implement its features that I'd be using for my situation,
using WSH (things like before and after wpkg processing, running as an
account with higher privileges to allow software
installations/upgrades/removals, etc) or small console utilities run from
the server.

On 6/18/08, Tomasz Chmielewski [EMAIL PROTECTED] wrote:

 mscdex schrieb:

 Right now the messages would work when wpkg.js is executed, after the user
 logs in. This situation is fine by me because I have certain domain groups
 assigned to at least a certain wpkg base profile (e.g. students, teachers,
 office staff) and so wpkg would need to be executed after logon. I have the
 client machine(s) set to not display the desktop shell until the logon
 scripts have completed and because of that all they see is a wallpaper
 background while wpkg is running (no sense in giving the user the idea wpkg
 is finished when it isn't, especially if an auto-reboot is required). I
 thought during this time if wpkg was performing any tasks, a useful
 message(s) could be shown so that the they do not assume the system has hung
 or has crashed.

 Also, I thought it would be especially nice to have a message displayed if
 an automatic reboot was needed after installing a new
 application/upgrade/removal, something like rebooting in 5 seconds...


 Wouldn't WPKG Client with logon delay enabled solve your problems,
 including rebooting in 5 seconds?

 Note that displaying custom messages is available in testing versions of
 wpkg.js and WPKG Client.


 --
 Tomasz Chmielewski
 http://wpkg.org


-
Reporting bugs, all WPKG mailing lists  http://wpkg.org/Support
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


[wpkg-users] Message box for notifying users

2008-06-17 Thread mscdex
First off I'd like to thank the developer(s) of WPKG for all the hard work
they've put into this. WPKG has proven to be extremely useful for a network
I'm currently setting up.

Recently while I was setting this network and WPKG up, I thought it would be
nice to have a message window of sorts display to inform the user of what
was happening while WPKG was executing. I noticed the messenger service is
currently used to inform the user of status updates, but it seemed to take
awhile to receive the message plus it'd be nice to have something that
didn't depend on the messenger service and looked a bit nicer.

So a few days ago or so I set out to code something in jscript that would
accomplish just this. My solution makes use of Internet Explorer automation
and works for IE5.00 through IE7 (on both Win2k (no/any service packs) and
WinXP (tested with SP2)). The code could use some more work and I may clean
it up and continue work on it in the following days, but I was mainly
concerned about it displaying the same for all mentioned browser versions.

My message box solution right now features the ability to simply specify an
(optional) title bar/header as well as the message text. Both the
background and foreground colors of the header and message text can be set,
and the message text can be optionally centered.

One last thing, on systems with IE7 installed I had to incorporate a
workaround to get messages to look like they do in IE5 through IE6. The
reason for this is because with IE7, there has been a security check put in
place to keep scripts on websites from resizing less than 250px wide and
100px tall (and from setting certain unallowed window positions).
Unfortunately I wasn't able to find a way to get around this using pure WSH
scripting so I wrote a tiny little AutoIt script (and compiled it to exe
form) that bypasses said limitations and it only executes when IE7 is
detected.

If anyone is interested in what I currently have, let me know and I'll see
if I can host it somewhere.
-
Reporting bugs, all WPKG mailing lists  http://wpkg.org/Support
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users