Re: [wpkg-users] wpkg for crapware removal?

2012-12-14 Thread Rainer Meier
Hi Jon, On 14.12.2012 01:32, Jon Goldberg wrote: I just inherited a new client whose workstations have users logged in as local administrators; the net result is a ton of crapware. Yes this is what usually happens. I considered creating wpkg packages for the crapware with only a remove

Re: [wpkg-users] wpkg for crapware removal?

2012-12-14 Thread Rainer Meier
Hi Paul, On 14.12.2012 09:47, Paul McGrath wrote: Instead of the remove we use install (execute once) to remove some crapware. Usually Bing, Ask and Google toolbars. We get a lot of Samsung laptops and they are choked full of crapware but I haven't got around to building anything

Re: [wpkg-users] RFC: WMI checks

2012-10-10 Thread Rainer Meier
Hi Malte, On 09.10.2012 14:14, Malte Starostik wrote: Example usage: check type=wmi condition=exists path=Win32_QuickFixEngineering.HotFixID='KB976902',ServicePackInEffect=''/ One obvious enhancement would be to a condition that allows for path to contain a complete WQL query. But before

Re: [wpkg-users] User initiated runs of WPKG

2012-10-10 Thread Rainer Meier
Hi Andrew, On 10.10.2012 18:56, Andrew Struiksma wrote: I've been trying to figure out a way to allow end users to trigger WPKG to run when it is convenient to them. Ideally we could setup a shortcut on everyone's Start menu so that they could click Install Updates which would start wpkg.js.

Re: [wpkg-users] User initiated runs of WPKG

2012-10-10 Thread Rainer Meier
Hi Andrew, On 10.10.2012 20:05, Andrew Struiksma wrote: I've been doing some research on SubInACL.exe and it appears to be designed for use with Win XP/Server 2003. The recommendations I saw on the forums was to migrate to icacls.exe. Do you have any info on this? Well yes, it might be

Re: [wpkg-users] packages not installing/upgrading

2012-09-11 Thread Rainer Meier
Hi Carlos, I might shed some light on this topic. Although I currently don't have time for in-dept explanation/analysis. On 06.09.2012 20:08, Carlos R. Pasqualini wrote: 2012-09-06 14:43:53, INFO: Installing 'LibreOffice' (libreoffice)... So WPKG is going to verify (check,

Re: [wpkg-users] Nested packages and variables

2012-09-11 Thread Rainer Meier
Hi Steve, On 11.09.2012 12:37, Steve Kersley wrote: Is it possible to set a variable in the parent ‘stub’ package that can then be accessed in the child packages? My testing suggests not. Setting JAVA_VERSION in the parent package isn’t accessible from the child packages - unless I’m doing

Re: [wpkg-users] error when comparing version strings of different length

2012-09-11 Thread Rainer Meier
Hello, On 11.09.2012 14:14, jurgen.depic...@let.be wrote: I have a problem comparable to the libreoffice problem from this morning. I think it's unrelated. (apart that you're both comparing version strings). 2012-09-11 14:00:02, DEBUG : Comparing version fragments: '4' = '' 2012-09-11

Re: [wpkg-users] Assigning a Variable from a Registry key

2012-09-05 Thread Rainer Meier
Hi Malte, On 05.09.2012 13:00, Malte Hohmann wrote: I am not sure if WPKG updates the environment at all. It saves and restores its environment during processing of any package - at least this is logged in the output - so I think it just stores its environment variables somewhere and reloads

Re: [wpkg-users] WPKG on Windows 8

2012-08-28 Thread Rainer Meier
Hi Jürgen, On 28.08.2012 15:44, jurgen.depic...@let.be wrote: I was wondering how you exluded the flashplayer activex, since you wrote on http://lists.wpkg.org/pipermail/wpkg-users/2011-November/008252.htmlthat you were against this non-feature ;-). I am using independent packages to deploy

Re: [wpkg-users] WPKG on Windows 8

2012-08-28 Thread Rainer Meier
Hi Stefan, On 28.08.2012 15:51, Stefan Pendl wrote: Am 28.08.2012 15:44, schrieb jurgen.depic...@let.be: I think he used something like the code below. One could as well check the installed IE release. '---code start (watch for line wraps) profile id='CommonTools' package

[wpkg-users] WPKG on Windows 8

2012-08-26 Thread Rainer Meier
Hello, Actually I have decided today to spend some time on Windows 8 migration today. I try to just report my results without any intention to start a war about user interface discussions. So if you're going to reply please focus on technical discussion of issues. Here's a summary of my

Re: [wpkg-users] DotNet 4.5

2012-08-24 Thread Rainer Meier
Hi Kyle, On 24.08.2012 02:33, Kyle Bakker wrote: Could not Process (install) package '.Net Framework v4.5' Exit code returned non-successful value (-1) on command dotnetfx45.exe /q /norestart /lang:ENU (I added the lang:ENU after reading a solution on a forum but it did not work) Now if I run

Re: [wpkg-users] versiongreaterorqual dont remove!

2012-07-31 Thread Rainer Meier
Hi Hamza On 31.07.2012 11:48, Hamza K. wrote: with versiongreaterorequal i cant remove my packages he does nothing. Let's see... Package: ?xml version=1.0 encoding=UTF-8? packages ... check type='uninstall' condition='versiongreaterorequal' path='Unlocker %VERSION%'

Re: [wpkg-users] First line of wpkg.xml

2012-07-02 Thread Rainer Meier
Hi Cedric, On 02.07.2012 13:34, Cedric Frayssinet wrote: With wpkg.js 1.3, the first line of wpkg.xml is like : wpkg:wpkg xmlns:wpkg=http://www.wpkg.org/settings; hostname=info103-069677 ipadresses=172.16.129.154. But, when this computer is used as master in order to clone a lot of

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

2012-06-01 Thread Rainer Meier
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 for 64 bit apps (on 64-bit os), or will it check for both? It will of course check

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

2012-05-31 Thread Rainer Meier
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: check architecture=x64 type=registry condition=equals

Re: [wpkg-users] How can I ignore non-existent profiles

2012-05-25 Thread Rainer Meier
Hi Carl, On 25.05.2012 16:16, Carl van Eijk wrote: I've noticed that application of all profiles fail if there is a reference to just one non existent profile. ... Even though neither wbl_uk_computers nor wbl00379 exist, I still want test to apply. How do I go about this? In fact a host

Re: [wpkg-users] cmd's not executed on some clients

2012-05-21 Thread Rainer Meier
Hi Mike, On 21.05.2012 13:26, Mike Burgener wrote: Has nobody any idea on this? Maybe you could post a full debug log from one of the machines where it obviously does not update properly and a full listing of the XML defining the package. Very likely WPKG does not execute the upgrade

Re: [wpkg-users] Remote site repositories

2012-05-15 Thread Rainer Meier
Hi Marco, On 15.05.2012 09:45, Marco Gaiarin wrote: If network 192.168.1.0/24 then SOFTWARE=\\192.168.1.x\wpkg\software If network 192.168.2.0/24 then SOFTWARE=\\192.168.2.x\\wpkg\software I'm a bit curious. How do you check network address with cmd? I've googled around a bit, but... Using

Re: [wpkg-users] value have underscores?

2012-05-15 Thread Rainer Meier
Hi Paul, On 15.05.2012 10:40, Paul McGrath wrote: So far I have just used ‘.’ (dots, full stops, periods!) to denote version variables. Is it possible to use ‘_’ (underscores) e.g. variable name=version value=11_1_102_55/ If the version is incremented then will upgrade work based on a value

Re: [wpkg-users] value have underscores?

2012-05-15 Thread Rainer Meier
Hi Semián, On 15.05.2012 15:41, Semián Matěj wrote: It does not work for version checks.. So be avare of this in your scripts. Log: File version check for file 'H:\WINDOWS\System32\Macromed\Flash\Flash32_11_2_202_235.ocx' returned false for operation type versiongreaterorequal. Checking file

Re: [wpkg-users] Remote site repositories

2012-05-14 Thread Rainer Meier
Hi Donny, On 14.05.2012 18:14, Donny Brooks wrote: I understand. So what I was thinking of doing with the clients still going back to the centralized wpkg server for configs but pulling software from local servers should work if I read correctly. I just wanted to make sure I wouldn't mess

Re: [wpkg-users] remove checks too quickly

2012-04-16 Thread Rainer Meier
Hi Sebastian, On 16.04.2012 16:06, Sebastian Elsner wrote: using the foobar2000 package from the wiki (http://wpkg.org/Foobar2000) I had a strange problem. After removing the package from the profile, wpkg.js reported that the package could not be removed. But all the files were uninstalled

Re: [wpkg-users] Problems with Downloading capability, or just PEBKAC ?

2012-04-16 Thread Rainer Meier
Hi Neil, On 16.04.2012 20:20, neilr8133 wrote: Trying to figure out a few things about the downloading capabilities and whether I'm experiencing a bug in the code or if it's a PEBKAC error. 1) When using thedownload directive, it seems that the target folder is always rooted at %TMP% ? I

Re: [wpkg-users] Need some help regarding the WPKG

2012-04-10 Thread Rainer Meier
Hi Calvin, On 10.04.2012 15:50, calvin chan wrote: Hi, I am new to WPKG. I would like to check if anyone could let me know where to find the source code for the WPKG1.3-bin.zip? Latest version of the stable WPKG code can always be found on SVN. The server component can be browsed here for

Re: [wpkg-users] JS scripts for WPKG

2012-04-06 Thread Rainer Meier
Hi Stefan, On 06.04.2012 21:04, Stefan Pendl wrote: Since managing shortcuts is an essential part of deploying software on Windows, I offer to create a JS script to be included in the tools folder of the distribution. You are right. I am using shortcut.exe tool right now but using some

Re: [wpkg-users] WPKG handling multiple packages

2012-04-05 Thread Rainer Meier
Hi Heiko, On 05.04.2012 08:17, heiko.hel...@horiba.com wrote: Does WPKG handle multiple versions of the same package of is this planned. It's a corner case - for example Vmware Infrastructure Client installs different versions all having the same DisplayName. So if you manage 4.1 and 5.0

Re: [wpkg-users] multiple Dependencies

2012-04-05 Thread Rainer Meier
Hi Peter, On 05.04.2012 00:37, Peter Beck wrote: I am just creating a package for MS Business Contact Manager (BCM). BCM depends on MS Outlook. I'd like to add these dependencies, but there are different office 2010 versions - how can I check if _one of them_ is installed ? something like the

Re: [wpkg-users] Misleading Error parsing xml in log file. Proposed patch

2012-02-23 Thread Rainer Meier
Hi Mi, On 23.02.2012 21:39, Mi wrote: Under some circumstances, wpkg.js tries to parse non-existing .xml files, and writes an ERROR into the log file. This is misleading in situations where it is normal that the file does not exist. For example, when using a packages directory of .xml files

Re: [wpkg-users] Upgrade Skips Checks

2012-02-21 Thread Rainer Meier
Hi Matthew, On 21.02.2012 11:50, Matthew Bowman wrote: I've recently found myself in an odd situation. I recently upgraded a package that had an exit code of -3 (Install Shield - missing info in setup.iss file). This was not listed in the package.xml as success so therefore wpkg was not

Re: [wpkg-users] Installing Microsoft.NET 4.0

2012-02-17 Thread Rainer Meier
Hi Mikhail, On 17.02.2012 12:04, Mikhail Joseph Salviejo wrote: then next would be issuing the install code for the dotnet install cmd='C:\Temporary\dotnetfx40.exe /passive /norestart' / the installation remains at this part whenever i check the log file Make sure you're using the full

Re: [wpkg-users] Installing Microsoft.NET 4.0

2012-02-17 Thread Rainer Meier
Hi Malte, I unpacked that dotnetfx40.exe with 7-zip into %SOFTWARE%\dotnet4\ which extracts among other things the real setup.exe. That one I then call as: %SOFTWARE%\dotnet4\setup.exe /q /norestart /x86 /x64 This not only saves a little time for the initial extraction phase which is now only

Re: [wpkg-users] Issue in conditional check

2012-02-16 Thread Rainer Meier
Hi Malte, On 16.02.2012 11:36, Malte Hohmann wrote: Hi all, I have come across an issue with the conditional execution of a command: I have the following package where the installation works, but removal does not due to environment variables not expanded in the conditional check: ...

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

2012-02-08 Thread Rainer Meier
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 WPKG on a test host. Or run some WPKG

Re: [wpkg-users] some confusion on validating the wpkg config.xml file - correct xml/xsd header lines syntax?

2012-01-30 Thread Rainer Meier
Hi Urs, On 30.01.2012 10:04, Urs Rau (UK) wrote: I got xml validation working using the xsd files for all other wpkg xml files, but am not able to figure out the correct syntax for the config.xml file to get validation working. I found that I've never completed config.xsd and the param

Re: [wpkg-users] how to safely copy wpkg.xml to a central UNC location when using Wpkg Agent (for after-processing with wpkgCreateReport)

2012-01-26 Thread Rainer Meier
Hi, On 26.01.2012 14:32, Malte Starostik wrote: assuming agent == service, that service itself does not lock the file. If anything does, it's wpkg.js. Thus, if you configure the service to execute a batch file containing the above as a post-execute script, you should be all set. This is

Re: [wpkg-users] Setting a variable in a profile doesnt over-rides that set in a package

2012-01-26 Thread Rainer Meier
Hi Ronny, On 26.01.2012 18:58, Ronny wrote: does someone else know why the variable isn't overriden by the profile-assigned variable and it is still using the package-assigned variable? I don't find the reason. Initially this was changed intentionally for WPKG 1.3.0 since variable expansion

Re: [wpkg-users] Setting a variable in a profile doesnt over-rides that set in a package

2012-01-26 Thread Rainer Meier
Hi Stefan, On 26.01.2012 22:29, Stefan Pendl wrote: With this change, this user is now facing the same problem, but in the opposite way. We have already two users facing the issue of changed variable expansion order: - Ronny - Kalyniak Oleksandr Both are likely not facing the same issue in

Re: [wpkg-users] Setting a variable in a profile doesnt over-rides that set in a package

2012-01-26 Thread Rainer Meier
Hi Ronny, On 26.01.2012 23:03, Ronny wrote: this is a good news. What about a config-variable which defines the order in which they are resolved? something like: param name='VariableResolveOrder' value='host,profile,package' / or at least something like param name='OverrideVariablesBy'

Re: [wpkg-users] Setting a variable in a profile doesnt over-rides that set in a package

2012-01-26 Thread Rainer Meier
Hi Ronny, I took a look at the named topic. So the current order for variables in 1.3.0 is: Host, Profile, Package Host variables overriding profile variables overriding package variables. I guess every package and host has to be assigned to a profile. Variables are mostly *used* in

Re: [wpkg-users] Setting a variable in a profile doesnt over-rides that set in a package

2012-01-26 Thread Rainer Meier
Hi Ronny, On 26.01.2012 23:39, Ronny wrote: So for all wpkg-versions = 1.3.0 what about this example: profile id=general variable name='MyVariable' value='general' / package package-id=abc / {...} package package-id=xyz / /profile profile id=special variable name='MyVariable' value='special'

Re: [wpkg-users] Copy directories and files with WPKG

2012-01-12 Thread Rainer Meier
Hi, On 12.01.2012 13:50, Stefan Pendl wrote: There is a bug in WSH which crashes it if there is too much output to the console window. It does not crash but just stall; so the process appears frozen. And just to answer before anybody asks. There seems to be no way to flush the buffers

Re: [wpkg-users] Package still installed...

2012-01-10 Thread Rainer Meier
Hi Cedric, On 10.01.2012 18:13, Cedric Frayssinet wrote: I've a little problem with a package. This is a french software, named Risbee : http://www.pob-technology.com/upload/softwares/risbee-3.1.0-setup.exe This is a NSIS package, and my classic XML is : package id=Risbee

Re: [wpkg-users] Package still installed...

2012-01-10 Thread Rainer Meier
Hi Marco, On 10.01.2012 18:49, Marco Gaiarin wrote: Some other trigger a disinstallation of previous version and an installation of the newer ones, while the disinstallation suffer from the classical ''fork'' problem of NSIS. Symptoms are that WPKG say ''check failed after upgrade'' but

Re: [wpkg-users] Continue even if not completed.

2012-01-09 Thread Rainer Meier
Hi Stefan/Michael, On 09.01.2012 19:39, Stefan Pendl wrote: Am 09.01.2012 17:30, schrieb Michael MacKay: I have a frustrating little issue. I have a program that needs to register a plugin after it is installed. Very easy to do: DtMaxSdk.exe /register. My problem is, it has a little popup

Re: [wpkg-users] Installs with /debug but not with client or standard /synchronize

2012-01-08 Thread Rainer Meier
Hi Michael, On 08.01.2012 05:18, Michael MacKay wrote: I have several packages being processed at once, 5 upgrade installs, and 3 software removals (setup as installs {msiexe /x} as they weren't installed with WPKG). The installs work (although they seem to continue after the client progress

Re: [wpkg-users] Set variable based on Computer Name

2012-01-05 Thread Rainer Meier
Hi Michael, On 06.01.2012 00:03, Michael MacKay wrote: I have 10 locations I am using WPKG with and use some syncing software to deploy the WPKG directory to all the locations. Currently, I have the WPKG Clients on each workstation have the %SOFTWARE% location variable and wpkg.js directed to

Re: [wpkg-users] Exclude a computer

2011-12-21 Thread Rainer Meier
Hi Stefan, On 21.12.2011 11:45, Stefan Pendl wrote: If you still want to use just one single profile, but exclude one package from one host you can use the conditions introduced with WPKG v1.3.0 Oh, just noticed that one of my answers did not hit the list as Bruno answered to me directly and

Re: [wpkg-users] %cd% in Batch File

2011-12-21 Thread Rainer Meier
Hi Michael, On 21.12.2011 23:01, Michael MacKay wrote: I am trying to deploy a patch for some custom software supplied by our parent company. They send it as an .exe (no silent option), which I extract it, it is basically a batch scripted update. I can run the batch file on a workstation and it

Re: [wpkg-users] Exclude a computer

2011-12-20 Thread Rainer Meier
Hi, On 20.12.2011 15:57, Bruno CHOQUET wrote: I have already done. But it 's complicate because i have two profiles : - one profile with 29 tools for TOTO computer (without Foxit) - one profile with 30 tools for ALL OTHER COMPUTERS But, when i add, change, remove a package, i must to change

Re: [wpkg-users] Bug in 'settings_file_path'

2011-12-09 Thread Rainer Meier
Hi Daniel, On 09.12.2011 16:29, Daniel Rickenbacher wrote: I got the 'settings_file_path' set in the config.xml to '%SystemRoot%'. This worked with 1.1.2, but now while testing 1.3 it doesn't work anymore. When I set it by commandline switch it works like a charm. Seems as if wpkg does not

Re: [wpkg-users] Bug in 'settings_file_path'

2011-12-09 Thread Rainer Meier
Hi, On 09.12.2011 17:03, Rainer Meier wrote: You might just have discovered a bug. Handling of settings file has been changed mainly to support patterns to include hostname or profile names in the file name. Due to this it looks like expanding environment variables in settings file name or path

[wpkg-users] Announcement: WPKG 1.3.0 released

2011-12-08 Thread Rainer Meier
1.2.0 release: === = CHANGES FOR 1.3 release === Change notes WPKG Version: 1.3.0 Author: : Rainer Meier skybeam

Re: [wpkg-users] Announcement: WPKG 1.3.0 released

2011-12-08 Thread Rainer Meier
Hi Stefan, On 08.12.2011 16:04, Stefan Pendl wrote: Thank you for that great release ;-D Many thanks to you as well, you've done a tremendous job in testing and debugging WPKG 1.3.0! br, Rainer - wpkg-users mailing

Re: [wpkg-users] New site documentation of WPKG 1.3.0

2011-12-08 Thread Rainer Meier
Hi Stefan, On 08.12.2011 16:24, Stefan Pendl wrote: I just noticed that the legend section of all XML specifications include consists only of the AusAddress topic, which is not part of WPKG, if I am not mistaken. Is this by design, an oversight or included by default by maven? Having a very

Re: [wpkg-users] [Bug 258] Windows 7 64 bit not correctly detected

2011-12-05 Thread Rainer Meier
Hi Joe, On 05.12.2011 20:18, Joe wrote: So a 32 bit client running under windows 64 bit on 64 bit hardware detects as 32 bit? Yes it does. And yes, it is correct bahavior from WPKG point of view. The reason is that in case WPKG (WSH script) runs in 32-bit WSH interpreter, then it has no

Re: [wpkg-users] virtualbox deployment issue

2011-11-28 Thread Rainer Meier
Hi Anthony, On 28.11.2011 10:54, Anthony Walters wrote: My issue is with the virtualbox installer, Virtualbox resets the network inetrfaces on install[1] and so wpkg.js stops executing immediately after virtualbox is installed. From the log below, Virtualbox returns a status of zero, so the

Re: [wpkg-users] [Bug 257] XML error when using templates

2011-11-25 Thread Rainer Meier
Hi Stefan, On 25.11.2011 11:05, Stefan Pendl wrote: Installation went smooth too, only Win2k had a hick-up and hang on installing JRE1.6, package and log attached. Do you have any indication that your JRE 1.6 install hiccup was related to the WPKG XML-reader changes? As I see from the logs

Re: [wpkg-users] Order of package removals and install/upgrades

2011-11-23 Thread Rainer Meier
Hi Chris, On 23.11.2011 22:09, Chris Mortimer wrote: Thanks for your reply. All makes sense apart from 'The exception being upgrades to packages scheduled for removal and then maybe (?) upgrades to their dependencies.' sorry, not sure I follow this bit. Do you mean that if a package has been

Re: [wpkg-users] Empty remove command

2011-11-21 Thread Rainer Meier
Hi Alan, On 21.11.2011 18:19, Alan Adams wrote: This is a problem for me as well. i had a massive problem after I made a typo in the script for Google Earth. I had to remove the package as it was failing to install, and rebooting each time. Now it tries to uninstall, then reboots, then tries to

Re: [wpkg-users] Empty remove command

2011-11-21 Thread Rainer Meier
Hi Jonathan, On 21.11.2011 12:33, VERDEYEN Jonathan wrote: I am setting-up WPKG for our company and have cases where I have empty remove commands which seems to be a problem when I remove packages as it will think the uninstall failed when doing the install checks. WPKG does not have

Re: [wpkg-users] XSD check validation

2011-11-17 Thread Rainer Meier
Hi Stefan, On 18.11.2011 00:49, Stefan Pendl wrote: Hi Rainer, Is it possible to include a dependency in the XSD files for checks which require a value attribute. For this purpose I've defined specialized types derived from the check type. Try specifying xsi:type='checkFile' to specify the

Re: [wpkg-users] XSD check validation

2011-11-17 Thread Rainer Meier
Hi Stefan, On 18.11.2011 01:23, Stefan Pendl wrote: So I will have to test once more, since I thought I encountered this situation and the file passed validation with a missing value attribute for a version check of an uninstall check. You are right about uninstall checks. The XSD allows you

Re: [wpkg-users] exclude a package from a profile

2011-11-16 Thread Rainer Meier
Hi Joe, On 16.11.2011 15:28, Joe wrote: I have a profile with a dozen or so packages. Now I need that same profile without one of the packages. It appears there was work on an exclude clause but it doesn't appear to have been implemented. Is there an easy way to exclude a package without

Re: [wpkg-users] Two questions on variables

2011-11-14 Thread Rainer Meier
Hi Steve, On 14.11.2011 14:13, Steve Kersley wrote: As part of a revamp of some of my wpkg scripts, I want to move towards a model where I can use one package definition to install different versions of the application in order to test and/or perform staged installations of a new version by

Re: [wpkg-users] os=windows xp in WPKG 1.2

2011-11-11 Thread Rainer Meier
Hi Simon, On 11.11.2011 14:34, simon.be...@institutsmq.qc.ca wrote: Hi, Working with I'm trying to separate packages that belongs to either Windows XP or Windows 7. I packages.xml I add this line:: package os=windows xp id=Java1.6.0_15 (...) but it does not work. no info at all in debug. I

Re: [wpkg-users] Do file time checks take daylight savings time into account?

2011-10-30 Thread Rainer Meier
Hi Stefan, On 30.10.2011 19:06, Stefan Pendl wrote: I know that in C you are advised to convert file time to system time to work around the DST problem, see http://msdn.microsoft.com/en-us/library/windows/desktop/ms724290%28v=vs.85%29.aspx This here might be quite a comprehensive description

Re: [wpkg-users] Do file time checks take daylight savings time into account?

2011-10-30 Thread Rainer Meier
On 30.10.2011 20:46, Stefan Pendl wrote: I think the whole world should get rid of DST, since it does no good at all. Word! Actually it even does not serve its initial purpose of saving energy. br, Rainer - wpkg-users

Re: [wpkg-users] [Bug 252] Query gives not the same result assynchronize

2011-10-29 Thread Rainer Meier
Hi Stefan, On 29.10.2011 23:06, Stefan Pendl wrote: I don't even think that any checks other than for host information are used currently, but then I am just one user out of many. But as WPKG supports it this limitation should be known to users. However I am thinking about a possibility to

Re: [wpkg-users] troubles with 1.2.1 RC38

2011-10-27 Thread Rainer Meier
Hi, On 27.10.2011 12:54, jurgen.depic...@let.be wrote: I'm trying out RC38 and it simply doesn't work, although I have no issues for the 1.2 release (note: the 'test' profile uses a package which only works for the RC release). Wpkg.js cannot find the profiles, although it does find them ;-).

Re: [wpkg-users] troubles with 1.2.1 RC38

2011-10-27 Thread Rainer Meier
Hi Jürgen, On 27.10.2011 14:48, jurgen.depic...@let.be wrote: It happens on W7x64 also... Confirmed. I will commit a fix today. This bug will occur always when multiple profiles are assigned to one host. Looks like I did not test this - shame on me. If you want to continue before I commit

Re: [wpkg-users] troubles with 1.2.1 RC38

2011-10-27 Thread Rainer Meier
Hi, On 27.10.2011 15:21, Rainer Meier wrote: Hi Jürgen, On 27.10.2011 14:48, jurgen.depic...@let.be wrote: It happens on W7x64 also... Confirmed. I will commit a fix today. This bug will occur always when multiple profiles are assigned to one host. Looks like I did not test this - shame

Re: [wpkg-users] How to redirect output of wpkg.js to a file?

2011-10-26 Thread Rainer Meier
Hi Stefan, On 26.10.2011 14:44, Stefan Pendl wrote: I think wpkg.js is sending its output to StdError so you need to redirect that too. It's using STDOUT for console output (respectively the WScript.Echo() function. But it's generally a good idea to redirect STDERR as well using 21. In

Re: [wpkg-users] issue with 1.2.1-RC25?

2011-10-22 Thread Rainer Meier
Hi Stefan, On 22.10.2011 14:45, Stefan Pendl wrote: Sorry, but the recent changes to the variable handling have reintroduced the empty variable issue. Re-fixed in 1.2.1-RC31 just committed. Issue seems to be limited to Windows XP. I did not apply your patch as it introduced an invalid scope

Re: [wpkg-users] New WPKG features vs. report tool

2011-10-22 Thread Rainer Meier
to be static during one run and therefore I am caching the values. It seems I forgot to invalidate the host information cache after reading the values from settings. Changes 2011-10-22, v1.2.1-RC32 by Rainer Meier r.meier (at) wpkg.org FIX: Fixed use of host attributes read from settings file in remote

Re: [wpkg-users] New WPKG features vs. report tool

2011-10-22 Thread Rainer Meier
Hi Stefan, On 22.10.2011 17:23, Stefan Pendl wrote: There still seems to be something wrong with the package application during a query. Something is a bit too unprecise... However I found that /query:l did show now the remote information as read from the settings file. This is fixed in

Re: [wpkg-users] New WPKG features vs. report tool

2011-10-22 Thread Rainer Meier
-RC34 by Rainer Meier r.meier (at) wpkg.org FIX: If executed in remote query mode WPKG failed if there was no profile assigned to the host executing WPKG (the remote host). Initialization of debug messages about assigned profiles has been delayed and for queries this information

Re: [wpkg-users] New condition not working as expected

2011-10-22 Thread Rainer Meier
Hi Stefan, On 23.10.2011 01:58, Stefan Pendl wrote: condition check type=logical condition=not check type=host condition=hostname value=SATELLITE/ /check check type=logical condition=not check type=host condition=os value=5\.0\.\d{4}/ /check /condition Now

Re: [wpkg-users] New condition not working as expected

2011-10-22 Thread Rainer Meier
Hi Stefan, On 23.10.2011 02:17, Rainer Meier wrote: Looking at the code the logical not check allows only one single check sub-node. However the XSD allows to specify as many check sub-nodes as you want. Well; I think I am going to extend the code to assume an implicit and when multiple sub

Re: [wpkg-users] New WPKG features vs. report tool

2011-10-21 Thread Rainer Meier
Hi Kai, On 21.10.2011 18:14, Kai Pastor wrote: Hello, I am testing WPKG 1.2.1-RC27 and have not seen any problems. Thank you very much for your work. Great news. So far I have also used WPKG Create Report which is linked on the download page. This useful tool is not yet aware of the new

Re: [wpkg-users] New WPKG features vs. report tool

2011-10-21 Thread Rainer Meier
Hi Stefan, On 21.10.2011 20:39, Stefan Pendl wrote: There is no easy solution for this yet. You can specify a server-side copy of the local database of any client for examination by using the /config:path switch to a config.xml file, which only contains the settings_file_name and

Re: [wpkg-users] issue with 1.2.1-RC25?

2011-10-21 Thread Rainer Meier
Hi Stefan, On 21.10.2011 20:22, Stefan Pendl wrote: The order of variable evaluation is as follows: 1) package variables 2) profile variables 3) host variables Now this is clearly defined: - WPKG reads all host variables applying to the current host - WPKG reads all profile variables

Re: [wpkg-users] issue with 1.2.1-RC25?

2011-10-21 Thread Rainer Meier
Hi again, On 21.10.2011 20:53, Rainer Meier wrote: E.g. before reading the package HOST: SOFTWARE SETTINGS VAR1 VAR2 PROFILE: VAR3 VAR4 Then a package which replaces SOFTWARE: HOST: SETTINGS VAR1 VAR2 PROFILE: VAR3 VAR4 PACKAGE: SOFTWARE Then WPKG starts to evaluate the variables. So as you

Re: [wpkg-users] Changing root profile doesn't trigger uninstalls.

2011-10-21 Thread Rainer Meier
Hi Keith, On 22.10.2011 01:47, k.e.jo...@brighton.ac.uk wrote: Thanks, I will deliver debug logs if it looks like something genuinely buggy. I don't think it's more than something stupid my end. I just wanted to check if there was a behavioural change that I'd missed in the v1.2 upgrade

Re: [wpkg-users] New WPKG features vs. report tool

2011-10-21 Thread Rainer Meier
Hello again, On 22.10.2011 01:37, Rainer Meier wrote: I've implemented /query:s and /query:l to query these tags from the (l)ocal host or the (s)ettings database and print it on screen. So a reporting tool could point it to a settings file using /settings:path /query:s to fetch all host

Re: [wpkg-users] issue with 1.2.1-RC25?

2011-10-20 Thread Rainer Meier
Hi both, On 20.10.2011 21:12, Stefan Pendl wrote: OK, so I think I know what the problem is. I think you're right ;) The fix took a bit more changes than I initially thought but I've introduced some improvements as well. Especially the debug log will now also print the variables in order

Re: [wpkg-users] Changing root profile doesn't trigger uninstalls.

2011-10-20 Thread Rainer Meier
Hi Keith, On 21.10.2011 00:15, k.e.jo...@brighton.ac.uk wrote: Long time no see. I've just implementing some upgrades to our systems and I'm testing v1.2 at last (Woo Hoo!). It looks brilliant but I'm not sure whether the changes I've seen are due to my own setup or not. I changed the root

Re: [wpkg-users] [Bug 244] New commands syntax leads to exception

2011-10-16 Thread Rainer Meier
Hi Stefan. On 16.10.2011 16:43, Stefan Pendl wrote: Thanks for fixing, will test in a few minutes. Great, there have been many fixes and improvements recently which need a bit more in-depth testing I guess. The change log for version 1.2.1 clearly shows that it's much more than just

Re: [wpkg-users] [Bug 244] New commands syntax leads to exception

2011-10-16 Thread Rainer Meier
Hi Stefan, On 16.10.2011 18:56, Stefan Pendl wrote: In addition this syntax will allow to shorten the lines of the posted examples at the wiki, so it gets more readable. I have just implemented more flexibility. Hopefully users will not be too confused. BUt the templates and installer

Re: [wpkg-users] Test results for wpkg.js 1.2.1-RC25

2011-10-16 Thread Rainer Meier
Hi Stefan, On 16.10.2011 23:09, Stefan Pendl wrote: I have done some excessive testing by removing all packages from my test systems and reapplying them. Many many thanks for extensive testing. We really need skilled test resources. The more features WPKG implements the more possibilities

Re: [wpkg-users] Accessing value of revision in cmd

2011-10-11 Thread Rainer Meier
Hi MI, On 11.10.2011 22:50, MI wrote: Is there any way to use the value of the revision attribute inside a package definition? I tried things like variable name=myvar value=%revision% /, without success. What I'm after is a way to use things like install cmd=reg add HKLM\software\mykey /v

Re: [wpkg-users] existing installed software does not get updates from wpkg

2011-10-09 Thread Rainer Meier
Hi MI, On 09.10.2011 18:50, MI wrote: I started using wpkg, after I had most software already installed on the machines. When I create a package, it doesn't seem to be applied, because the check condition (for example uninstall for Thunderbird x.y.z) returns true. Actually you seem to check

Re: [wpkg-users] Problems with download tag

2011-09-21 Thread Rainer Meier
Hi Heiko, On 21.09.2011 15:40, heiko.hel...@horiba.com wrote: fixed it - at least this works - I don't really speak Jscript :) I can confirm that this at least was a bug in 1.2.1-RC20. I am currently working on some larger enhancements. Unfortunately I am running short on resources which

Re: [wpkg-users] [Bug 184] Add an inherit attribute to package actions

2011-09-16 Thread Rainer Meier
Hi Stefan, On 16.09.2011 21:37, Stefan Pendl wrote: Corrected my packages today and all is well, thanks for the inheritance ;-D Nucular, the word spells n-u-c-u-l-a-r ;) Now there is a huge pile of package-optimization in front of me due to the recently added functionality. I feel really

Re: [wpkg-users] [Bug 185] Add more options to the query command line switch

2011-09-15 Thread Rainer Meier
Hi Stefan, On 15.09.2011 20:51, Stefan Pendl wrote: I have done some testing and it seems to work as expected. Great. It would still be great, if one could use a server-side wpkg.xml file to check against, which would be supplied by a command line option. Did you try the

Re: [wpkg-users] No console output when using /debug

2011-09-15 Thread Rainer Meier
Hi Heiko, On 15.09.2011 16:24, heiko.hel...@horiba.com wrote: When using wpkg.js (1.2.1-RC18) with /debug switch (specifically, /debug /noreboot /nonotify), then there's no output to the console any more. Is this a bug or did I miss a change? It was a bug. Fixed in 1.2.1-RC19:

Re: [wpkg-users] [Bug 184] Add an inherit attribute to package actions

2011-09-15 Thread Rainer Meier
Hi Stefan, On 15.09.2011 19:59, Stefan Pendl wrote: I have the following package commands: install inherit=remove/ install cmd='MsiExec.exe /passive /norestart /log %TMP%\%JH_PKG_NAME%.log /i %JH_PKG_MSI%' / upgrade inherit=install/ remove cmd='MsiExec.exe

Re: [wpkg-users] [Bug 184] Add an inherit attribute to package actions

2011-09-13 Thread Rainer Meier
Hi Marco, On 13.09.2011 09:26, Marco Gaiarin wrote: Mandi! bugzilla-dae...@bugzilla.wpkg.org In chel di` si favelave... Only a little note for the changelog: upgrade include=include / This is a typo. ;) Shit, a bug in the change log ;-) I am going to fix it. Should read

Re: [wpkg-users] [Bug 184] Add an inherit attribute to package actions

2011-09-13 Thread Rainer Meier
Hi Stefan. On 13.09.2011 12:04, Stefan Pendl wrote: In addition there are some error messages inside wpkg.js which read ... package package Is this intended? No. This was not intended and potentially based on tiredness after long working day and programming WPKG at 1:30am. I

  1   2   3   4   5   6   >