[wpkg-users] Java7 for all but one host

Stefan Pendl stefan.pendl.71 at gmail.com
Mon Nov 4 19:52:30 CET 2013


Am 04.11.2013 19:44, schrieb Jáder Marasca:
> Hi
>
> And what about to include this inside Java7.xml file:
>
>  <check type="host" condition="hostname" value="!^PC-MICHELE$" />
>
> so the Java7.xml would be something like:
>
>     <package
>       id="Java7"
>       name="Java Runtime Environment 7"
>     revision="%version%"
>       reboot="false"
>     priority="100">
>
>       <variable name="version" value="45" />
>
>      <check type="host" condition="hostname" value="!^PC-MICHELE$" />
>      <check
>     type="uninstall"
>     condition="exists"
>     path="Java(\(TM\))* 7 Update %version%" />
>
> (...) and following commands from wiki page.
>
>
Jáder,

attached find my Java JRE package file.

You would only include the package "Java" in you profiles, preferably a 
common profile that any other profile depends on.

As you can see the Java package includes the JRE6 package on Windows 
2000 and your PC-MICHELE.
JRE7 would be included on any host except Windows 2000 and your PC-MICHELE.

It also contains some new capabilities introduced with WPKG 1.3.1, where 
you can define your own command types.

Make sure to download and install the latest WPKG JS script from the 
code repository to make this 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?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20131104/8a9216a1/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: package_JavaJRE.zip
Type: application/x-zip-compressed
Size: 1173 bytes
Desc: not available
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20131104/8a9216a1/attachment-0003.bin>


More information about the wpkg-users mailing list