[wpkg-users] unsubscripted

2011-12-09 Thread ds10025


-
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] Reboot command

2009-06-17 Thread ds10025

Morning


What command or syntex to I use to set WPKG to reboot once only.

Eg

   Install package
   Reboot once only
   Continue to install packages.


Thanks

Dan

-
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] Check command

2009-06-12 Thread ds10025

Thanks Rainer for your hints.

Using the batch file sound lkike a better idea to make sure all old 
version of Acrobat reader is remove.


Just one more question.

Removing Acrobat reader or any programs.

I've notice with Acrobat Reader it needs msiexec /x {x}


Where {} is a long idea code, where can I get the id code from 
I've checked registry. Also, is it possible to

msiexec /x acrobat?

Also at the same time I want to remove Acrobat.com  Acrobat air,?


Is they a command that removed file as listed in the Add/remove control panel?

Thanks again


Dan
At 16:14 11/06/2009, Rainer Meier wrote:

Hi,

Please respond to the list as well, so everybody can see your 
answers and might

profit from the open discussions.

ds10...@cam.ac.uk wrote:
 I think I began to understand what is going on.


 If I want WPKG to remove old version of Acrobat reader first. I put the
 remove command as before the install command?

Yes, exactly. But remember that for most applications this is not necessary
because the installers are intelligent and will perform an upgrade if they
find an outdated version. So in most cases just running the same 
command as for

installation works for upgrades too.

But feel free to execute as many (remove-) commands before executing the
installation process.
One more hint: You might have to specify exit code='x' / nodes for 
your remove

commands which are likely to fail. For example if you add a command to remove
Adobe reader 5.0 (msiexec /x {ID} /qn) it might exit with a specific exit code
that it was unable to execute the command (in case reader 5.0 was 
not installed).


You might also use a batch-script to batch-uninstall all previous 
versions. For

example add a command to execute uninstall-previous-versions.cmd and add all
commands to this script like...

@echo off
:: removing Reader 5.0
msiexec /x {x} /qn
:: removing Reader 6.0
msiexec /x {y} /qn
...
exit /b 0



One example of a bad installer is the old Java installer. It left all
versions on the system and you had to manually remove old versions in case you
want to get rid of the binaries on the HDD.

br,
Rainer



-
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] Check command

2009-06-11 Thread ds10025

Thanks Rainer

I'm writing a script for Acrobat reader security updates using 
examples suplied.


It need to look like:-

  While latest version of Acrobat reader is NOT install
Remove old version
  Install new version
  Install any patches
   Endwhile

Cobverting this into WPKG XML


If the check is false how best to group codes together?



Dan
At 13:41 11/06/2009, Rainer Meier wrote:

Hi ds10025

ds10...@cam.ac.uk wrote:
 Does the check command behave like a while loop.

 I'm trying to understand the flow of the script.

Like WolframAlpha is used to say...
I am not sure what do do with your input. ;-)

Each package can define one or more checks. Checks can be combined 
using logical

AND/OR conditions. Surely there is an internal loop evaluating the statements.

The most common use-case of WPKG is to synchronize software. Which means WPKG
figures out which packages are assigned to this host (via profiles) and then
uses the checks of each package to find out if it is properly 
installed or not.

If it is not installed, then it will be installed and if the checks are true
then the package considered to be already installed correctly.

br,
Rainer



-
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