[wpkg-users] WPKG does not recognize new Java Version
Marc
news at ms75.de
Thu Sep 12 09:36:22 CEST 2013
Hi,
each time a new Java Update is published an i change the version number
in the config file, the new version is not recognized by WPKG an it does
not install the new version. I have this problem only with Java. After
deleting the wpkg.xml file on each client, the new Java Version is
recognized from WPKG and the new Java version gets installed.
Could someone take a look at my config to check whats wrong? Thanks!
Logfile:
2013-09-12 09:13:22, DEBUG : Reading variables from package 'Java SE
Runtime Environment 7'.
2013-09-12 09:13:22, DEBUG : Got variable 'version' of value
'7.0.%updatever%'
2013-09-12 09:13:22, DEBUG : Got variable 'filever' of value '7.0.400.43'
2013-09-12 09:13:22, DEBUG : Got variable 'updatever' of value '40'
2013-09-12 09:13:22, DEBUG : Got variable 'shortupdatever' of value '40'
2013-09-12 09:13:22, DEBUG : Got variable 'autoupdate' of value '0'
2013-09-12 09:13:22, DEBUG : Setting variable:
'SOFTWARE=\\VGFILES\wpkg$\software\standard'.
2013-09-12 09:13:22, DEBUG : Setting variable: 'version=7.0.%updatever%'.
2013-09-12 09:13:22, DEBUG : Setting variable: 'filever=7.0.400.43'.
2013-09-12 09:13:22, DEBUG : Setting variable: 'updatever=40'.
2013-09-12 09:13:22, DEBUG : Setting variable: 'shortupdatever=40'.
2013-09-12 09:13:22, DEBUG : Setting variable: 'autoupdate=0'.
2013-09-12 09:13:22, DEBUG : Going to install package 'Java SE Runtime
Environment 7' (java7), Revision 7.0.%updatever%, (execute flag is '',
notify flag is 'true').
2013-09-12 09:13:22, DEBUG : Package 'Java SE Runtime Environment 7'
(java7): Not yet processed during this session.
2013-09-12 09:13:22, DEBUG : Reading variables from hosts[s]
2013-09-12 09:13:22, DEBUG : Reading variables from profile[s]
2013-09-12 09:13:22, DEBUG : Reading variables from package 'Java SE
Runtime Environment 7'.
2013-09-12 09:13:22, DEBUG : Got variable 'version' of value
'7.0.%updatever%'
2013-09-12 09:13:22, DEBUG : Got variable 'filever' of value '7.0.400.43'
2013-09-12 09:13:22, DEBUG : Got variable 'updatever' of value '40'
2013-09-12 09:13:22, DEBUG : Got variable 'shortupdatever' of value '40'
2013-09-12 09:13:22, DEBUG : Got variable 'autoupdate' of value '0'
2013-09-12 09:13:22, DEBUG : Setting variable:
'SOFTWARE=\\VGFILES\wpkg$\software\standard'.
2013-09-12 09:13:22, DEBUG : Setting variable: 'version=7.0.%updatever%'.
2013-09-12 09:13:22, DEBUG : Setting variable: 'filever=7.0.400.43'.
2013-09-12 09:13:22, DEBUG : Setting variable: 'updatever=40'.
2013-09-12 09:13:22, DEBUG : Setting variable: 'shortupdatever=40'.
2013-09-12 09:13:22, DEBUG : Setting variable: 'autoupdate=0'.
2013-09-12 09:13:22, DEBUG : Reading variables from hosts[s]
2013-09-12 09:13:22, DEBUG : Reading variables from profile[s]
2013-09-12 09:13:22, DEBUG : Reading variables from package 'Java SE
Runtime Environment 7'.
2013-09-12 09:13:22, DEBUG : Got variable 'version' of value
'7.0.%updatever%'
2013-09-12 09:13:22, DEBUG : Got variable 'filever' of value '7.0.250.16'
2013-09-12 09:13:22, DEBUG : Got variable 'updatever' of value '25'
2013-09-12 09:13:22, DEBUG : Got variable 'shortupdatever' of value '25'
2013-09-12 09:13:22, DEBUG : Got variable 'autoupdate' of value '0'
2013-09-12 09:13:22, DEBUG : Setting variable:
'SOFTWARE=\\VGFILES\wpkg$\software\standard'.
2013-09-12 09:13:22, DEBUG : Setting variable: 'version=7.0.%updatever%'.
2013-09-12 09:13:22, DEBUG : Setting variable: 'filever=7.0.250.16'.
2013-09-12 09:13:22, DEBUG : Setting variable: 'updatever=25'.
2013-09-12 09:13:22, DEBUG : Setting variable: 'shortupdatever=25'.
2013-09-12 09:13:22, DEBUG : Setting variable: 'autoupdate=0'.
2013-09-12 09:13:22, DEBUG : Comparing version: '7.0.%updatever%' <=>
'7.0.%updatever%'.
2013-09-12 09:13:22, DEBUG : Checking existence of package: Java SE
Runtime Environment 7
2013-09-12 09:13:22, DEBUG : Host attribute 'architecture' with value
'x64' does not match expression 'x86'.
2013-09-12 09:13:22, DEBUG : No value of 'architecture' matched 'x86'.
Skipping to next definition.
2013-09-12 09:13:22, DEBUG : Could not match all attributes of XML
node to current host. Skipping to next definition.
2013-09-12 09:13:22, DEBUG : Host attribute 'architecture' with value
'x64' matches expression 'x64'.
2013-09-12 09:13:22, DEBUG : XML node with special host attribute
match found: architecture=x64
2013-09-12 09:13:22, DEBUG : Host attribute 'architecture' with value
'x64' matches expression 'x64'.
2013-09-12 09:13:22, DEBUG : XML node with special host attribute
match found: architecture=x64
2013-09-12 09:13:22, DEBUG : Host attribute 'architecture' with value
'x64' matches expression 'x64'.
2013-09-12 09:13:22, DEBUG : XML node with special host attribute
match found: architecture=x64
2013-09-12 09:13:22, DEBUG : Reading variables from hosts[s]
2013-09-12 09:13:22, DEBUG : Reading variables from profile[s]
2013-09-12 09:13:22, DEBUG : Reading variables from package 'Java SE
Runtime Environment 7'.
2013-09-12 09:13:22, DEBUG : Got variable 'version' of value
'7.0.%updatever%'
2013-09-12 09:13:22, DEBUG : Got variable 'filever' of value '7.0.250.16'
2013-09-12 09:13:22, DEBUG : Got variable 'updatever' of value '25'
2013-09-12 09:13:22, DEBUG : Got variable 'shortupdatever' of value '25'
2013-09-12 09:13:22, DEBUG : Got variable 'autoupdate' of value '0'
2013-09-12 09:13:22, DEBUG : Setting variable:
'SOFTWARE=\\VGFILES\wpkg$\software\standard'.
2013-09-12 09:13:22, DEBUG : Setting variable: 'version=7.0.%updatever%'.
2013-09-12 09:13:22, DEBUG : Setting variable: 'filever=7.0.250.16'.
2013-09-12 09:13:22, DEBUG : Setting variable: 'updatever=25'.
2013-09-12 09:13:22, DEBUG : Setting variable: 'shortupdatever=25'.
2013-09-12 09:13:22, DEBUG : Setting variable: 'autoupdate=0'.
2013-09-12 09:13:22, DEBUG : Trying to find version of C:\Program
Files (x86)\Java\jre7\bin\java.exe
2013-09-12 09:13:22, DEBUG : Obtained version '7.0.250.16'.
2013-09-12 09:13:22, DEBUG : Comparing version: '7.0.250.16' <=>
'7.0.250.16'.
2013-09-12 09:13:22, DEBUG : Checking file version 7.0.250.16 is
versiongreaterorequal (than) 7.0.250.16 - got result 0.
2013-09-12 09:13:22, DEBUG : File version check for file 'C:\Program
Files (x86)\Java\jre7\bin\java.exe' returned true for operation type
versiongreaterorequal.
2013-09-12 09:13:22, DEBUG : Searching for previously executed checks
with attributes architecture='x64', type='file',
condition='versiongreaterorequal',
path='%PROGRAMFILES(X86)%\\Java\\jre7\\bin\\java.exe', value='%filever%'
2013-09-12 09:13:22, DEBUG : Unable to find any previously executed
checks with these attributes.
2013-09-12 09:13:22, DEBUG : Saving unsorted settings to
'C:\Windows\System32\wpkg.xml'.false
2013-09-12 09:13:22, DEBUG : Saving XML : C:\Windows\System32\wpkg.xml
2013-09-12 09:13:22, DEBUG : Trying to find version of C:\Program
Files\Java\jre7\bin\java.exe
2013-09-12 09:13:22, DEBUG : Obtained version '7.0.250.16'.
2013-09-12 09:13:22, DEBUG : Comparing version: '7.0.250.16' <=>
'7.0.250.16'.
2013-09-12 09:13:22, DEBUG : Checking file version 7.0.250.16 is
versiongreaterorequal (than) 7.0.250.16 - got result 0.
2013-09-12 09:13:22, DEBUG : File version check for file 'C:\Program
Files\Java\jre7\bin\java.exe' returned true for operation type
versiongreaterorequal.
2013-09-12 09:13:22, DEBUG : Searching for previously executed checks
with attributes architecture='x64', type='file',
condition='versiongreaterorequal',
path='%PROGRAMFILES%\\Java\\jre7\\bin\\java.exe', value='%filever%'
2013-09-12 09:13:22, DEBUG : Unable to find any previously executed
checks with these attributes.
2013-09-12 09:13:22, DEBUG : Saving unsorted settings to
'C:\Windows\System32\wpkg.xml'.false
2013-09-12 09:13:22, DEBUG : Saving XML : C:\Windows\System32\wpkg.xml
2013-09-12 09:13:22, DEBUG : Uninstall entry for Java 7 (64-bit)
missing: test failed.
2013-09-12 09:13:22, DEBUG : Searching for previously executed checks
with attributes type='uninstall', condition='exists', path='Java 7 (64-bit)'
2013-09-12 09:13:22, DEBUG : Unable to find any previously executed
checks with these attributes.
2013-09-12 09:13:22, DEBUG : Saving unsorted settings to
'C:\Windows\System32\wpkg.xml'.false
2013-09-12 09:13:22, DEBUG : Saving XML : C:\Windows\System32\wpkg.xml
2013-09-12 09:13:22, DEBUG : Uninstall entry 'Java 7 Update 25
(64-bit)' matches string 'Java 7 Update 25 (64-bit)'.
2013-09-12 09:13:23, DEBUG : Uninstall entry for Java 7 Update
%updatever% (64-bit) was found: test successful.
2013-09-12 09:13:23, DEBUG : Searching for previously executed checks
with attributes type='uninstall', condition='exists', path='Java 7
Update %updatever% (64-bit)'
2013-09-12 09:13:23, DEBUG : Unable to find any previously executed
checks with these attributes.
2013-09-12 09:13:23, DEBUG : Saving unsorted settings to
'C:\Windows\System32\wpkg.xml'.false
2013-09-12 09:13:23, DEBUG : Saving XML : C:\Windows\System32\wpkg.xml
2013-09-12 09:13:23, DEBUG : Result of logical 'OR' check is true.
2013-09-12 09:13:23, DEBUG : Package 'Java SE Runtime Environment 7'
(java7): Already installed.
Java Package File:
<package
id="java7"
name="Java SE Runtime Environment 7"
revision="%version%"
reboot="false"
priority="50">
<variable name="version" value="7.0.%updatever%" />
<variable name="filever" value="7.0.400.43" />
<variable name="updatever" value="40" />
<variable name="shortupdatever" value="40" />
<variable name="autoupdate" value="0" />
<check architecture="x86" type="file"
condition="versiongreaterorequal"
path="%PROGRAMFILES%\Java\jre7\bin\java.exe" value="%filever%" />
<check architecture="x64" type="file"
condition="versiongreaterorequal"
path="%PROGRAMFILES(X86)%\Java\jre7\bin\java.exe" value="%filever%" />
<install cmd='taskkill /f /im jqs.exe /im iexplore.exe /im firefox.exe'>
<exit code='any' />
</install>
<!-- .exe install (XP, 2003) -->
<install os=".+5\.[1-2]\.\d{4}"
cmd='%SOFTWARE%\java7\jre-7u%shortupdatever%-windows-i586.exe /s
REBOOT=Suppress IEXPLORER=1 MOZILLA=1 JAVAUPDATE=%autoupdate% CUSTOM=1' />
<!-- .msi (Seven) install
http://wpkg.org/Java#Install_JRE_with_msi_without_removing_old_version_in_a_mixed_32-bit.2F64-bit_environment
-->
<install os=".+6\.[0-1]\.\d{4}"
cmd='msiexec /qn /i %SOFTWARE%\java7\jre1.7.0_%updatever%.msi
REBOOT=Suppress IEXPLORER=1 MOZILLA=1 JAVAUPDATE=%autoupdate% CUSTOM=1' />
<!-- remove Java Quick Starter -->
<install cmd='%COMSPEC% /C if exist
"%PROGRAMFILES%\Java\jre7\bin\jqs.exe"
"%PROGRAMFILES%\Java\jre7\bin\jqs.exe" -unregister'>
<exit code='any' />
</install>
<install cmd='%COMSPEC% /C if exist
"%PROGRAMFILES(x86)%\Java\jre7\bin\jqs.exe"
"%PROGRAMFILES(x86)%\Java\jre7\bin\jqs.exe" -unregister'>
<exit code='any' />
</install>
<!-- remove Java Auto Update -->
<install cmd='REG DELETE
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v SunJavaUpdateSched
/f'>
<exit code='any' />
</install>
<!-- disable Java Auto Update in Registry -->
<install architecture="x86" cmd='%COMSPEC% /c REG ADD
"HKLM\SOFTWARE\JavaSoft\Java Update\Policy" /v "EnableJavaUpdate" /t
"REG_DWORD" /d "00000000" /f' /> <!-- Disable auto-run entry on 32bit -->
<install architecture="x64" cmd='%COMSPEC% /c REG ADD
"HKLM\SOFTWARE\Wow6432Node\JavaSoft\Java Update\Policy" /v
"EnableJavaUpdate" /t "REG_DWORD" /d "00000000" /f' /> <!-- Disable
auto-run 32bit java entry on Win7 64bit -->
<downgrade include="install" />
<upgrade include="install" />
<remove cmd='msiexec /qn /x
{26A24AE4-039D-4CA4-87B4-2F864170%updatever%FF}' />
<!-- jre 64-bit install with the msi ; for 64-bit hosts only -->
<check architecture="x64" type="file"
condition="versiongreaterorequal"
path="%PROGRAMFILES%\Java\jre7\bin\java.exe" value="%filever%" />
<check architecture="x64" type="logical" condition="or">
<check type="uninstall" condition="exists" path="Java 7 (64-bit)" />
<check type="uninstall" condition="exists" path="Java 7 Update
%updatever% (64-bit)" />
</check>
<install architecture="x64" cmd='taskkill /f /im jqs.exe /im
iexplore.exe /im firefox.exe'>
<exit code='any' />
</install>
<install architecture="x64"
cmd='msiexec /qn /i %SOFTWARE%\java7_64bit\jre1.7.0_%updatever%.msi
REBOOT=Suppress IEXPLORER=1 MOZILLA=1 JAVAUPDATE=%autoupdate% CUSTOM=1'
/>
<!-- remove Java Quick Starter -->
<install architecture="x64" cmd='%COMSPEC% /C if exist
"%PROGRAMFILES%\Java\jre7\bin\jqs.exe"
"%PROGRAMFILES%\Java\jre7\bin\jqs.exe" -unregister'>
<exit code='any' />
</install>
<install architecture="x64" cmd='%COMSPEC% /C if exist
"%PROGRAMFILES(x86)%\Java\jre7\bin\jqs.exe"
"%PROGRAMFILES(x86)%\Java\jre7\bin\jqs.exe" -unregister'>
<exit code='any' />
</install>
<!-- disable Java Auto Update in Registry -->
<install architecture="x64" cmd='%COMSPEC% /c REG ADD
"HKLM\SOFTWARE\JavaSoft\Java Update\Policy" /v "EnableJavaUpdate" /t
"REG_DWORD" /d "00000000" /f' /> <!-- Disable auto-run entry on 64bit -->
<downgrade include="install" />
<upgrade include="install" />
<remove architecture="x64" cmd='msiexec /qn /x
{26A24AE4-039D-4CA4-87B4-2F832170%updatever%FF}' />
</package>
More information about the wpkg-users
mailing list