Re: [wpkg-users] Checking for Adobe Flash Player ActiveX and Plugin (check results)

2013-01-05 Thread Stefan Pendl

Am 05.01.2013 23:30, schrieb Ronny:


When I add the profile to the host again the ActiveX and the Plugin
Version is reinstalled. I thought the check is skipped, if there's a
positive result in wpkg.xml. Why is the Plugin installed?



The check results in the wpkg.xml file are only used for the /query 
option to be able to create a report of the current state.


This is mainly used by 
http://www.gig-mbh.de/edv/software/wpkgtools/wpkg-create-report-english.htm 
to generate a HTML or Excel report from copies of wpkg.xml files on a 
server.


Just ignore them, since the checks will be executed during validation of 
the installation anyways.


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] First test with architecture dependencies...

2013-01-04 Thread Stefan Pendl

Am 04.01.2013 18:16, schrieb Marco Gaiarin:



What i'm missing? Thanks.


OK, i've done a:






Get rid of the name attribute, since it is a match-all pattern and 
therefore not needed at all.


From personal experience the name attribute is deprecated and 
superseded by the extended host matching attributes.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] First test with architecture dependencies...

2013-01-04 Thread Stefan Pendl

Am 04.01.2013 18:06, schrieb Marco Gaiarin:


I'm starting to move out of XPsp3 32 bit, moving also to WPKG-GP.

Anyway, i've setup a test recipe (for WPKG-GP, of course) and added to
profiles.xml:

 
 
 
 

 
 
 
 

If i start WPKG on the win7 x86 box, in the log i can see that wpkg
correctly idetify the os as 'x64', apply profile 'default' but start to
install packages on 'base' profile plus 'xptweaks-disable-csc'
packages.


What i'm missing? Thanks.



The profile ID must be unique, so you can't use the same ID for multiple 
profiles.


Didn't you mean "Win7 x64" instead of "Win7 x86"?

I would setup one "default" profile and have the packages and 
dependencies be filtered by architecture, which is working for me at 
least for the packages, never had to use that for dependencies.













--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] [Bug 278] Wrong host match

2012-12-15 Thread Stefan Pendl

Am 14.12.2012 18:54, schrieb Helmut Hullen:



how about the following match:



"^\d\d*\.\d\d*\.\d\d*\.\d\d*$"



So if the match pattern of the name attribute matches that pattern,
then it is an IP, else it is a host name match.


Aehemmm ... what about

 345.456.567.678



The pattern translated into human language:

Start - one digit - zero or more digits - one dot - one digit - zero or 
more digits - one dot - one digit - zero or more digits - end


Sure there will be a more sophisticated check needed to allow a maximum 
of three digits per field.


I have reported this very problem in a previous version, which was 
corrected, but it seems that this change has been reverted.
I haven't reported it through the bug tracker, but through the mailing 
list, so it will be hard to find.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Architecture being ignored when installing

2012-12-13 Thread Stefan Pendl

Am 13.12.2012 10:06, schrieb Steve Kersley:

This is just untested speculation..  Are you using either wpkg-client or 
wpkg-gp, or just running wpkg.js from a login script?  If one of the clients, 
are you using the x86 or x64 versions on the x64 machines?  I haven't tried 
this, but if you were running the x86 client on an x64 OS, would wpkg.js pick 
up the architecture from the client or from the OS?



As for all 32-bit applications on Windows 64-bit the 32-bit environment 
is used.


Make sure to use the 64-bit version of the WPKG client or WPKG-GP on 
64-bit Windows to avoid this.


Always run WPKG in native mode and never in WOW mode.


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] multiple entries for a host in hosts.xml

2012-11-28 Thread Stefan Pendl

Am 28.11.2012 21:07, schrieb k2:

Hello!

The order is matter. In simple words - the first occurance wins and all
others will be ignored.

You should consider to use "dependends"es  in the profiles.xml level.
Just change the order of host definition in hosts.xml and add something
like this to profiles.xml:









Starting with WPKG 1.3 it is possible to allow multi-profile-matching, 
see config.xml node "applyMultiple".


In addition you can add this as a command line parameter for testing 
only or if you don't need it as a global setting.


To get the help for wpkg.js I use the following batch script:


cscript "%~dp0\wpkg.js" /help >"%~dp0\wpkg_help.txt"

pause



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Log Files

2012-11-26 Thread Stefan Pendl

Am 26.11.2012 22:16, schrieb Carl van Eijk:

Why not just add an additional package that runs every time with the
lowest priority that copies the log from local to the server?

C



..., because there is always something missing from the log on the 
server, if it is done by a package.


It is best to do it after WPKG.js is called, which can be accomplished 
by a post action in WPKG client or a line in the batch file executing 
WPKG.js



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] One package or another

2012-11-26 Thread Stefan Pendl

Am 26.11.2012 13:49, schrieb VERDEYEN Jonathan:

Is there a way to install one package or another depending on host
attributes without making separate profiles ?

What I would like is to do a profile which has 2 different versions of
the same program (Adobe Reader) and if the host attributes match the
first one, it will install it, but if they don’t (in any other case) it
will install the other one :



 

 



I’ve tried using the regexp “!embedded” but it doesn’t seem to work.

*Jonathan Verdeyen*



You will have to use the not logical check in a condition node.

'---code start (watch for line wraps)












'---code end

--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Disable FBWF before installing software

2012-11-16 Thread Stefan Pendl

Am 14.11.2012 18:24, schrieb heiko.hel...@horiba.com:

 > >
 > > Wouldn't this cause a reboot loop? The enable and disable package both
 > > need an immediate reboot...
 >
 > One could set an environment variable to avoid this, which gets checked
 > to prevent the execution of the install commands.
 >
 > The reboot loop problem exists with the first solution presented to the
 > OP too.
 >

Does it?

First Boot:
the  says FBWF is on, so FBWF gets disabled and an the system
boots immediately (

Sure there will be the need to include a flagging system to prevent a 
reboot loop, but that is needed for both ways.


One will have to decide which way is adding less to the overall amount 
of maintenance of the packages.


I myself would not want to have the same type of code in all of my packages.
Sure there are ways to automate this, like it is shown by the Firefox 
extensions, that use a common framework which gets filled in while the 
package is read.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Disable FBWF before installing software

2012-11-14 Thread Stefan Pendl

Am 14.11.2012 18:02, schrieb heiko.hel...@horiba.com:

 > >
 >
 > How about disabling FBWF with a package of priority  using
 > execute="always" and enabling it with a package of priority 0 also using
 > execute="always", so you won't have to implement this in each and every
 > package?


Wouldn't this cause a reboot loop? The enable and disable package both
need an immediate reboot...


One could set an environment variable to avoid this, which gets checked 
to prevent the execution of the install commands.


The reboot loop problem exists with the first solution presented to the 
OP too.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Disable FBWF before installing software

2012-11-14 Thread Stefan Pendl

Am 14.11.2012 08:40, schrieb heiko.hel...@horiba.com:

 > You can momentarily disable the FBWF to install programs and make
 > other changes to the system but it requires a reboot.
 > So : Disable FBWF > Reboot > Install Software > Enable FBWF > Reboot
 > So I have used WPKG-GP successfully to install some basic software
 > (Flash Player and what not) after disabling FBWF but would there be
 > a way to have WPKG disable the FBWF if software has to be installed,
 > reboot, proceed to the install and then re-enable it afterwards (and
 > reboot) without going in a reboot cycle ?
 >

I guess the following might work:

to disable before installation:
(this would have to go in every package unfortunately)

 
   
 
 


this will disable FBWF only if not already disabled and force an
immediate reboot without marking the package as installed - on the next
boot would skip this part and go on installing the package

to enable after installation:

have a package with priority 0 (so it installs last) and
execute="changed" attributes. This means this package will only install
if some other package hat a state change (install/upgrade/remove).
Enable FBWF there.



How about disabling FBWF with a package of priority  using 
execute="always" and enabling it with a package of priority 0 also using 
execute="always", so you won't have to implement this in each and every 
package?



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Negative Dependency

2012-10-26 Thread Stefan Pendl

Am 26.10.2012 22:07, schrieb Carlos R. Pasqualini:


yes, but you put it on another package's dependencies...
i want a way to say 'libreoffice conflicts with msoffice' in the
libreoffice package definition, and 'msoffice conflicts with
libreoffice' on the msoffice definition.



So the check might be moved one level up into the profile and the 
package is only added if the other office suite isn't installed.




what if i make a mistake when i'm selecting packages in the profile and
selecting two conflicting packages? (very possible when we have profiles
dependencies specified on different files).
Having a conflict statement on the package definition level will reduce
having troubles on user's machines.



I wouldn't deploy two office suites in one environment, at least there 
should be a difference between departments.


What is the scenario that you envision?

I would think about starting to manage hosts that have already software 
installed, which would result in such a situation.


You may just want to introduce a package "OfficeSuites", where you 
include the appropriate office suites based on conditions.

Packages depending on office suites would depend on this particular package.

This is how I manage Java dependencies/inclusions and PDF readers, for 
instance.


This way you will never apply two office suites to one host.


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Negative Dependency

2012-10-26 Thread Stefan Pendl

Am 26.10.2012 21:26, schrieb Carlos R. Pasqualini:


Thank you guys but it's not exactly what i mean...

As i can see you are saying:

'this package depends on libreoffice unless msoffice is installed'



If MS Office is removed, then Libre Office is installed, that was what 
you asked.


I don't think we need to make things more complicated, I have always 
succeeded using the current available dependencies.


Remove the package from the profile of the host and it gets removed, any 
other package being blocked by that package will be installed afterwards.


I don't think one should create complex dependency constructs for 
software deployment.


Assign what is needed to the host and allow installation of additional 
required software through dependencies, that is simple and supported.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Negative Dependency

2012-10-26 Thread Stefan Pendl

Am 26.10.2012 20:43, schrieb Geoff Brown:

Reposted from Stefan (as an example):

'---code start (watch for line wraps)












'---code end



You may want to use a uninstall check for applications.

'---code start (watch for line wraps)









'---code end

--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Negative Dependency

2012-10-26 Thread Stefan Pendl

Am 26.10.2012 15:22, schrieb Carlos R. Pasqualini:

Hi there

Is there a way to specify a negative dependency in the package
definition

i want to say:
"if package XY is found (installed), then do not even try to install
this package, just wait to wpkg to remove the other package, try again
on next reboot"

can we do something like that?



Yes, by adding a condition to the dependency. There has been something 
posted a while ago in this regard.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] WPKG-GP activity indicator

2012-10-23 Thread Stefan Pendl

Am 23.10.2012 10:48, schrieb Ulli Conrad:

Hi there,

I'm just wondering if there is any way to get less output from the
WPKG-GP activity indicator. For instance I'd like to have just the
messsage "Software XY installing", but not the "Waiting for service
to start" and "Verifying" message. Is there any way?

BTW: The "Waiting for service to start" message is displayed even if
"Show an activity indicator" is set to "no"...



"Waiting for service to start" is displayed by Windows directly, so 
there is not much to change.


The verifying message is send by WPKG and just forwarded by WPKG-GP, so 
nothing to change here, if no message filter is included in WPKG-GP.


A message filter would be an enhancement or feature request.


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Big problem with Java Update

2012-10-20 Thread Stefan Pendl

Am 20.10.2012 15:18, schrieb Cedric Frayssinet:

Thanks Pete, but it's what i do. All my install and upgrade include
'msiexec /x' for the olders versions.

http://rezotice.ac-lyon.fr/fluxbb/viewtopic.php?pid=2586#p2586



That is not what Pete meant, he said remove the version you like to 
upgrade to.


If you upgrade to 35 first remove 35, since it might be installed 
already, which results in the upgrade to fail.

In addition this will allow removing a failed upgrade too.

The Java installer is a bit tricky and results in problems from time to 
time.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Conditional depends

2012-10-18 Thread Stefan Pendl

Am 18.10.2012 13:43, schrieb Daniel Berteaud:


Thanks for the suggestion, I'll try to play with this. (my problem is
that workstations which needs JRE6 are not a specific Windows version,
so I cannot use the os attr)



It is just an example of the possibilities, so you can use any check 
condition that you see fit.


You can even reuse the conditions you use to apply the Java packages 
currently.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Conditional depends

2012-10-18 Thread Stefan Pendl

Am 18.10.2012 12:48, schrieb Daniel Berteaud:

Hi everyone.

I'd like to know if there's a possibility to make a conditional
dependency on package. Here's my problem:

- I deploy JRE 7 on most of my computers, in a package called jre
- A few computers need to run apps which requires version 6 of the JRE,
so I created a package called jre6 and assigne the correct JRE in
profile assignation (up to now, there's no problem)

- Now, I want to deploy freemind (a mind mapping software), which can
run with either jre 7 or jre 6, but I don't know how to define it.

I'd need something like:


 
 


Is there a way to make something like this ?

Regards, Daniel



I have a common package called Java, which gets added to all systems or 
included as a dependency.


The package is then including the correct java runtime engine based on 
conditions.



'---code start (watch for line wraps)

priority="10" execute="once">











'---code end

--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Firefox addon question

2012-10-16 Thread Stefan Pendl

Am 16.10.2012 21:51, schrieb Donny Brooks:


   


Starting with Firefox 4 only some extensions need to be extracted, which 
in my case are just the dictionaries.


I just copy the XPI file of AdBlockPlus over to the extension folder and 
I am done.


revision="%PKG_VER%" reboot="false" priority="10">









value="{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}.xpi" />


path="%PKG_DST%\%PKG_FILE%" value="%PKG_SIZE%" />













--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Figuring out check type

2012-10-11 Thread Stefan Pendl

Am 11.10.2012 15:23, schrieb Donny Brooks:


I would think it is >>path="Malwarebytes' Anti-Malware %version%"<<

Could you check "add/remove programs" (appwiz.cpl) for the correct
display name?



I figured out the Malwarebytes one. In the package's xml I had it listed as:

path="Malwarebytes' Anti-Malware version %version%"

when after double checking it doesn't have the ' behind Malwarebytes. So it 
should read:

path="Malwarebytes Anti-Malware version %version%"

Thanks for pointing me in the right direction.



In most cases the wpkg.log file in the %TMP% folder on the client will 
tell you what is wrong.


Sure it is not saying that the uninstall entry is wrong, but it will 
tell you that it can't find it.


So this is where I start debugging ;-)


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Figuring out check type

2012-10-10 Thread Stefan Pendl

Am 10.10.2012 23:45, schrieb Donny Brooks:

I am having a problem with a number of my packages constantly reinstalling themselves on 
every reboot. I am finally getting around to checking out the issue. In my search it 
appears I may be using the "check type" variable incorrectly .

Here is one of the packages that is giving me fits:



--snip



With that I did some digging and if I read the wiki right I may want to change that 
condition="exists" to condition="versionequalto" or similar, right? Help me 
figure out the check type please.



I don't think it's the "condition", but the "path".

I would think it is >>path="Malwarebytes' Anti-Malware %version%"<<

Could you check "add/remove programs" (appwiz.cpl) for the correct 
display name?



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Windows 7 Home

2012-10-10 Thread Stefan Pendl

Am 10.10.2012 14:13, schrieb Rainer Meier:

Hi,

On 10.10.2012 13:46, Krzysztof Gibas wrote:

Is there wpkg-client source available anywhere?


Check on Sourceforge:


SVN: 



The latest source of the wpkg client is available for download at 
http://wpkg.org/files/client/stable/WPKG%20Client%201.3.14-src.zip which 
you can access through http://wpkg.org/ => Download => WPKG client => 
All previous WPKG client downloads.


The SVN at Sourceforge is outdated in respect to the WPKG client.


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Problem with 64bit version of WPKG on WinXP 64

2012-09-19 Thread Stefan Pendl

Am 19.09.2012 16:24, schrieb Kyle Conti:

Stefan,

I apologize for not responding.  It has been very busy here at work.  I
have tried setting the service to manual - still has the same issue of
needing to repair the wpkg application.  I have not set the service to
stop after execution in the wpkg client settings.

WPKG_Force_Update.bat looks like:
"
:: Startup script for wpkg, for the first installation
::
:: These are not (still) defined elsewhere, define it.
::
@ECHO Updates Being Installed Please be Patient...

set WPKGROOT=\\server\data\software\wpkg
set SOFTWARE=\\server\data\software\Applications\Windows
set ALLUSERS_STARTMENU="C:\Documents and Settings\All Users\Start
Menu\Programs"
set ALLUSERS_DESKTOP="C:\Documents and Settings\All Users\Desktop"

:: Call directly wpkg.js, note the %* at the end, that permit to add
custom parameters...
::
assoc .js=JSFile
cscript %WPKGROOT%\wpkg.js /synchronize %*
"

If you need to to send some of our past emails to catch you up, please
let me knowits been since mid august since we last spoke (sorry again).



I don't see anything obvious, so I am lost at how to further help you.

I don't think you need to associate the .js extension on each run.
I never had a software changing it and you use "cscript" directly and 
not "start" or "explorer".


Does the Windows event log shed some light on this issue?


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] deploy the application immediately without administrator rights

2012-09-18 Thread Stefan Pendl

Am 18.09.2012 12:16, schrieb Florent Lagoda:

Hi,
I search what is the exactly command that WPKG execute at the start of
the computer for install software (without administrator rights).
I would like to deploy applications according to user demand (without
administrator rights / click to deploy the application immediately).

It's possible ?

Thanks.



WPKG does nothing in this regard, it just uses the context of the 
executing user.


The installer must support installing as non-administrative user.


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


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

2012-09-13 Thread Stefan Pendl

Am 13.09.2012 21:19, schrieb Carlos R. Pasqualini:


  
   
   


May be the problem was caused by the double variable expansion, which is 
only supported with wpkg.js 1.3.0 and higher.


I usually use the following in such a case:




2012.09.13 is the date when I changed the package definition in the 
format .mm.dd, I only use this if I made a mistake and doesn't like 
to increase the real version number of the software.


In some cases I even add the time, if I was so stupid to make another 
mistake, so the revision attribute turns into %PKG_VERSION%..mm.dd.hh.mm


When I am testing packages I usually add the rc.. suffix like this:
revision="%PKG_VERSION%rc1"

This is all supported without any modification of wpkg.js and makes some 
sense to me.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] WPKG on Windows 7

2012-09-12 Thread Stefan Pendl

Am 13.09.2012 00:04, schrieb Carlos R. Pasqualini:

El mar, 11-09-2012 a las 16:04 +0200, Marco Gaiarin escribió:

+ WPKG-GP have notification messages, but only on startup (and my
   experience say me that doing installation on startup is a pain).


i have not found any other way to reliably install software on Win7
without WPKG-GP (yes, on startup...)



can we talk of WPKG-GP specific problems in this list?

I'm having some trouble with WPKG-GP + Win7 because it tries to start
before the computer have access to the network.



The official support group for WPKG-GP is at 
http://groups.google.com/forum/?fromgroups#!forum/wpkg-gp


There you will find a solution to your problem being posted just this week.


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


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

2012-09-12 Thread Stefan Pendl

Am 12.09.2012 22:07, schrieb Carlos R. Pasqualini:


What does the number after the hyphen mean in your version number?

x.y.z-a ... what means "a"?


i reserve the last value for reviews of the .xml file with the same
version of the installer.

suppose i have a 1.2.3 version of the package, i'll create a 1.2.3-0
revision of the xml, and if i found something wrong in the XML file, i
can create 1.2.3-1 ... 1.2.3-9 without having trouble with the possibly
upcoming version 1.2.4 of the package.

It's just used by me.

¿do you think it's bad to do that?



I have done so in the past too, but am now adding the additional version 
part with a dot, since the hyphen gave me some unexpected results.




In general this should be solvable by using:
  
  



i this particular case, i do not need to execute remove before install,
because i'am not really downgrading, i'm upgrading but WPKG thinks i'm
downgrading, apparently there was an error in a previous version of the
xml file (i'm trying to understand what have happened).



Can you post the package as it is contained in the file 
"%SystemRoot%\System32\wpkg.xml" on the failing system and how it is now 
defined on the server?


If we compare those two we can better see what is going on, since that 
is the thing WPKG.js compares too.



By the way, i have no way to know all the remove commands for every
package's version; as i understand, i cannot use the remove command of
other version of the XML package because it will call the remove section
of the current version of the XML package, not the remove section of the
installed version of the package; to call the remove section of the
installed package, i need to remove the package from the profile.



Generally I use the MSI file for remove too, since I really don't like 
and need to bother with the application IDs.
I don't know why users spend so much time on finding out the application 
IDs, when there is a simpler solution.


Nowadays MSI files are able to remove older versions of the software too.


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


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

2012-09-12 Thread Stefan Pendl

Am 12.09.2012 19:43, schrieb Carlos R. Pasqualini:


As I understand the  does not have any inference in the
decision of upgrading or downgrading a package.



The checks are defined to make sure the version to be installed with the 
current package is installed correctly.


In general this means different things in different situations.

1) initial install (no entry in local wpkg.xml file):
   check if software is already installed to prevent double installation

2) upgrade and downgrade (previous entry in local wpkg.xml file):
   check if up-/downgrade really succeeded
   this can be changed with some package attributes to check before
   up-/downgrading

3) remove (package is no longer applied through a profile):
   make sure the package is installed before it will be removed



What does the number after the hyphen mean in your version number?

x.y.z-a ... what means "a"?

In general this should be solvable by using:





--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] remove software

2012-09-12 Thread Stefan Pendl

Am 12.09.2012 12:54, schrieb James Dean:

I do not understand how collecting of packages to remove works. In
logfile I found: Number of packages to remove: 0. But I have removed one
package from profile. Can you explain this? Cheers



There might be a dependency or inclusion specified by a different 
package or profile.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] WPKG on Windows 7

2012-09-11 Thread Stefan Pendl

Am 11.09.2012 16:04, schrieb Marco Gaiarin:


First doubt is about the ''client'': AFAI've understood:

+ WPKG Client work well on startup and shutdown on seven, but there's
   no way to have notification messages.



Sorry, this is not correct.

During my testing the client was always killed after about 10 minutes 
after initiating the shutdown.


Vista and above don't allow to run a service any longer.

The Windows update is a separate thing and runs after all services have 
been killed, it is no longer initiated by the wuauclt service.


Your best bet is to create a scheduled task that checks if a user is 
logged on and runs WPKG.js if there is nobody logged on followed by a 
shutdown.


This can all be done by a DOS command script.


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] remove software

2012-09-04 Thread Stefan Pendl

Am 04.09.2012 19:35, schrieb Detlef Spillner:

This problem exist also on other packages. One has to remove only one
folder in %programfiles%. In wpkg.xml the entry is deleted. Bud the
folder exist. If I test command in cmd it works. The line is by cut &
paste testet. Strange. One problem is also: in silent installers at
wpkg.org  all old installations are deleted. It works
under update or install.

Many thanks for fast answer.



The packages are what people have used to fulfill their needs, they are 
not in any way the only solution.


I personally use them to collect some hints about how I could set up my 
packages, but I seldom copy them entirely.


It is something to start with and the environments of the users are as 
numerous as the amount of users.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] remove software

2012-09-04 Thread Stefan Pendl

Am 04.09.2012 12:56, schrieb James Dean:

Hi,

it is strange: No problem install software with wpkg. But I can not remove 
packages. I test remove cmd at the command line: voila, software is deinstalled.

Example:



If I remove package from profile package is only deletet in wpkg.xml. If I test 
uninstall command on command line: No problem. Java is deletet.

I use wpkg client WPKG Client 1.3.14-x32 under XP and WIN 7 and WPKG 1.2.

Can somebody help?

Cheers



Do you stop the java quick starter service before you remove the software?

I have found that remove only works if this is not running when java is 
removed by wpkg.


Interactive remove doesn't exhibit this problem.


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


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

2012-08-31 Thread Stefan Pendl

Am 31.08.2012 23:45, schrieb Carlos R. Pasqualini:


Today i found an error on a package description, i suspect that type of
errors are the source of troubles, but i need to debug and find others,
and the output of /debug apparently is not showing all the info i need
to understand the trouble.



It is all about reading the log file, you just need to make sure the log 
level is set to 0xFF.


You could post the offending portion of the log too.


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


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

2012-08-31 Thread Stefan Pendl

Am 31.08.2012 18:53, schrieb Carlos R. Pasqualini:

Hi people!


i'm having trouble with upgradings trough wpkg and cannot find any way
to debug it ¿is there a debug howto or something? i couldn't find any
info about it.



Have you already tried the /debug switch?

"cscript wpkg.js /help" will display all available switches.


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Uninstall / Removing and App after removing it from the profile

2012-08-29 Thread Stefan Pendl

Am 30.08.2012 01:43, schrieb Shier, Jon:

So I am running version 1.3.0.  In one of my profiles I have a list
packages that are to be  installed. If I remove one entry for a package,
it does not uninstall the program like I’m used to.  The package.xml
does have an remove entry, but it acts like it just skips over the fact
that it has now been removed. How can I troubleshoot the issue or is
there another way to uninstall that package from the profile.xml?



Could be a dependency that is still active.

Check for depends, include and chain nodes in your packages.


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


[wpkg-users] SourceForge project

2012-08-29 Thread Stefan Pendl

Hi Tomasz,

it would be nice to have a more recent version of WPKG published at 
http://sourceforge.net/projects/wpkg/ , since currently users download 
the very outdated version 0.9.10 of wpkg.


Sure it would be cumbersome to keep multiple download sites in sync, so 
removing the files from SF.net would be an option too.


I know that Rainer uses SF.net for the SVN repository, which I have 
checked out, so keeping wpkg at one place would make sense.


I really see no reason to not use the files area of the SF.net project 
for distribution of wpkg.
The download could be linked to directly from http://wpkg.org/Download 
using http://downloads.sourceforge.net/wpkg/wpkg-1.3.0-bin.zip for instance.


Just a thought about using existing resources efficiently ;-)


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Always reinstalling package (Check failed)

2012-08-29 Thread Stefan Pendl

Am 29.08.2012 22:25, schrieb benoi...@free.fr:



It might be enough to post the package for further help.


Here is the package :


  
 
 




 



 



 





The package doesn't include any  nodes, so there is nothing to 
check and the package will be installed on each run.


I would at least check the uninstall entry to make sure the package is 
installed.


Another way would be to use the package attribute >>execute="once"<<, 
but that wouldn't check if the package is installed properly, it would 
just make sure that the installation is not executed at each run.


I recommend to include something like:



Where path would be the DisplayName value of the pGina uninstall 
registry key and value would be the DisplayVersion.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] apparently a bug in the uninstall check

2012-08-29 Thread Stefan Pendl

Am 29.08.2012 16:15, schrieb jurgen.depic...@let.be:

Dear all,

when using

the expression matches, but when using

the check fails.

2012-08-29 16:01:23, DEBUG   : WPKG 1.3.0 starting...
...
2012-08-29 16:02:05, DEBUG   : Uninstall entry 'Compatibiliteitspakket
voor het 2007 Microsoft Office system' matches expression
'Compatibiliteitspakket voor het 2007 Micr.+'.

Apparently the check only works for 'paths' shorter then x characters.

Grts, J



Are you sure the DisplayName matches your path?

It seems that there are some trailing characters, may be spaces, which 
result in the fail.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Always reinstalling package (Check failed)

2012-08-29 Thread Stefan Pendl

Am 29.08.2012 14:09, schrieb benoi...@free.fr:

Dear All,

I'm facing a strange behavior : check before install, package is seen as 
previously installed but it's always reinstalling. Here is an extract of the 
log file :



--snip


2012-08-29 13:42:57, DEBUG   : Comparing version: '3.0.12.1' <=> '3.0.12.1'.
2012-08-29 13:42:57, DEBUG   : Checking existence of package: pGina
2012-08-29 13:42:57, DEBUG   : Package 'pGina' (pgina): Installed but checks 
failed. Re-Installing.
2012-08-29 13:42:57, DEBUG   : Package 'pGina' (pgina): Prepared for 
installation.
2012-08-29 13:42:57, DEBUG   : Checking existence of package: pGina
2012-08-29 13:42:57, INFO: Package 'pGina' (pgina): Not installed (checks 
failed). Preparing installation.
2012-08-29 13:42:57, DEBUG   : Installation of references (dependencies) for 
'pGina' (pgina) successfully finished.
2012-08-29 13:42:57, INFO: Installing 'pGina' (pgina)...


--snip



Do you have any idea ? Thanks a lot.



From the log this is hard to tell, since the information about the 
executed checks is missing.


For debugging always set the logLevel to 0xFF, so all information is 
included in the log.


It might be enough to post the package for further help.


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


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

2012-08-29 Thread Stefan Pendl

Am 29.08.2012 13:41, schrieb Malte Hohmann:

To be a bit more precise: I have a package "OracleInstantClient" which
sets the environment variable ORACLE_HOME using setx.exe utility with
parameter "-m" (system-wide). This works great. Now I have a second
package which depends on OracleInstantClient. In this second package I
need to read the new value of ORACLE_HOME which was set during
installation of OracleInstantClient, but referecing to %ORACLE_HOME%
here does not work. So it would be great if WPKG could re-create the
whole environment variables from scratch on every new package. Maybe
reading from HKLM\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment would do...
However, this could also be achieved by assigning a variable the content
of a registry key ;o)



I think the problem here is that setx.exe doesn't notify the system of 
the change, so cscript.exe doesn't update the process environment.


May be cscript.exe doesn't support updating the process environment at 
all, so wpkg.js must be made aware of that change internally.




The OPs question could be solved by a DOS command script using "REG 
QUERY" to read the registry and "FOR /F" to parse the output.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] WPKG on Windows 8

2012-08-28 Thread Stefan Pendl

Am 28.08.2012 15:44, schrieb jurgen.depic...@let.be:

Dear Rainer,

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 ;-).

Did you use such a method as described in
http://lists.wpkg.org/pipermail/wpkg-users/2011-December/008424.html:

  
  
  
  
  
  
  
  




I think he used something like the code below.
One could as well check the installed IE release.

'---code start (watch for line wraps)


   
  
 

 
  
   
   


'---code end

--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Run on a schedule

2012-08-20 Thread Stefan Pendl

Am 20.08.2012 12:55, schrieb Malte Starostik:

Am Montag, 20. August 2012, 08:59:09 schrieb Stefan Pendl:

Am 19.08.2012 18:50, schrieb Troy Hamilton:

On Sun, Aug 19, 2012 at 9:19 AM, Kristofer mailto:kristo...@cybernetik.net>> wrote:
 Is it possible to run on a schedule (every 12 or 24 hours for
 example), in the case that users never log out, or I want to make
 sure updates get pulled by clients in a some-what timely fashion?


Just add an new task using task scheduler, so you don't have to install
any other software.

I am currently using a DOS command script, which checks if there is a
running explorer.exe process, since this indicates a logged on user.


This JS snippet (sorry for the broken formatting) works even in the -
admittedly rare - case when people use a different shell than explorer.exe.
Kiosk systems come to mind or developers that work on e.g. shell extensions
and deliberately kill explorer.exe:

if (GetObject("winmgmts://./root/cimv2").ExecQuery("select UserName from
Win32_ComputerSystem where not UserName is null").Count > 0)
   WScript.Echo("Someone's logged in");



Thanks for posting that one-liner ;-)


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Run on a schedule

2012-08-19 Thread Stefan Pendl

Am 19.08.2012 18:50, schrieb Troy Hamilton:

On Sun, Aug 19, 2012 at 9:19 AM, Kristofer mailto:kristo...@cybernetik.net>> wrote:


Is it possible to run on a schedule (every 12 or 24 hours for
example), in the case that users never log out, or I want to make
sure updates get pulled by clients in a some-what timely fashion?



Just add an new task using task scheduler, so you don't have to install 
any other software.


I am currently using a DOS command script, which checks if there is a 
running explorer.exe process, since this indicates a logged on user.


It is seldom good to install software if a user is logged on.


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Problem with 64bit version of WPKG on WinXP 64

2012-08-14 Thread Stefan Pendl

Am 14.08.2012 15:32, schrieb Kyle Conti:

Stefan,

To answer your question on how we push out software to our users, I have
attached three scripts.  So initially, I run the UpdateScript64.bat
script.  I choose to input the IP for the computer I want to push the
updates to.  If the computer does not currently have wpkg on it, it will
run the InstallWPKG_64.bat script, then follow up with the
updatescript64.bat.  If the computer already has wpkg client already
installed, it only runs the updateworkstation.py script.

I have gone ahead and removed/replaced things relating to my company in
these scripts.  Please take a look through if you'd like.  Once again,
the problem is that on 64 bit computers I HAVE to reinstall the wpkg
client before I can update a user again (after that user restarts
his/her machine).  On 32 bit computers, I can just keep running the
update script and there are no issues.  What would cause 64bit computers
to mess up the client after a restart?

I had to rename the attachments to .txt to send.



Kyle,

how about setting the WPKG service to manual instead of disabling it 
entirely?


Have you set the service to stop after execution in the wpkg client 
settings?



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Problem with 64bit version of WPKG on WinXP 64

2012-08-14 Thread Stefan Pendl

Am 14.08.2012 15:32, schrieb Kyle Conti:

Stefan,

To answer your question on how we push out software to our users, I have
attached three scripts.  So initially, I run the UpdateScript64.bat
script.  I choose to input the IP for the computer I want to push the
updates to.  If the computer does not currently have wpkg on it, it will
run the InstallWPKG_64.bat script, then follow up with the
updatescript64.bat.  If the computer already has wpkg client already
installed, it only runs the updateworkstation.py script.

I have gone ahead and removed/replaced things relating to my company in
these scripts.  Please take a look through if you'd like.  Once again,
the problem is that on 64 bit computers I HAVE to reinstall the wpkg
client before I can update a user again (after that user restarts
his/her machine).  On 32 bit computers, I can just keep running the
update script and there are no issues.  What would cause 64bit computers
to mess up the client after a restart?

I had to rename the attachments to .txt to send.



Kyle,

what is "WPKG_Force_Update.bat" looking like?


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Problem with 64bit version of WPKG on WinXP 64

2012-08-11 Thread Stefan Pendl

Am 10.08.2012 18:49, schrieb Kyle Conti:

Stefan,

I wasn't aware you can execute the wpkg.js and install programs without
having the wpkg client installed.  Anyway, I'd still like WPKG client to
stay working without having to reinstall since our current scripts
install the client remotely and then update the system that way.  I do
not have the time to rewrite our scripts.  As i've said before, this
works perfectly fine on 32-bit systems with no reinstalls needed.  Very
strange.  Any ideas on why this would happen?



So we would need more information about how your environment is set up.

Currently I am not sure how you are using WPKG.

A detailed step-by-step description would be handy.
Any scripts and settings that aren't easy to describe would be handy too.

BTW, always use "reply to all" so you are also replying to the group not 
just to the individual.
This makes sure that more people get involved, since it is likely that 
someone uses a similar set up and can point out the cause of your 
problems directly.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Problem with 64bit version of WPKG on WinXP 64

2012-08-10 Thread Stefan Pendl

Am 09.08.2012 23:07, schrieb Kyle Conti:

Thanks for the reply!  I am also using 1.3.14 on WinXP x64 SP2 and Win7
64.  They seem to act identically.

I do not use WPKG in the regular way...I have a script that remotely
pushes updates to clients I designate by IP addresses.  I do not run
wpkg on startup or shutdown.  For now, I am just manually running the
forceupdate.bat script to install the packages I have created on
WPKGexpress.  Works great! but...for some reason it makes me have to
reinstall it or else the script fails.



Kyle,

since you aren't using a poll configuration, why use the client at all?

You can do this with a regular scheduled job too.

The client is optional, so I don't have it installed on my Win7 machines 
at all, since I use a scheduled task that executes WPKG.js directly.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Problem with 64bit version of WPKG on WinXP 64

2012-08-09 Thread Stefan Pendl

Am 09.08.2012 19:38, schrieb Kyle Conti:

Hello WPKGUSERS,

I have been running into this issue where I have to
reconfigure/reinstall WPKG on a computer after a system (Windows XP
64bit) restart.  This doesn't happen on Windows XP Professional SP3.  We
are going to be moving to Windows 7 64bit very soon, and I would really
not like to have to repair WPKG everytime I want to do a forceupdate.

When I do try to run forceupdate after a computer restart, the script
kicks off and quickly ends.  A repair pointing to our settings file
fixes this and am able to do a forceupdate.  Is this a known issue on
64bit machines?  I am indeed using the 64-bit version of WPKG on the
64-bit machines.  I'd really appreciate the help.  Thanks!



Which version of the client do you use?
When do you run it (start up or shutdown)?

BTW, using the client on Win7 is a bit tricky.

I haven't had such problems when running the latest client v1.3.14 at 
shutdown on WinXP x64 Edition SP2.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Manual package dependencies being uninstalled on sync

2012-08-08 Thread Stefan Pendl

Am 08.08.2012 13:45, schrieb Steve Kersley:

I’m not sure if there is a bug in the way that manual package
installation is handled (unless it’s by design?), or more likely I have
made a mistake in my package? A packages installed as a dependency to a
package that is installed manually wants to uninstall itself again on
next synchronization.

For instance: I have a package, vc-runtime-2005, to install the MS VC++
runtimes which depends on both the x86 and x64 packages (I felt it was
more elegant to do it this way than one package which contains combined
checks for both architectures, if applicable, and installed both if
either check fails):

[Originally the check, install, remove and upgrade statements weren’t
here – I added these to ensure that the problem wasn’t being caused by
wpkg not being able to tell if this parent package had installed
successfully, see final paragraph below]



 

 



--snip

I usually use such a technique too and have never encountered a failure.

I would only include the 64-bit runtime files, since they aren't valid 
for 32-bit Windows:








I think a dependence is only valid, if it is always needed.
If it is only valid for a certain number of clients, then it is better 
to have an include.


This is just my personal opinion, so Rainer might have a better description.


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] versiongreaterorqual dont remove!‏

2012-08-06 Thread Stefan Pendl

Am 06.08.2012 12:18, schrieb Hamza K.:

Hi i dont understand that..
  my steps:

1. i have install the version 1.9.0 of unlocker
2. i write in the upgrade the command:  because i dont know if he does a upgrade WPKG install the
newer Software without the versiongreeaterorequal too. But i want he
does it with versiongreaterorequal. So i change version of unlocker
1.9.1 now he must do a upgrade.
3. WPKG do a upgrade(but no "Hallo!" directory in C:... that means for
me he dont do a upgrade.) and if i want to uninstall he do nothing.
Here is the Package,LOG and WPKG.xml file:



--snip


2012-08-06 11:57:19, DEBUG   : Executing command: '%ComSpec% /C MOVE
"C:\ProgramData\Microsoft\Windows\Start Menu\Programs\%PROGRAMMNAME%"
"C:\ProgramData\Microsoft\Windows\Start
Menu\Programs\Anwendungen\%KATEGORIE%"' ('C:\Windows\system32\cmd.exe /C
MOVE "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Unlocker"
"C:\ProgramData\Microsoft\Windows\Start
Menu\Programs\Anwendungen\System-Programme"').
2012-08-06 11:57:19, ERROR   : Could not process (install) package
'Unlocker' (unlockerx64):|Exit code returned non-successful value (1) on
command '%ComSpec% /C MOVE "C:\ProgramData\Microsoft\Windows\Start
Menu\Programs\%PROGRAMMNAME%" "C:\ProgramData\Microsoft\Windows\Start
Menu\Programs\Anwendungen\%KATEGORIE%"'.


The folder "C:\ProgramData\Microsoft\Windows\Start 
Menu\Programs\Unlocker" or "C:\ProgramData\Microsoft\Windows\Start 
Menu\Programs\Anwendungen\System-Programme" is missing, so the upgrade 
fails.


You will have to include a check to move the folder only if it exists, 
or you allow "any" exit code for this command.


Resolving this problem should make sure the upgrade works.

If you have a problem, always check the log file for a line containing " 
ERROR " ;-)



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Autodesk Suite forks another install process; exits 256

2012-08-02 Thread Stefan Pendl

Am 02.08.2012 23:04, schrieb Sebastian Elsner:

Hi,

I was also fighting with Maya for a long time. Maya runs a Setup.exe
which forks another setup.exe which fork the msiexecs. finally I ended
up writing a .vbs script to watch the second setup.exe which seems to
block at least for maya. Tomorrow when I am back in the office I can
send it to the list.

Cheers

Sebastian

P.S. Autodesk product installers are hell.



All mixed installers are hell, since they are never written for simple 
deployment utilities >:-(


One could use TASKLIST in a command script on WinXP and above too, but 
VBS seems to be more straight forward.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] nsis silent uninstall not removing uninstall.exe

2012-08-02 Thread Stefan Pendl

Am 02.08.2012 21:18, schrieb Sebastian Elsner, rise|fx:

Thanks, I will have a look at them.


The forking of the process also results in the package still being 
removed, while WPKG advances to the next command.


This is also prevented by the _?= switch, so WPKG will wait until the 
removing is finished.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] skip client run

2012-08-02 Thread Stefan Pendl

Am 02.08.2012 19:53, schrieb Sebastian Elner:

Hi,

a colleague of mine just asked me if it is possible to skip/prevent the
run of wpkg client at shutdown if there is an urgent reason for reboot
and you know its going to install some heavy package. Is there some
functionality like this?

Cheers

Sebastian



Ctrl+Q allows to abort the WPKG client, but this is troublesome, since 
you might just break during an installation, which leaves the system in 
an unstable state.


In general silent installers are hard to abort.

One way would be to always include one package initially, that does 
nothing but "ping -n 11 localhost",  which results in a ten second delay.


The package could have the name "Press Crtl+Q to abort WPKG", which 
would be displayed, if the WPKG client is used and WPKG is started with 
the /sendStatus command line switch.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] nsis silent uninstall not removing uninstall.exe

2012-08-02 Thread Stefan Pendl

Am 02.08.2012 19:41, schrieb Sebastian Elner:

Hello,

I have the problem that several uninstallers (InnoSetup and NSIS) do not
remove their uninstall.exe/unins000.exe. For NSIS I can prove that this
is not related to wpkg, the silent uninstall is also leaving the
uninstall.exe on disk when executing uninstall.exe /S separately on the
command line. Using the gui works fine. For InnoSetup I am unsure, but I
do not suspect wpkg. Why are the uninstallers doing this? Does anyone
have experience dealing with this stuff?

Cheers

Sebastian




The latest version of WPKG includes some package templates, which show 
how to get rid of all the files.


NSIS forks a second process if uninstalling silently, this can be 
prevented by the _?= command line switch.


Inno Setup doesn't have this issue.


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Help me please..

2012-07-30 Thread Stefan Pendl

Am 30.07.2012 11:28, schrieb Hamza K.:

Hi Stefan thanks for your answer.
My problem is if i install a package with wpkg using versiongreaterorequal.
The Package will be installed or upgraded but not removed.
I think that is not versiongreaterorequal that makes update or remove.
In the log i see this: 1.9.1 <=> 1.9.0 before i use versiongreaterorequal.
That means WPKG checks for version and NOT VERSIONGREATEROREQUAL i think.
I think i am in the right. But if i want remove the package WPKG does
nothing because he cant find the Programm wit the VERSIONGREATEROREQUAL.
It were be very nice if you can Help me.
And sorry for my bad English.
Hamza Yaman



Hamza,

Always use "Reply to all" (Allen Antworten), so the mailing list gets a 
copy.


Best you only send messages to the mailing list and not to individual 
persons.
(Am besten Du sendest die Nachricht nur an die Gruppe und nicht an 
einzelne Personen.)


Attached find a version of the package that now waits for the 
application to be removed.

In addition I have shortened the lines and got rid of the embedded quotes.
There have been other syntax errors by dangling quotes too.

NSIS is a bad installer when it comes to removing the application, since 
it creates a new process, which in turn results in the application not 
being removed correctly.
This can be prevented by the _?={installation path} command line switch, 
which is included in the NSIS template.


Make sure to use the latest WPKG version 1.3.0 for this package.

If you still have problems, post the log file so the group can have a 
look at it, and don't send messages only to me!!



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
















































-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Help me please..

2012-07-20 Thread Stefan Pendl

Am 20.07.2012 09:56, schrieb Hamza K.:

I change it but dont work :(

 > > > 2) cmd="" must be a real command that can be executed by the
 > > > Windows shell I dont understand..

thx
Hamza



Did you already check the log file created in the temporary folder 
(%TMP% or %TEMP%) of the executing user?


The log will tell you exactly what's wrong.

Anything you can execute from the dialog [Windows]+R can be used as cmd 
attribute.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Help me please..

2012-07-20 Thread Stefan Pendl

Am 19.07.2012 14:10, schrieb Hamza K.:

Hi,
versiongreaterorequal dont work.
I dont understand why he not check.
if i change the revision he install the package but the old package is
dont removed.
example: Unlocker is installed with the version 1.9.0
   i want the programm do a update to 1.9.1
with the versiongreaterorequal that doesnt work.
if i change the revision that work but he do install but no upgrade
sry for my bad english im from germany. And why two checks dont work?






   
   
   
   
   
   
   
   


   

   
   
   
   
   
   

   
   
   

   
   



Please Help me :(
Hamza

 > 2) cmd="" must be a real command that can be executed by the
 > Windows shell
 > 3) if you like to include any other package command you must use the
 > include="" property
 >


You haven't corrected the two errors mentioned above.


 >
 > 
 > 
 >


The above correction is still missing from your current package.

BTW, always reply to the list and not to individual users, so either hit 
"Reply All" (Allen Antworten) or "Reply List" (Liste Antworten), 
whichever your e-mail client supports.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Help me please..

2012-07-13 Thread Stefan Pendl

Am 13.07.2012 11:24, schrieb Hamza K.:


Hi,

i have a Problem...
I can easily install and uninstall my programs but i dont know why they
fails if i want to upgrade or do a file check.
My Programs dont Upgrade and dont remove if i have two checks. And with
the file check it dont install,remove and upgrade it.
Can anyone help me?


There are at least three problems with your package:

1) use versiongreaterorequal to be able to check for the current
   or a higher version
2) cmd="" must be a real command that can be executed by the
   Windows shell
3) if you like to include any other package command you must use the
   include="" property


'---code start (watch for line wraps)







'---code end

--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?


-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Notepad++

2012-07-06 Thread Stefan Pendl

Am 06.07.2012 15:48, schrieb Cedric Frayssinet:


Solution of Daniel works for this application.

Cédric



As an alternative you may like to check the solution below.


'---code start (watch for line wraps)

reboot="false" priority="30">



architecture="x86"/>
value="%ProgramFiles(x86)%\Notepad++" architecture="x64"/>


path="Notepad++" value="%PKG_VERSION%" />








cmd="%SOFTWARE%\Notepad-plus-plus\npp.%PKG_VERSION%.Installer.exe /S" />












'---code end

--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?


-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] [Bug 275] New: Bullet-proofing log files.

2012-07-05 Thread Stefan Pendl

Am 06.07.2012 00:21, schrieb bugzilla-dae...@bugzilla.wpkg.org:


  I added a package that installed updated network drivers. As you can imagine,
at some point during their installation the network was dropped and when WPKG
tried to write to the logfile that I'd redirected to a server share it just
crashed and burned.



I let WPKG create the logs on the local drive and copy them over to the 
server share after the process finished.


Using WPKG Client here, so am using a pre- and post-action batch script 
to handle this.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?


-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Error parsing xml / not well formed

2012-07-05 Thread Stefan Pendl

Am 05.07.2012 14:35, schrieb Waldemar Vanagas:


we use the actual release 1.3.0. of wpkg-gp on a Server 2003 R2. After
tweaking the profile.xml we allways get the following syntaxerror

Error parsing xml - Not well formed



Make sure to use an XML editor, which allows verification of the 
XML-file, like XML-Pad or NotePad++.


You can't mix old and new nodes and omit the end tag of the new node, 
see the corrected XML-file below.



'---code start (watch for line wraps)



http://www.wpkg.org/profiles"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";

xsi:schemaLocation="http://www.wpkg.org/profiles ../xsd/profiles.xsd">



   
 
  


   

   
 
  
  
   



 

'---code end

--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?


-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


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

2012-07-02 Thread Stefan Pendl

Am 02.07.2012 13:47, schrieb Rainer Meier:


Actually I recommend creating the clone image before even running WPKG
for the first time. Including software in a clone image is bad from my
point of view because the software will likely need update anyway when
the clone image is used. So your image will include a bunch of already
outdated software which will be replaced by WPKG on first run.



I have the same opinion like Rainer, where an image should only contain 
the O/S and some "heavy" software, like CAx applications or others with 
a long release cycle.


Including short release cycle applications like Firefox in an image 
would just force the need to do an update anyways.


I haven't had any incidence where I would have needed to fully install a 
machine within half an hour during my career.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?


-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] "os" and "arch" list and availability

2012-06-12 Thread Stefan Pendl

Am 12.06.2012 11:24, schrieb le dahut:


Where can I find a page with the list of the OSes and architectures WPKG
uses them, to see the exact spelling ?


There is no list of all operating system possibilities, since there are 
way too many.

The os attribute includes the name, service pack and version number.

I have found that it all comes down to matching against the version 
number like 5.0, 5.1, 5.2, 6.0 and 6.1




There are only three architectures and they are listed in the .xsd files.



Are the "arch" and "os" options available in
install/upgrade/downgrade/remove or only in "check" ?

Are the "arch" and "os" options available in  to specify for
which OS/Arch a package should be installed ?



The changelog file includes all the necessary information, but you are 
welcome to enhance the documentation on the wiki.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?


-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Enable automatic updates

2012-06-10 Thread Stefan Pendl

Am 07.06.2012 10:58, schrieb Olga Abdala:

Hello all,
As mentionned in the subject, I am willing to enable automatic updates
for my flashplayer and google chrome wpkg packages.
Plus, I want the automatic updates to be silents and if possible, not to
matter if the user is the administrator or a simple user.
When I checked on  wpkg,they only mention how to disable the automatic
updates.
Does anyone have any idea on how to do that?If yes, please help me
finding out how because I am about to migrate the PCs from Win XP to Win 7.
Thanks in advance for your help.
Olga



If you don't disable the update feature, it is automatically updated.

Most of the pages for packages contain links to administration or 
installation guides, which should cover what you are trying to do.


The automatic updates are disabled for the reason, that regular users 
are not allowed to install or update programs.

On Windows 7 this has been restricted even further.
This is where WPKG jumps in and helps you.

I would advice to allow automatic updates only on your computer, so you 
get notified of new versions to be able to update your packages.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


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

2012-06-01 Thread Stefan Pendl

Am 01.06.2012 09:08, schrieb heiko.hel...@horiba.com:


 >
 > 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?



I use the packages below.
The first package just determines which JRE to install based on the O/S, 
since Win2k is not supported by JRE 1.7
So I only have to add the "Java" package to a general profile that is 
included by any host.







http://www.wpkg.org/packages"; 
xmlns:wpkg="http://www.wpkg.org/wpkg";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:noNamespaceSchemaLocation="../xsd/packages.xsd" >


priority="10" execute="once">











revision="%JRE_VER%" reboot="false" priority="10">


value="%SOFTWARE%\Java\jre-6u%JRE_VER%-windows-i586.exe"/>
value="%SOFTWARE%\Java\jre-6u%JRE_VER%-windows-x64.exe"/>
value="%ProgramFiles%\Java\jre6\bin" />
value="%ProgramFiles(x86)%\Java\jre6\bin" />



path="Java.TM. 6 Update [0-9]+"   value="6.0.%JRE_VER%0" />
























architecture="x64">





revision="%JRE_VER%" reboot="false" priority="10">


value="%SOFTWARE%\Java\jre-7u%JRE_VER%-windows-i586.exe"/>
value="%SOFTWARE%\Java\jre-7u%JRE_VER%-windows-x64.exe"/>
value="%ProgramFiles%\Java\jre7\bin" />
value="%ProgramFiles(x86)%\Java\jre7\bin" />



path="Java.TM. 7 Update [0-9]+"   value="7.0.%JRE_VER%0" />




















architecture="x64">








--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


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

2012-05-31 Thread Stefan Pendl

Am 31.05.2012 16:35, schrieb 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:




You can use version checks for uninstall registry keys with all the 
benefits of WPKG searching the 32-bit and 64-bit view.



'---code start (watch for line wraps)



'---code end

--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] [Bug 273] Per user install support

2012-05-21 Thread Stefan Pendl

Am 21.05.2012 23:46, schrieb bugzilla-dae...@bugzilla.wpkg.org:

http://bugzilla.wpkg.org/show_bug.cgi?id=273

--- Comment #16 from Keith Jones   ---
Hi Stefan,

(In reply to comment #12)

The black magic of the host matching syntax is clearly described in the
ChangeLog, including examples.


  Sorry. Maybe black magic was a bit strong :-)

  Then again (and with RTFM message in my head), I really wouldn't have made the
leap to work out using the %USERNAME% variable in that context so maybe I
should have said "guru magic"? I am still catching up with 1.3's changes so as
far as I'm concerned magic is magic :-)


The documentation Wiki is filled by the community, so it lacks a bit of
information.


  If I have time... I'm probably not your favoured candidate for clear and
precise explanations :-)



The problem is always knowing the capabilities of the system and the 
software to reach your goal.


I am following the development of WPKG closely, so I often test-drive an 
so-called "unstable" release in my test environment, since a new feature 
has caught my attention.


If the new feature doesn't break a thing and it simplifies my packages, 
it will be used for production too.


I only encountered a problem with WPKG once myself, so even an 
"unstable" release is very stable.




The advantage of the wiki is that the community can correct any errors 
in your submission.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] value have underscores?

2012-05-15 Thread Stefan Pendl

Am 15.05.2012 16:16, schrieb Rainer Meier:


If you're checking for file version of a file which has the version
already in the file name itself, then a simple file exist check should
be sufficient as it's extremely unlikely that a file named
Flash32_11_2_202_235.ocx contains a version other than 11.2.202.235.



I had file checks too in addition to uninstall version checks, but have 
found that it is simpler to remove the application manually if there is 
something broken.


WPKG will happily install the application anew, so no need for file 
checks if the uninstall contains the DisplayVersion key.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] MSI + MST: MST somewhat ignored when silent install

2012-05-14 Thread Stefan Pendl

Am 14.05.2012 22:42, schrieb Mathieu Simon:


What confuses me is that when doing a interactive installation with the
MST, the options I have modified
via the MST are correctly pre-chosen (msiexec /i
TRANSFORMS=mytransform.mst) in the installer like
Start Menu location, and complete Installation option - but when I do a
reduced (msiexec /qr) or
silent (/qn) silent install, it only does a "typical" install which
requires CDs to be inserted for the
user (not what I'd like).



Have you tried the msiexec switch /passive instead of the old /q... 
switches?


Does the network install still include a setup.exe file?
What does "setup.exe /?" tell you?

Can you contact the software vendor for additional installation 
instructions?


You know, InstallShield is bad :-P


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Having a problem installing Visual C++ 2010 SP1

2012-05-09 Thread Stefan Pendl

Am 09.05.2012 10:46, schrieb Olga Abdala:


Since XLite can install it, I would like to know if there's an option
that I can put in the installer to allow XLite to install Visual
C++2010, without even asking me to click on the OK Button.

Can anyone please tell me if there's a way?And if yes, which one?
Thanks!



Are we talking about the VC++ runtime redistributable?

If so use the /? command line switch for the EXE and you will get a 
window showing the command line switches for the EXE.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Start-up overhead with WPKG

2012-04-25 Thread Stefan Pendl

Am 25.04.2012 15:44, schrieb Sebastian Elsner:

Hi Chris,

our setup includes 110 packages and it adds about 15-20 seconds, which
is acceptable.



Our setup contains about 200 packages where a maximum of 150 is applied 
to individual systems.
We are running WPKG at shutdown to avoid problems with running processes 
and by a scheduled task if no users are logged on.


I think it takes about one second to check ten packages with the latest 
WPKG release.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Install of Firefox 10.0.03 and uninstall of firefox 3.6.X versions

2012-04-24 Thread Stefan Pendl

Am 24.04.2012 15:59, schrieb Pickle:


Hi Jon-

Maybe I should just stick with the upgrade part - no uninstall - thought
that worked when I tested awhile back.
I assumed the WPKG - wiki example worked.

The helper works fine from command line - I can't understand why wpkg can't
execute like any other command-line option it performs?

Appreciate the code snippet.

-Scott



The Firefox installer is based on NSIS, which is quite tricky when it 
comes to waiting for the end of the remove procedure.


It has help to add a small delay as the last remove command with:

This will wait for about ten seconds and allows the remove process to 
end before its success is checked.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] wpkg and Win7 - network is slow to start up so wpkg fails

2012-04-10 Thread Stefan Pendl

Am 10.04.2012 21:22, schrieb Paul Griffith:


In the eventviewer I see the following error:
WNetAddConnections2 -> The network path was not found

If I login and run "net start wpkgservice", the installation continues
until another reboot. Is there solution to this problem?



Paul,
You can delay the start of the service, I think.
In addition you can create a dependency to the network service for the 
WPKG service.

Another option is to enable automatic restart, if the service fails.

I think the WPKG wiki has some detailed information too.


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


[wpkg-users] JS scripts for WPKG

2012-04-06 Thread Stefan Pendl

Hi Rainer,

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.


I currently have a bunch of JS scripts to handle shortcut 
creation/checking/deletion, but would consolidate them into one script.


Are you interested in including it in the distribution or should users 
need to search for it on the wiki?


I think that there wouldn't be much need to maintain it, since shortcuts 
haven't changed for a while.


What do you think?


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Firefox zombie state

2012-04-06 Thread Stefan Pendl

Am 06.04.2012 10:11, schrieb Bruno CHOQUET:


* is the solution !!! *



Ah, I noticed on some machines that it would need a little pause to 
allow remove to end its work.

The ten seconds delay is just enough.


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Firefox zombie state

2012-04-06 Thread Stefan Pendl

Am 06.04.2012 09:19, schrieb Bruno CHOQUET:


On a W7 32bit SP1, did you try to remove FF6 with the command  ?



I never had to remove a previous version of Firefox, the update always 
went smooth.


I am using the following package:

reboot="false" priority="100">















lcid="407,c07,1407,1007,807"/>


path="Mozilla Firefox .+" value="%PKG_VER%" />
path="%PKG_DEST%\firefox.exe" value="%PKG_EXE_VER%" />











If you like to remove the previous version on upgrade you can change the 
upgrade commands as below for the package above.







--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Firefox zombie state

2012-04-05 Thread Stefan Pendl

Am 05.04.2012 08:53, schrieb Bruno CHOQUET:

My firefox6 was installed by wpkg

In fact, i remove my package firefox6 (uninstall) from profiles.xml and
i use a new package firefox 11 (install) : because updates don't always
work. (XP / W7 32 / W7 64)



So you just removed it from the profiles, but it is still there as a 
package definition?
If you have removed the package definition too, then this would result 
in the zombie state.


If there is a problem with removing FF6, I would remove the install and 
upgrade commands, just leaving the remove commands and increase the version.
This will make sure that the correct remove commands are used, if there 
is a problem with an older package definition on the clients.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Firefox zombie state

2012-04-04 Thread Stefan Pendl

Am 04.04.2012 16:17, schrieb Bruno CHOQUET:

Falko,

It's not a profil or host problem : i just want to uninstall Firefox 6.



Installing the latest version of Firefox will replace any previous version.

Writing packages to remove an application that was not installed by WPKG 
is tricky.
You need to have checks to identify that the application is not 
installed, but you define install commands to actually remove the 
application.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] trouble kickstarting wpkg client usage (v 1.3.14)

2012-03-13 Thread Stefan Pendl

Am 13.03.2012 12:27, schrieb Urs Rau (UK):

I have not ever used the wpkg client in my 6+ years of using wpkg , but would 
like to switch to it or wpkg-gp. But somehow I did not create a good test 
environment.

I have set up a test environment with the following config.xml and settings.xml

base=\\wpkg_server\app\wpkg

wpkg.js is in \\wpkg_server\app\wpkg\wpkg.js (v 1.3.0)

config.xml from \\wpkg_server\app\wpkg\config.xml


http://www.wpkg.org/config";
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
 xsi:schemaLocation="http://www.wpkg.org/config xsd/config.xsd">


 


wpkg_base is only needed for HTTP access to the configuration, for file 
system access just leave it at its default.


The rest seems to be similar to mine, so it should work.


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Displaying action name and package name during wpkg check/install/upgrade ?

2012-02-23 Thread Stefan Pendl

Am 24.02.2012 08:02, schrieb Ingo Arndt:

Hello,

I am using wpkg 1.3.0 here, running at startup.

While the user waits for the login to appear there is only a "static"
information window shown with a progressbar displaying the messages
(First message + Second message) configured in the wpkg client.
Is it possible to have it dynamically display the actionname and package
name of the package wpkg is currently checking or installing - Something
like "checking Firefox" ?

My wpkgclient parameters are "/synchronize /nonotify /quiet"



Add the /sendstatus switch to it.

"cscript wpkg.js /help" will list all command line options and their 
explanation.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] wpkg-users Digest, Vol 52, Issue 15

2012-02-11 Thread Stefan Pendl

Am 10.02.2012 11:14, schrieb Mathieu Simon:


What would be better?
* Declare the generated file bein ANSI instead of UTF-8?
* Get data from AD and convert them to UTF-8 before they're writen out
to the file?



Changing the encoding of the generated XML file to ANSI is not a solution.
It is best to generate a true UTF-8 XML file in this case.


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Package to do an uninstall?

2012-02-07 Thread Stefan Pendl

Am 07.02.2012 19:59, schrieb Alan Adams:


My question - can I create a package, or set of packages, to test for
the presence of any of the older versions and run the appropriate msi
to uninstall them?





I would do it in the following way:

Add the remove commands for the previous versions as install/upgrade 
commands to the 10.1.2 package.



  
value="10.0.0" />

  


This will execute the command only if the registry contains the 
uninstall information of the specified version.


This requires using WPKG 1.3.0


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Mbrola silent install

2012-02-06 Thread Stefan Pendl

Am 06.02.2012 18:08, schrieb Marco Gaiarin:


I've prepared a recipe for espeak (libre SAPI5 voices), but the italian
voices are very ''mr. robota''.

Looking around i've found that espeak can use mbrola
(http://tcts.fpms.ac.be/synthesis/, free as in beer), that provide much
better voices.

So i've prepared a recipe to install mbrola, but the installer in
silent mode spawn at the end a browser run, so stalls waiting the user
to terminate it.
I've tried many 'task' and InnoSetup switches, and even saving an .inf
file and the run them, but there's no way: in silent mode the browser
are spawned.


There's something that i can do? I've thinked about adding a timeout,
ignore exit status and then add a 'taskkill' against the browser.


Better way? Thanks.



I don't think there is a better way, if the installer waits for the 
browser to terminate.


Freemake spawns a browser too, but that gets automatically terminated 
when WPKG is executed at shutdown.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Optional Way to pull Package

2012-02-06 Thread Stefan Pendl

Am 06.02.2012 15:09, schrieb Nitish Mahajan:

Hi,
I find that currently the pull mechanism works like this
- The client is attached to a "profile" which is attached to a "package"
- The client can download a package using |cscript \\server\wpkg\wpkg.js
/install:|
- The client can check the status from |cscript \\server\wpkg\wpkg.js
/query:a
|
But my use-case requires the user to pick a software based on his needs.
He may need 3 out of the 5 packages in his profile. Hence i would like
to know that is it possible to request the packages in a better way than
"/intall:". Could he just select a list of packages before hand
and  rather than naming individual package and installing one by one?



Starting with WPKG 1.3.0 it is possible to install a comma-separated 
list of packages.

See "cscript wpkg.js /help".


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Windows7 UAC - Registry-Key for Current User

2012-02-05 Thread Stefan Pendl

Am 05.02.2012 01:32, schrieb Peter Beck:

Hi guys,

I'm using a package which deploys some company-braning (backgrounds
etc). For setting the users background I am using Active-Setup which
works flawlessy on XP but on Win7 I get an UAC dialog asking to import
the registry-key. This key is for me to check if the settings for the
current user are already applied.



Is there any way to suppress the UAC message without completely
disabling it ?

Thanks
Peter




If you use the SYSTEM user to run WPKG, you won't get the UAC elevation 
of rights dialog.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] WPKG + Wireless Laptops

2012-02-03 Thread Stefan Pendl

Am 03.02.2012 15:33, schrieb Matthew Gyurgyik:

How are you calling wscript at shutdown? Group policy shutdown script?
If so, what happens when the machine is shutting down? Does it just say
"Please wait... windows in shutting down?" while installing the new
packages?



I use WPKG Client set to run at shutdown, but this only works for 
Windows XP and below.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] WPKG + Wireless Laptops

2012-02-02 Thread Stefan Pendl

Am 02.02.2012 09:39, schrieb Paul McGrath:

Hi Matthew,
   A simple answer to your question is that you can delay the WPKG service from 
starting as you can with any Windows service. We do this on new Windows 7 
images which are syspreped.  They boot, join a domain, reboot then the WPKG is 
delayed and then starts installing.
   You could also add an entry to task scheduler to restart the service 
periodically to pick up changes or new packages.
Paul



I am installing at shutdown, since there is no problem with running 
processes and working users.


For Windows 7 I use a scheduled task at 22:00, which will run WPKG.js 
and shuts the system down afterwards.
This checks for a running explorer.exe process, which indicates a logged 
on user and skips the installation and shutdown if one is found.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Deploying a new settings.xml file

2012-02-01 Thread Stefan Pendl

Am 01.02.2012 11:44, schrieb chiddie:


Hello,

i would like to change the user and password that is actually used by the
wpkg clients to connect to the wpkg server.

Is there a way to deploy a new settings.xml file to the clients that
overrides the old one?



I am using the package below.

'---code start (watch for line wraps)











'---code end

--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Program Versions

2012-01-31 Thread Stefan Pendl

Am 31.01.2012 18:48, schrieb Charlie Page:

Hello All,

I seem to have a very strange error that occurs across many package
groups. Wpkg detects older versions of the programs as installed. For
instance it detects thundrbird 8 with tb 9.0.1 is installed. So it
attempts to install 9.0.1 again. It also detects java 6u25 when 6u30 is
installed and flash 11.0.1.152 when 11.1.102.55 is installed. Is there
some basic concept I'm missing here? I have cut and pasted (freshly so I
am sure there there are no modifications) the wpgk.xml code from the web
site and I get the same old detections. I have verified in the softare
itself that is up to date. wpkg installed all the updates, they were not
done manually. I am using wpkg 1.3.0.



You will have to adapt the packages to meet your environment.

Could you post one of the failing packages and the corresponding log 
file entry.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Invalid XML structure found

2012-01-31 Thread Stefan Pendl

Am 31.01.2012 15:49, schrieb Ulli Conrad:

Hi there,

I recognized an error message in my log files stating

"Invalid XML structure found. Root element 'profiles' does not match
expected element name of "wpkg'"

Assigned profiles are installed properly although.

Checked all profiles they seemed to be ok, running wpkg.js with
/debug parameter didn't logged this error, so I'm wondering by what
it is caused and how to get rid of it.

WPKG_VERSION = "1.3.1-RC1";



Can you post a failing package, might be a copy and paste issue.


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Deploying Adobe Reader to be Default Web Viewer

2012-01-29 Thread Stefan Pendl

Am 30.01.2012 04:28, schrieb Mikhail Joseph Salviejo:

Good day Guys,

I having a little bit trouble with Adobe Reader 9 and X.
After deploying them to our computers (Win XP for Adobe 9, and Win 7
for Adobe X)

They can't seem to open pdf files via web that has no extension like this

http://design.rldp.com/wiwi/543asdls&1231adf (uploaded in mysql)



Windows needs the file extension to determine which application is 
associated to it.
I don't think there is something you can do about this, but you should 
check the Adobe knowledge base.


That is nothing WPKG can resolve.


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


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

2012-01-26 Thread Stefan Pendl

Am 26.01.2012 22:12, schrieb Rainer Meier:


So I have reverted it (while keeping the implementation which clearly
defines expansion order now). Results are available on SVN. WPKG version
1.3.1-RC2. See entire discussion in
.

Moreover I've implemented checks to allow checking for empty/undefined
variables. So one could still prevent package/host to overwrite a
package variable if required.

I hope this clarifies the situation.



Rainer,

If I remember correctly the variable overwrite order was first mentioned 
by a user who was relying on the current overwrite order.


With this change, this user is now facing the same problem, but in the 
opposite way.


Wouldn't it be possible to control the overwrite order by a 
configuration option?



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] How to Remove Erroneous or Mistyped package?

2012-01-24 Thread Stefan Pendl

Am 25.01.2012 00:59, schrieb Mikhail Joseph Salviejo:

Good day guys,

Iam having a bit of hard time to remove a package that i miss written.
See sample below.

I have written in the package.
  
instead of
  

Now the package cannot be removed unless manually done,, can anyone help
me with this. I have already deployed this in hundreds of our PC, and I cannot
manually remove this one by one it would take time.


Don't remove it, just upgrade it.

MSI packages are usually no problem to upgrade to the already installed 
version.


Depending on the package revision, I would add the date of the change.
If you have multiple changes a day add the time to it too.

Initial package version . 2.3.8
First correction  2.3.8.2012.01.25
Second correction on same day ... 2.3.8.2012.01.25.13.44
Real upgrade next time .. 2.4.2


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Pipe trouble...

2012-01-24 Thread Stefan Pendl

Am 24.01.2012 18:24, schrieb Marco Gaiarin:


I've tried to use pipes in check condition.
I've tried ''plain'':



or xml-escaped:



but both give:

  2012-01-24 18:18:56, DEBUG   : Executing command: 'net localgroup Sudoers \| find /i 
"SANVITO\ced"'.
  2012-01-24 18:18:56, DEBUG   : Execute check for program 'net localgroup Sudoers \| 
find /i "SANVITO\ced"' returned '1'. Evaluating condition 'exitcodeequalto' 
revealed false when comparing to expected value of '0'.
  2012-01-24 18:18:56, DEBUG   : Result of logical 'AND' check is false.
  2012-01-24 18:18:56, ERROR   : Could not process (upgrade) Sudo for Windows 
settings.|Failed checking after installation.

so seems that '|' are ever escaped.


What i'm doing wrong? Thanks.



If you use any kind of redirection (<, >, |, etc.) you need to use the 
command prompt too.


Try:

%ComSpec% /C net localgroup Sudoers | find /i "%DOMAIN%\ced"


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


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

2012-01-20 Thread Stefan Pendl

Am 20.01.2012 10:46, schrieb lad...@web.de:

Hello Malte,

i don't remember where i read it, but someone complained that setting an
environment variable in the wpkg client for the wpkg logfile path
doesn't work as it's not expanded. That's why i have to use hard codes
paths.

Anyway, according to the wpkg documentation, that i posted, it should
also be possible to override a environment variables inside wpkg. But
yes, this is not what i am looking for.

I talk about the path to the logfile that i have to set in the
settingsfile which can be used to import the settings or automatically
install the wpkg client.



Quote from config.xml:


* Path where the logfiles are written to. This might be an UNC path on the
* network as well as a local path. Environment variables are expanded.
*
* Examples:
* 
* 
*
* Default value  : "%TEMP%"
* Command-line switch: /log_file_path:


So you can use environment variables to specify the log file path.

I would leave the WPKG client settings as generic as possible.


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] How to execute something weekly or monthly?

2012-01-20 Thread Stefan Pendl

Am 20.01.2012 10:55, schrieb Marco Gaiarin:

i don't know how to do that without placing a file on the computer so
i can chech the file last modified date to calculate the next
execution. But if it is done by wpkg, there could be a last-executed
tag and that's it.


Anyway, the ''semaphore file'' i think it is the better way to handle
this, with the 'datemodifyolderthan' file check.



I see some problems with this approach:

1) you need to create a file with a future time stamp
2) you need to change the check after each run

Why not use a scheduled task for this?


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] how to get msi GUUID to the clipboard

2012-01-18 Thread Stefan Pendl

Am 18.01.2012 16:44, schrieb Urs Rau (UK):


But is there an easy wscript output method that would allow GUI clicking 
addicts to get the benefit of this as well?

But don't spend long looking for too long, but just in case there is an easy modification 
that would make it "selectable" in the output dialog?

if not I'll probably write a little bat file that writes the output into a file 
with a special extension like msiinfo.txt. ;-)



There is no easy way to get the output of the WScript.Echo command, if 
running through the GUI version of WSH.


You would need to change that to write to the console or StdOut, if that 
is possible.


If you really need a GUI, you would need to create one of your own.


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] how to get msi GUUID to the clipboard

2012-01-18 Thread Stefan Pendl

Am 18.01.2012 16:44, schrieb Urs Rau (UK):


different approach and maybe overkill for your case (in fact, I'll have a look
at the script you linked).  Anyway: for all such MSI-related stuff I use the
wonderful utility InstEd http://www.instedit.com/ (no, I'm not affiliated ;))
Besides editing MSIs iff you know what you're doing, it allows you to view all
the tables, including "Property" which contains the ProductCode and you can
copy the value from within insted.




In general you can always use the MSI file instead, since the upgrade 
will use the latest installed version to remove the application.


I don't keep all the versions and have never encountered any problem in 
using the MSI to remove the program.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] OT good free (cross platform? open sourced?) XML editor that checks xsd schema online?

2012-01-18 Thread Stefan Pendl

Am 18.01.2012 11:42, schrieb Urs Rau (UK):

Sorry for this very much wpkg project related but nevertheless probably
slightly Off Topic question.

What free (open sourced ? / or even cross platform? ) XML Editor that
actually checks the XSD schema files are you guys using?
Now that we have xsd files for wpkg it would seem sensible to use an XML
Editor that makes good use of it?

Does anyone know if it can be added to Notepad++ , somehow?



You can utilize XSD files using the XML-Tools add-on for Notepad++.

You need to change the name-space to something like:

http://www.wpkg.org/packages"; 
xmlns:wpkg="http://www.wpkg.org/wpkg";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:noNamespaceSchemaLocation="../xsd/packages.xsd" >


The XML-Tools don't recognize the name-space without the 
"xsi:noNamespaceSchemaLocation" property.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


  1   2   3   >