Re: [wpkg-users] regex in registry paths?

2012-06-01 Thread David Petterson
On 2012-06-01 09:08, Rainer Meier wrote: > Hi David, > > On 01.06.2012 08:58, David Petterson wrote: >> What I want to do is to check if the 32-bit version of Java has been >> installed on 64-bit Windows 7. >> Is there a better way to do this? uninstall only checks fo

Re: [wpkg-users] regex in registry paths?

2012-05-31 Thread David Petterson
On 2012-05-31 16:35, Rainer Meier wrote: > Hi David, > > On 31.05.2012 15:10, David Petterson wrote: >> Is is it possible to use regex in the path for registry checks? >> >> ex: >> > path="HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentV

[wpkg-users] regex in registry paths?

2012-05-31 Thread David Petterson
Is is it possible to use regex in the path for registry checks? ex: Just want to make sure that regex is supported before I try to figure out why I can not make it to work. -- David Petterson Phone: +46(0)13-28 2617 Systems Administrator Department of Physics, Chemistry and

Re: [wpkg-users] Merge XML files, remove comments and validate?

2012-02-09 Thread David Petterson
On 2012-02-08 14:43, Rainer Meier wrote: Hi David, On 08.02.2012 13:12, David Petterson wrote: Doesnt WPKG have some kind of validation built in with the latest version? WPKG 1.3 comes with XSD files which can be used to validate your XML files syntactically. If you want to test it, just run

Re: [wpkg-users] Merge XML files, remove comments and validate?

2012-02-08 Thread David Petterson
n.org/squeeze/libxml2-utils) ) Thank you for answering! I have made a combination of batch and perl script that merges and removes all comments. The only thing that is missing is the validation. Doesnt WPKG have some kind of validation built in with the latest version? /David -- David Petter

Re: [wpkg-users] Best way to remove pre-installed software

2012-02-08 Thread David Petterson
Here is one of my "remove unwanted software" packages: revision="%VERSION%" reboot="false" priority="10"> code='3010'/> code='3010'/> code='3010'/&

Re: [wpkg-users] logical not with OS type?

2012-01-16 Thread David Petterson
Ignore last mail, I'm an idiot! Do not edit wpkg files in the early morning or in the evening just before you are about to go home from work. I had forgot to put the test profile to the test computer profile :( Sorry about this! --

Re: [wpkg-users] logical not with OS type?

2012-01-16 Thread David Petterson
Since there is only one check condition the logical AND makes no sense at all. The new WPKG 1.3.0 syntax: '---code start (watch for line wraps) '---code end The short WPKG 1.2.x and above syntax: '---code start (watch for line wraps) '---code end I have tried both and it still

Re: [wpkg-users] logical not with OS type?

2012-01-16 Thread David Petterson
ked the 7zip package. Any thoughts? -- David Petterson Phone: +46(0)13-28 2617 Systems Administrator Department of Physics, Chemistry and Biology at Linköping University Office: F F202 SE 581

Re: [wpkg-users] logical not with OS type?

2012-01-16 Thread David Petterson
ied it on my testcomputer running XP 32 bit, but nothing gets installed. However, WPKG thinks that the install was successful. I also tried to reverse the logic with an "and" and changed the value to what I found on the page: http://wpkg.org/Extended_host_attribute_matching But th

Re: [wpkg-users] logical not with OS type?

2012-01-16 Thread David Petterson
Yes, this is possible, see below. '---code start (watch for line wraps) '---code end -- Stefan P. Thank you! :) -- David Petterson Phone: +46(0)13-28 2617 Systems Administrator Department of Physics, Chemistry and Biology at Linköping University Office:

[wpkg-users] logical not with OS type?

2012-01-16 Thread David Petterson
Is there a way I can use the new features to NOT install a certain package on Windows XP 64-bit version? Can I use a logical NOT with the OS=value? -- David Petterson Phone: +46(0)13-28 2617 Systems Administrator Department of Physics, Chemistry and Biology at Linköping

Re: [wpkg-users] No root element found in 'C:/WINDOWS/system32/wpkg.xml

2012-01-16 Thread David Petterson
ERROR" in the log and send all error lines by mail. The xml-file seemed fine though, with the new syntax. Thanks! -- David Petterson Phone: +46(0)13-28 2617 Systems Administrator Department of Physics, Chemistry and Biology at Linköping University Office: F F202 SE 581 83

[wpkg-users] No root element found in 'C:/WINDOWS/system32/wpkg.xml

2012-01-15 Thread David Petterson
"packages" Is this critical for future use, or could I keep using just "packages"? /David -- David Petterson Phone: +46(0)13-28 2617 Systems Administrator Department of Physics, Chemistry and Biology at Linköping University Of

Re: [wpkg-users] Firefox 8 and extension deployment

2011-12-14 Thread David Petterson
Can you please summarize and update the wpkg wiki page on how to install Firefox 8 extensions? The mail thread got large and confusing ;) /David - wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-use

Re: [wpkg-users] Register sysinfo.ocx

2011-12-13 Thread David Petterson
the program folder right after install and then start the program as an administrator. Take a new snapshot and compare the two for changes. I havnt found any good software to do this, so I just create a list of files and export the registry to compare later. /David -- David Petterson

Re: [wpkg-users] Push Install WPKG with Psexec

2011-12-12 Thread David Petterson
ke it better, please share! :) /David -- David Petterson Phone: +46(0)13-28 2617 Systems Administrator Department of Physics, Chemistry and Biology at Linköping University Office: F F202 SE 581 83 Linköping, Sweden @ECHO OFF SET INSTFOLDER=%~dp0 :: This is a workaround for supid Mic

Re: [wpkg-users] Push Install WPKG with Psexec

2011-12-09 Thread David Petterson
On 2011-12-09 12:30, Claudio Ghirardi wrote: On 12/9/2011 10:54 AM, Falko Trojahn wrote: Hello, The server from which i ran the psexec command runs Windows 2003 R2 x64, while the target PC runs Windows XP x64. So, again, what am i doing wrong? Did you copy the files to C:\Temp on all the co

[wpkg-users] Merge XML files, remove comments and validate?

2011-12-08 Thread David Petterson
ally would like to remove all the comments and validate the xml files also. As a secondary option I could use a script to run on our *nix server running the samba server where WPKG is located. Thank you in advance! /David -- David Petterson Phone: +46(0)13-28 2617 Sys

Re: [wpkg-users] Push Install WPKG with Psexec

2011-12-08 Thread David Petterson
n all the computers you want to install them to? If not, put them on a network share and install from there instead. I install WPKG by a startup script that also checks that the service is set to automatic. /David -- David Petterson Phone: +46(0)13-28 2617 Systems Admin

Re: [wpkg-users] OS and architecture checks

2011-09-08 Thread David Petterson
< Actually for iTunes there is an edition vor 64-bit host OS and one for 32-bit. The 32-bit edition is supposed to work on XP-x86 and Win7-x86 while the 64-bit edition is supposed to work on XP-x64 and Win7-x64. Yes there is, and it works fine for Vista Win7, but does not work on the 64 bit versio

[wpkg-users] OS and architecture checks

2011-08-30 Thread David Petterson
64bit. /David -- David Petterson Phone: +46(0)13-28 2617 Systems Administrator Department of Physics, Chemistry and Biology at Linköping University Office: F F202 SE 581 83 Linköping, Sweden - wpkg-users mailing

Re: [wpkg-users] Testing is a specific process is running

2011-05-20 Thread David Petterson
e you wait for: wait_for.cmd firefox.exe /David David Petterson Phone: +46(0)13-28 2617 Systems Administrator Department of Physics, Chemistry and Biology at Linköping University Office: F F202 SE 581 83 Linköping, Sweden On 2011-05-20 10:09, LAPLAUD François wrote: > Hi again for

Re: [wpkg-users] Windows 7 64 bit client 1.3.9-x64.msi WPKG Service will not start

2011-04-11 Thread David Petterson
id Microsoft use space in the folder name?) WPKG doesn't seem to be able to use variables in the config, so I set the log file to C:\Windows\temp which is the same on all(?) languages. David Petterson Phone: +46(0)13-28 2617 Systems Administrator Department of Physics, Chemistry

Re: [wpkg-users] Script execution: failure. Exit code: 1

2011-03-28 Thread David Petterson
make sure my packages work as they should. Thank you all! David Petterson Phone: +46(0)13-28 2617 Systems Administrator Department of Physics, Chemistry and Biology at Linköping University Office: F F202 SE 581 83 Linköping, Sweden On 2011-03-28 13:30, Malte Starostik wrote: > A

Re: [wpkg-users] Script execution: failure. Exit code: 1

2011-03-28 Thread David Petterson
> Did you configure the user/password for the service to use. Can this account > access the server? > You can try to run cmd via psexec as the same user (SYSTEM?) that WPKG Client > runs as and see if you can access the server from that shell. > > Good luck, > Malte It uses the same (SYSTEM) u

[wpkg-users] Script execution: failure. Exit code: 1

2011-03-27 Thread David Petterson
o fix this? /David -- David Petterson Phone: +46(0)13-28 2617 Systems Administrator Department of Physics, Chemistry and Biology at Linköping University Office: F F202 SE 581 83 Linköping, Sweden - wpkg-users mailing lis

Re: [wpkg-users] Set WPKG service to run before network services?

2011-03-22 Thread David Petterson
> sc config wpkgservice depend= NSI/Tdx/Afd/tcpip/TermService start= delayed-auto Thanks, I'll try this setting! David Petterson Phone: +46(0)13-28 2617 Systems Administrator Department of Physics, Chemistry and Biology at Linköping University Office: F F202 SE 581 83 L

[wpkg-users] Set WPKG service to run before network services?

2011-03-18 Thread David Petterson
layed Start)" and during the next reboot software started to install. Is there a way to change the service dependence to include network services? /David -- David Petterson Phone: +46(0)13-28 2617 Systems Administrator Department of Physics, Chemistry and Biology at Linköping

Re: [wpkg-users] %version% fails on download and block-package request

2011-03-10 Thread David Petterson
8, 9 and 10. (all research groups buy their own software licenses so we cant just use the latest version for all of them, but we uninstall old versions that is not updated anymore by Adobe) -- David Petterson Phone: +46(0)13-28 2617 Systems Administrator Department of Physics, Chemis

[wpkg-users] %version% fails on download and block-package request

2011-03-09 Thread David Petterson
equest. All our computers have Adobe Reader installed by default, but some of them have the full version. I want the full version to block the installation of the reader to avoid conflicts. Since we today can depend, chain & include I think that block would be a nice addition.

Re: [wpkg-users] Program installs fine when calling js, but not when through service

2010-07-11 Thread David Petterson
Mike Morawski wrote: > Thanks for the continued support. I have it working, somewhat.. I did > what you said and no change, I also got rid of everything and just tried > the install line (and put install files locally and nothing else). After > that didn't work I looked for some debugging logs the

Re: [wpkg-users] Program installs fine when calling js, but not when through service

2010-07-11 Thread David Petterson
Mike Morawski wrote: I have a program that uninstalls MSDE 1.0 and reinstalls it after a computer name change. This is used for a few computer labs. I'm having a real difficult problem (First time user of wpkg and I've spent more time than I'd like to admit to get this to work!), first, here i

Re: [wpkg-users] How to remove the package but leave the software installed

2010-07-04 Thread David Petterson
Rainer Meier wrote: > Hi David, > > On 04.07.2010 01:40, David Petterson wrote: >> I have been using WPKG to force installation of Windows XP updates, and >> are now switching to a WSUS server. >> >> So the question for you all: >> Is there a way to force

Re: [wpkg-users] How to remove the package but leave the software installed

2010-07-04 Thread David Petterson
at it may have already read from > wpkg.xml > > The next time wpkg runs, it will rebuild the wpkg.xml file from scratch. > > -Original Message- > From: wpkg-users-boun...@lists.wpkg.org > [mailto:wpkg-users-boun...@lists.wpkg.org] On Behalf Of David Petterson > Sent:

[wpkg-users] How to remove the package but leave the software installed

2010-07-03 Thread David Petterson
I have been using WPKG to force installation of Windows XP updates, and are now switching to a WSUS server. So the question for you all: Is there a way to force remove the package information from the clients without running any remove commands? Solutions I have though of and why they wont work.

Re: [wpkg-users] Try to install JRE 6u18 with wpkg :O(

2010-01-22 Thread David Petterson
f the old version(s) are not uninstalled first. The script can probably be made smarter, but at least it works! :o) (xml files attached as .txt to avoid e-mail filters) David Petterson Phone: +46(0)13-28 2617 Systems Administrator Department of Physics, Chemistry and Biolo