<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US>I setup WPKG 1.3.0 today and followed exactly the “Quick Installation Guide” @wpkg.org.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>I’ve added the Dia package and additionaly the firefox 8.0.1 package. Installation works fine, but if I remove the two packages from my profiles.xml to remove them:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US> <profile id="Test"><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> </profile><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>The following problem occurs:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>it will always install both packages before removing them again – but why ? they are not listed within the profiles.xml ?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Is it a bug or a misconfiguration ? But I followed the quick guide …<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Here is the log after call “cscript <a href="file:///\\path\to\wpkg.js">\\path\to\wpkg.js</a> /synchronize /debug”:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Base directory is '\\daten\wpkg'.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Log level is 255<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Trying to read XML files from directory: \\daten\wpkg\profiles<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Specified XML directory does not exist: \\daten\wpkg\profiles<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Reading XML file: //daten/wpkg/profiles.xml<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Trying to read XML files from directory: \\daten\wpkg\hosts<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Specified XML directory does not exist: \\daten\wpkg\hosts<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Reading XML file: //daten/wpkg/hosts.xml<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Trying to read XML files from directory: \\daten\wpkg\packages<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Specified XML directory does not exist: \\daten\wpkg\packages<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Reading XML file: //daten/wpkg/packages.xml<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Reading settings file: C:\Windows\System32\wpkg.xml<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Reading XML file: C:/Windows/System32/wpkg.xml<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Host operating system: microsoft windows 7 enterprise, , sp1, 6.1.7601<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Found network service: {422A12AD-E1E7-4C53-98E7-27A99A2F0745}<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Reading DHCP address.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Found DHCP address: 172.16.100.89<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Domain Name: mcpm.local<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Found computer group: Dom„nencomputer<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Found user locale: 407<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Found system locale: 407<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Host properties: hostname='heiko-vm-win7'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>architecture='x64'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>os='microsoft windows 7 enterprise, , sp1, 6.1.7601'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>ipaddresses='172.16.100.89'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>domain name='mcpm.local'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>groups='Dom„nencomputer'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>lcid='407'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>lcidOS='407'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Profiles applying to the current host:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Test<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Hosts file contains 2 hosts:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>'name='T1600',profile-id='Test''<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>'name='HEIKO-VM-WIN7',profile-id='Test''<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Initializing new log file: 'C:\Users\H99CF~1.HOL\AppData\Local\Temp\wpkg-heiko-vm-win7.log' in replace mode.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Settings file contains 1 packages:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>'dia'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Packages file contains 6 packages:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>'wpkg1'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>'wpkg2'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>'wpkg3'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>'time'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>'dia'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>'firefox'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Profile file contains 1 profiles:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>'Test'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Using profile(s): <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>'Test'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Getting profiles which apply to this node.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Applying profile: Test<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Reading variables from hosts[s]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Reading variables from host: name='HEIKO-VM-WIN7',profile-id='Test'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Synchronizing. Number of packages referenced by profile: 0.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Evaluating packages to be removed.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Found installed package 'Dia Diagram Editor' (dia).<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Package 'Dia Diagram Editor' (dia): Marked for removal.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Number of packages to remove: 1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Going to install package 'Dia Diagram Editor' (dia), Revision 1, (execute flag is '', notify flag is 'true').<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Package 'Dia Diagram Editor' (dia): Not yet processed during this session.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Comparing version: '1' <=> '1'.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Checking existence of package: Dia Diagram Editor<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Reading variables from hosts[s]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Reading variables from profile[s]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Getting profiles which apply to this node.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Reading variables from profile Test<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Reading variables from package 'Dia Diagram Editor'.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>The path 'C:\Program Files (x86)\Dia\dia-0.97.1-uninstall.exe' does not exist: the test failed.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Saving unsorted settings to 'C:\Windows\System32\wpkg.xml'.false<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Saving XML : C:\Windows\System32\wpkg.xml<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Package 'Dia Diagram Editor' (dia): Installed but checks failed. Re-Installing.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Package 'Dia Diagram Editor' (dia): Prepared for installation.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Checking existence of package: Dia Diagram Editor<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Reading variables from hosts[s]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Reading variables from profile[s]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Reading variables from package 'Dia Diagram Editor'.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>The path 'C:\Program Files (x86)\Dia\dia-0.97.1-uninstall.exe' does not exist: the test failed.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Searching for previously executed checks with attributes type='file', condition='exists', path='%PROGRAMFILES(x86)%\\Dia\\dia-0.97.1-uninstall.exe'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Found 1 previously executed checks.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Replacing check results of previous evaluation<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Saving unsorted settings to 'C:\Windows\System32\wpkg.xml'.false<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Saving XML : C:\Windows\System32\wpkg.xml<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Package 'Dia Diagram Editor' (dia): Not installed (checks failed). Preparing installation.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Installation of references (dependencies) for 'Dia Diagram Editor' (dia) successfully finished.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Installing 'Dia Diagram Editor' (dia)...<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Reading variables from hosts[s]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Reading variables from profile[s]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Reading variables from package 'Dia Diagram Editor'.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Install type: install<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Fetched 1 install command(s).<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>No locale language definition found for message ID 'notifyUserStart' (language LCID '407').<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Executing command: '%SystemRoot%\System32\msg.exe * /TIME:10 "Automatic software deployment is currently updating your system. Please wait until the process has finished. Thank you."' ('C:\Windows\System32\msg.exe * /TIME:10 "Automatic software deployment is currently updating your system. Please wait until the process has finished. Thank you."').<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Executing command: '\\daten\wpkg\graphics\dia-setup-0.97.1-2.exe /S'.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Command in installation of Dia Diagram Editor returned exit code [0]. Success.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Checking existence of package: Dia Diagram Editor<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Reading variables from hosts[s]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Reading variables from profile[s]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Reading variables from package 'Dia Diagram Editor'.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>The path 'C:\Program Files (x86)\Dia\dia-0.97.1-uninstall.exe' exists and is a file: the test was successful.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Searching for previously executed checks with attributes type='file', condition='exists', path='%PROGRAMFILES(x86)%\\Dia\\dia-0.97.1-uninstall.exe'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Found 1 previously executed checks.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Replacing check results of previous evaluation<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Saving unsorted settings to 'C:\Windows\System32\wpkg.xml'.false<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Saving XML : C:\Windows\System32\wpkg.xml<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Removing currently existing settings node first: 'Dia Diagram Editor' (dia), Revision 1.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Removing package id 'dia' from settings.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Adding settings node: 'Dia Diagram Editor' (dia), Revision 1.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Saving sorted settings to 'C:\Windows\System32\wpkg.xml'.true<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Adding settings node: 'Dia Diagram Editor' (dia), Revision 1.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Saving XML : C:\Windows\System32\wpkg.xml<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Installation of references (chained) for 'Dia Diagram Editor' (dia) successfully finished.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Package 'Dia Diagram Editor' (dia): Package and all chained packages installed successfully.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Processing (install) of Dia Diagram Editor successful.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Cleaning up temporary downloaded files<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Restoring previous environment.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Removing package 'dia'.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Package 'Dia Diagram Editor' (dia): Not yet processed during this session.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Removal of depending packages for 'Dia Diagram Editor' (dia) successfully finished.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Removing Dia Diagram Editor (dia)...<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Reading variables from hosts[s]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Reading variables from profile[s]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Reading variables from package 'Dia Diagram Editor'.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Executing command: '%PROGRAMFILES(x86)%\Dia\dia-0.97.1-uninstall.exe /S' ('C:\Program Files (x86)\Dia\dia-0.97.1-uninstall.exe /S').<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Command returned result: 0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Command in removal of Dia Diagram Editor returned exit code [0]. Success.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Restoring previous environment.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Checking existence of package: Dia Diagram Editor<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Reading variables from hosts[s]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Reading variables from profile[s]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Reading variables from package 'Dia Diagram Editor'.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>The path 'C:\Program Files (x86)\Dia\dia-0.97.1-uninstall.exe' exists and is a file: the test was successful.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Searching for previously executed checks with attributes type='file', condition='exists', path='%PROGRAMFILES(x86)%\\Dia\\dia-0.97.1-uninstall.exe'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Found 1 previously executed checks.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Replacing check results of previous evaluation<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Saving unsorted settings to 'C:\Windows\System32\wpkg.xml'.false<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Saving XML : C:\Windows\System32\wpkg.xml<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Checking dia zombie state.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Could not process (remove) Dia Diagram Editor.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Package still installed.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>No locale language definition found for message ID 'notifyUserStop' (language LCID '407').<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Executing command: '%SystemRoot%\System32\msg.exe * /TIME:10 "The automated software installation utility has completed installing or updating software on your system. No reboot was necessary. All updates are complete."' ('C:\Windows\System32\msg.exe * /TIME:10 "The automated software installation utility has completed installing or updating software on your system. No reboot was necessary. All updates are complete."').<o:p></o:p></span></p></div></body></html>