[wpkg-users] wpkg.xml is empty
Godfried Borremans
godfried.borremans at gmail.com
Fri Apr 3 12:10:40 CEST 2009
Hi Rainer
I succeeded in solving the problem by looking at the profiles and
packages as you suggested. Thanks! I documented this in this message.
I tried to install gimp 2.6.6 but it had a check on 2.6.5. The package
was installed but not logged. Correcting the check makes it work.
My test machine with name DON-0E116EC8A53 has profile-id="test" in hosts.xml.
For this profile 1 package are defined in packages.xml:
<profile id="test">
<package package-id="gimp26" />
</profile>
In packages.xml the package gimp26 is defined:
<package
id="gimp26"
name="GNU Image Manipulation Program (GIMP)"
revision="2606"
reboot="false"
priority="20">
<check type="uninstall" condition="exists" path="GIMP 2.6.5"/>
<install cmd='"\\wpkg\wpkg$\graphics\gimp-2.6.6-i686-setup.exe"
/VERYSILENT /NORESTART /DIR="%PROGRAMFILES%\GIMP"'/>
<upgrade cmd='"\\wpkg\wpkg$\graphics\gimp-2.6.6-i686-setup.exe"
/VERYSILENT /NORESTART /DIR="%PROGRAMFILES%\GIMP"'/>
<remove cmd='"%programfiles%\GIMP\setup\unins000.exe" /VERYSILENT
/NORESTART' />
</package>
While looking at this I saw this type: GIMP 2.6.5 should be GIMP 2.6.6.
I changed this and now I have a non-empty wpkg.xml
here comes a log file
2009-04-03 11:01:42, DEBUG : Initialized temporary local log file:
C:\WINDOWS\TEMP\wpkg-logInit.log
2009-04-03 11:01:42, DEBUG : Initializing new log file:
C:\WINDOWS\TEMP\wpkg-don-0e116ec8a53.log
2009-04-03 11:01:42, DEBUG : Reboot-Cmd is standard.
2009-04-03 11:01:42, DEBUG : WPKG 1.0.4 starting...
2009-04-03 11:01:42, DEBUG : Base directory is '\\wpkg\wpkg$'.
2009-04-03 11:01:42, DEBUG : Log level is 255
2009-04-03 11:01:42, DEBUG : Trying to read XML file: \\wpkg\wpkg$\profiles.xml
2009-04-03 11:01:42, DEBUG : Successfully loaded XML file:
\\wpkg\wpkg$\profiles.xml
2009-04-03 11:01:42, DEBUG : Trying to read XML files from directory:
\\wpkg\wpkg$\profiles
2009-04-03 11:01:42, DEBUG : Specified XML directory does not exist:
\\wpkg\wpkg$\profiles
2009-04-03 11:01:42, DEBUG : Trying to read XML file: \\wpkg\wpkg$\hosts.xml
2009-04-03 11:01:42, DEBUG : Successfully loaded XML file:
\\wpkg\wpkg$\hosts.xml
2009-04-03 11:01:42, DEBUG : Trying to read XML files from directory:
\\wpkg\wpkg$\hosts
2009-04-03 11:01:42, DEBUG : Specified XML directory does not exist:
\\wpkg\wpkg$\hosts
2009-04-03 11:01:42, DEBUG : Trying to read XML file: \\wpkg\wpkg$\packages.xml
2009-04-03 11:01:42, DEBUG : Successfully loaded XML file:
\\wpkg\wpkg$\packages.xml
2009-04-03 11:01:42, DEBUG : Trying to read XML files from directory:
\\wpkg\wpkg$\packages
2009-04-03 11:01:42, DEBUG : Specified XML directory does not exist:
\\wpkg\wpkg$\packages
2009-04-03 11:01:42, DEBUG : Profiles applying to the current host:|test|
2009-04-03 11:01:42, DEBUG : Reading settings file:
C:\WINDOWS\system32\wpkg.xml
2009-04-03 11:01:42, DEBUG : Trying to read XML file:
C:\WINDOWS\system32\wpkg.xml
2009-04-03 11:01:42, DEBUG : Successfully loaded XML file:
C:\WINDOWS\system32\wpkg.xml
2009-04-03 11:01:42, DEBUG : Getting profiles which apply to this node.
2009-04-03 11:01:42, DEBUG : Applying profile: test
2009-04-03 11:01:42, DEBUG : Adding package with ID 'gimp26' to
profile packages.
2009-04-03 11:01:42, DEBUG : Found package node 'GNU Image
Manipulation Program (GIMP)' (gimp26) in package database.
2009-04-03 11:01:42, DEBUG : Synchronizing: Number of packages
referenced by profile: 1
2009-04-03 11:01:42, DEBUG : Number of packages to remove: 0
2009-04-03 11:01:42, DEBUG : Going to install package 'GNU Image
Manipulation Program (GIMP)' (gimp26), Revision 2606, (execute flag is
'', notify flag is 'true').
2009-04-03 11:01:42, DEBUG : Package 'GNU Image Manipulation Program
(GIMP)' (gimp26): Not yet processed during this session.
2009-04-03 11:01:42, DEBUG : Package 'GNU Image Manipulation Program
(GIMP)' (gimp26): Not in local package database.
2009-04-03 11:01:42, DEBUG : Checking existence of package: GNU Image
Manipulation Program (GIMP)
2009-04-03 11:01:43, DEBUG : Uninstall entry for GIMP 2.6.5 missing:
test failed
2009-04-03 11:01:43, INFO : Package 'GNU Image Manipulation Program
(GIMP)' (gimp26): Not installed (checks failed). Preparing
installation.
2009-04-03 11:01:43, DEBUG : Found system locale: 813
2009-04-03 11:01:43, DEBUG : Found language definition node for language ID 813
2009-04-03 11:01:43, INFO : User notification suppressed. Message:
We installeren nu enkele software updates op je pc. Het is mogelijk
dat we de pc ook zullen herstarten. Bewaar nu je openstaande
bestanden. [wpkg]
2009-04-03 11:01:43, INFO : Installing dependencies of 'GNU Image
Manipulation Program (GIMP)' (gimp26).
2009-04-03 11:01:43, INFO : Installing 'GNU Image Manipulation
Program (GIMP)' (gimp26)...
2009-04-03 11:01:43, DEBUG : Reading variables from package
2009-04-03 11:01:43, DEBUG : Reading variables from package GNU Image
Manipulation Program (GIMP)
2009-04-03 11:01:43, DEBUG : Stored 0 variables from package
2009-04-03 11:01:43, DEBUG : Reading variables from profile[s]
2009-04-03 11:01:43, DEBUG : Getting profiles which apply to this node.
2009-04-03 11:01:43, DEBUG : 1 profiles apply to this host.
2009-04-03 11:01:43, DEBUG : Reading variables from profile test
2009-04-03 11:01:43, DEBUG : Reading variables from host DON-0E116EC8A53
2009-04-03 11:01:43, DEBUG : Install type: install
2009-04-03 11:01:43, DEBUG : Fetched 1 install command(s).
2009-04-03 11:01:43, DEBUG : Executing command :
"\\wpkg\wpkg$\graphics\gimp-2.6.6-i686-setup.exe" /VERYSILENT
/NORESTART /DIR="%PROGRAMFILES%\GIMP"
2009-04-03 11:02:14, DEBUG : Command in installation of GNU Image
Manipulation Program (GIMP) returned exit code [0]. Success.
2009-04-03 11:02:14, DEBUG : Checking existence of package: GNU Image
Manipulation Program (GIMP)
2009-04-03 11:02:14, DEBUG : Uninstall entry for GIMP 2.6.5 missing:
test failed
2009-04-03 11:02:14, ERROR : Could not process (install) GNU Image
Manipulation Program (GIMP).|Failed checking after installation.
2009-04-03 11:02:14, DEBUG : Restoring previous environment.
2009-04-03 11:02:14, INFO : User notification suppressed. Message:
We hebben enkele updates op je pc geïnstalleerd. Het was niet nodig te
herstarten. [wpkg]
2009-04-03 11:02:14, DEBUG : Saving sorted settings to
'C:\WINDOWS\system32\wpkg.xml'.
2009-04-03 11:02:14, DEBUG : Saving XML : C:\WINDOWS\system32\wpkg.xml
--
Godfried Borremans
More information about the wpkg-users
mailing list