Re: [wpkg-users] Ugly perl script to check if packages are installed on a set of workstations.

2008-06-18 Thread Falko Trojahn
Hello Chris,

 I was going to wait, and clean up this script, but I don't think I will
 ever come back to it.

...
 I use this program to send a list to our desktop techs about which
 computer are out of compliance.

 I would love any feedback or improvements from anyone, or if you have a
 better way to get this type of information.

Thanx again for this nice script, it does it's work - and this is worth
the effort.

But I have one problem with the script, perhaps you can help me.

If I have two hosts definitions in hosts.xml, one special for a certain
host and one with regex for all common hosts, the report.pl prints
out the special host missing the remaining packages from the common
profile which shouldn't be installed on the special host.

To be clearer - an example:

profile1:
packages common to all hosts

profile2:
packages for the special host without e.g. acrobat8 which is included in
profile1 for the common hosts

hosts definitions:

host name=ws-0026 profile-id=profile2 /
...
host name=ws-.+ profile-id=profile1 /

report.pl gives:
WS-0026:  acrobat8 DBv: 5 PCv:

Any hints?

thanx in advance
Falko

-- 
Falko Trojahn fon +49-341-3581294
Dipl-Ingenieur Netzwerke/Support  fax +49-341-3581295

SMI Softmark Informationstechnologien GmbH
Sitz: D-04416 Markkleeberg, Friedrich-Ebert-Str. 51
Registergericht: Amtsgericht Leipzig HRB 164
Geschäftsführer: Andreas Griesmann

-
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] WPKG Client 1.3.2 released (testing release)

2008-06-18 Thread Marco Gaiarin

  I think it should also upgrade if you have Windows Installer 3.1, but I 
  didn't test it personally.

Yes, seems to work.

Forced an immediate reboot, tomorrow i will test with an
REBOOT=ReallySuppress.


Cool! ;)

-- 
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/
  Polo FVG  -  Via della Bontà, 7 - 33078  -  San Vito al Tagliamento (PN)
  marco.gaiarin(at)sv.lnf.it  tel +39-0434-842711  fax +39-0434-842797

Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
   http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
-
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