[wpkg-users] ERROR: is null or not an object

2011-07-01 Thread Charles Gargent
Hi I get an error in my log file like so: 2011-07-01 11:16:36, ERROR : Error evaluating package check for package 'Microsoft .NET Framework': 'null' is null or not an object The check for that package is like so: check type=registry condition=equals path=HKLM\SOFTWARE\Microsoft\NET

Re: [wpkg-users] ERROR: is null or not an object

2011-07-01 Thread Charles Gargent
Thanks that has worked. On 1 July 2011 12:05, Malte Starostik ma...@malte.homeip.net wrote: Am Freitag, 1. Juli 2011, 12:45:35 schrieb Charles Gargent: Hi I get an error in my log file like so: 2011-07-01 11:16:36, ERROR : Error evaluating package check for package 'Microsoft

Re: [wpkg-users] Windows 7 wpkg launch with AD startup script

2010-11-04 Thread Charles Gargent
Yes the network is connected because the GP is set to run a startup script, there is a logging in it which works so the script is being run, just not the wpkg.js command On 4 November 2010 20:02, Charles Gargent char...@gargent.net wrote: Yes the network is connected because the GP is set to run

[wpkg-users] Windows 7 wpkg launch with AD startup script

2010-11-02 Thread Charles Gargent
Hi I am testing the wpkg script on Windows 7, it seems to run fine when logged in and executed from the command line but when I run the same command from a batch file as a start up script in a group policy the command doesnt run nor does it give any indication of what went wrong. I know the

[wpkg-users] Registry Check failing

2010-08-02 Thread Charles Gargent
Hi, I have a registry check as follows: check type=registry condition=exists path=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UpgradeCodes\AA5D9C68C00F12943B2F6CA09FE28244 / The error message I get in the logs: Neither the registry path

Re: [wpkg-users] Registry Check failing

2010-08-02 Thread Charles Gargent
On 2 August 2010 13:21, heiko.hel...@horiba.com wrote: check type=registry condition=exists path=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer \UpgradeCodes\AA5D9C68C00F12943B2F6CA09FE28244 / Neither the registry path 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer

Re: [wpkg-users] Registry Check failing

2010-08-02 Thread Charles Gargent
On 2 August 2010 16:45, Falko Trojahn nospam...@smi-softmark.de wrote: Hi, Neither the registry path 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UpgradeCodes\AA5D9C68C00F12943B2F6CA09FE28244' nor its expanded value of

[wpkg-users] Event Log format

2009-11-19 Thread Charles Gargent
Hi, I export the eventlogs from each client to a central log on the server so I can parse them latter. Unfortunately the line breaks in the message come through with the export. I have made a start on changing the script and removing the line breaks, does anyone know where all the occurrences are

Re: [wpkg-users] Event Log format

2009-11-19 Thread Charles Gargent
2009/11/19 Rainer Meier r.me...@wpkg.org: Hi Charles, Charles Gargent wrote: Thanks for that, after I posted I think I did your last suggestion I add the following in line 5753 of v1.1.2 description = description.replace(new RegExp((\\r\\n)|(\\n\\r)|[\\r\\n]+, g), ); that seems to work

Re: [wpkg-users] Event Log format

2009-11-19 Thread Charles Gargent
2009/11/19 Rainer Meier r.me...@wpkg.org: Hi Charles, Charles Gargent wrote: Thanks for that, I never really looked at this setting. I have always left in on by default. I will have to test a bit further as to what is going on as it doesnt work. I dont fully understand what the wpkg.js

Re: [wpkg-users] Silent installs of MSI or exe files.

2009-08-12 Thread Charles Gargent
Works on my XP machine and my 7 RC1 machine 2009/8/12 Rainer Meier r.me...@wpkg.org: Hi Charles, Charles Gargent wrote: try %WINDIR% I think %windir% has been used in pre-Windows NT times while starting from Windows NT %SystemRoot% has been introduced. Have a look at HKLM\SYSTEM

Re: [wpkg-users] Silent installs of MSI or exe files.

2009-08-11 Thread Charles Gargent
try %WINDIR% 2009/8/11 David Christensen david.christen...@viveli.com: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer Meier wrote: Hi David, David Christensen wrote: Thanks for the help with this, looks like I got it working.  The file needed to be installed under C:\Windows, I had

Re: [wpkg-users] load balancing

2009-07-27 Thread Charles Gargent
you could make up 5 different profiles and assign 300 clients to each of those profiles and then add them 1 day at a time, then by friday they will all be done 2009/7/27 Sergey Karapetyan frenchg...@mail.ru: hello again :) i have 1500 wpkg-clients, all users start working at 9am and i need

Re: [wpkg-users] xml Elements and attributes

2009-07-16 Thread Charles Gargent
2009/7/15 Charles Gargent charlesgarg...@gmail.com: 2009/7/15 Rainer Meier r.me...@wpkg.org: Hi Charles, Charles Gargent wrote: IMHO it makes more sense to have everything one way or t'other, I appreciate that converting everything to elements would break compatability, so would

[wpkg-users] xml Elements and attributes

2009-07-15 Thread Charles Gargent
Hi In the packages xml file the exit code data is stored in an element, can you change it to be stored in an attribute? ie remove cmd='msiexec /x {23170F69-40C1-2701-0457-0100} /qn /norestart' exitcode='any' / instead of remove cmd='msiexec /x {23170F69-40C1-2701-0457-0100} /qn

Re: [wpkg-users] xml Elements and attributes

2009-07-15 Thread Charles Gargent
' / instead of remove cmd=' some command'exit code='any' reboot='delayed' //remove 2009/7/15 Rainer Meier r.me...@wpkg.org: Hi Charles, Charles Gargent wrote: Hi In the packages xml file the exit code data is stored in an element, can you change it to be stored in an attribute? ie remove

[wpkg-users] Using bat files for remove procedure

2009-06-17 Thread Charles Gargent
If I specify a bat file as the remove command and then change the bat file before the package has removed on all hosts where it is installed, what happens when the hosts that havent yet run the remove command try and run the remove command that essentially contains a different bat file. Has

[wpkg-users] Variable Dependencies

2009-06-15 Thread Charles Gargent
Hi I have a package for PowershellCX which is platform independant. How can I specify Powershell as a dependency when I have a package for Powershell XP and a package for Powershell 2K3. I could make 2 packages for PowershellCX the only difference between them being the dependancy node, but is

[wpkg-users] re the post: WPKG Server 1.1.0 breaks packages working in 1.0.4

2009-05-28 Thread Charles Gargent
re the post: WPKG Server 1.1.0 breaks packages working in 1.0.4 I have experienced this error also. I have done some investigation, this command fails when it used to work in 1.0.4: install cmd='%software%\WinMerge\WinMerge v2.12.2\WinMerge-2.12.2-Setup.exe /LOADINF=%software%\WinMerge\WinMerge

Re: [wpkg-users] re the post: WPKG Server 1.1.0 breaks packages working in 1.0.4

2009-05-28 Thread Charles Gargent
well I think I have cobbled a solution together, it may not be technically correct but it works for me change line 5904 from cmd = %COMSPEC% /c + cmd; to cmd = %COMSPEC% /c + \ + cmd + \; 2009/5/28 Charles Gargent charlesgarg...@gmail.com: re the post: WPKG Server 1.1.0 breaks packages