<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)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 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.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 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=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Dear Dieter,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I address a similar situation by checking for the existence of this by wrapping the call to wpkg.js with a check for a line that my slightly-automated configuration file creator writes as the final line  ( <!-- END OF FILE --> )  If this isn’t in the package, hosts and profiles xml, then WPKG isn’t called.  This saves you (99.9%) from partially written config files, but not from the ‘I deleted all assigned software by accident’.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Part of the batch file:<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>findstr /R /C:"^<.-- END OF FILE -->$" "%WPKGROOT%\Release2\profiles\50 autoprof-phy.xml" > nul<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>IF NOT %ERRORLEVEL% == 0 GOTO broken_config<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>and so on.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><p class=MsoNormal><span style='color:#1F497D;mso-fareast-language:EN-GB'>Cheers,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D;mso-fareast-language:EN-GB'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D;mso-fareast-language:EN-GB'>Mark<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D;mso-fareast-language:EN-GB'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D;mso-fareast-language:EN-GB'>--<o:p></o:p></span></p><p class=MsoNormal><i><span style='font-size:8.0pt;color:#1F497D;mso-fareast-language:EN-GB'><o:p> </o:p></span></i></p><p class=MsoNormal><i><span style='font-size:8.0pt;color:#1F497D;mso-fareast-language:EN-GB'>The contents of this e-mail may be privileged and are confidential. It may not be disclosed by, or used, or copied in any way by anyone other than the addressee. If received in error please notify the sender then delete it from your system. Should you communicate with the sender by e-mail, you consent to The University of Birmingham monitoring and reading any such correspondence.<o:p></o:p></span></i></p></div><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:EN-GB'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:EN-GB'> wpkg-users-bounces@lists.wpkg.org [mailto:wpkg-users-bounces@lists.wpkg.org] <b>On Behalf Of </b>Dieter FLEURBAEY<br><b>Sent:</b> Friday, October 26, 2012 11:37 AM<br><b>To:</b> wpkg-users@lists.wpkg.org<br><b>Subject:</b> [wpkg-users] WPKG User<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US>Hello<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>First and foremost, I would like to congratulate the WPKG developers  for the great work.<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>We are a high school in Belgium and running for about 2 years 800 (Windows 7) clients under management of WPKG.<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>As a front-end we use WPKGExpress. Unfortunately is see this project is discontinued …<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>A few days ago we encountered some problems. The volume of our server which runs WPKGexpress ran out of space. This resulted (reason unknown to me) that wrong XML files were forwarded to the clients.<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 result was that on many PCs software started to remove.<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>To avoid this in the future, my question is, is there a parameter to execute WPKG so it does not use the Remove commands from the packages? Or is there a better way to control it? F.e. if there are more than 5 packages to delete, give me some alert, …<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>Thanks and keep up the good work!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><table class=MsoNormalTable border=0 cellpadding=0 align=left width="100%" style='width:100.0%'><tr><td valign=bottom style='padding:.75pt .75pt .75pt 0cm'><p class=MsoNormal style='mso-element:frame;mso-element-frame-hspace:2.25pt;mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:column;mso-height-rule:exactly'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:#333333;mso-fareast-language:NL-BE'>Vriendelijke groeten,<b><br><br>Dieter Fleurbaey</b> </span><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#333333;mso-fareast-language:NL-BE'>•</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:#333333;mso-fareast-language:NL-BE'> ICTS<br>Zeedijk 101 </span><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#333333;mso-fareast-language:NL-BE'>•</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:#333333;mso-fareast-language:NL-BE'> 8400 Oostende<o:p></o:p></span></p><p class=MsoNormal style='mso-element:frame;mso-element-frame-hspace:2.25pt;mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:column;mso-height-rule:exactly'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:#333333;mso-fareast-language:NL-BE'>Tel. +32 50 30 52 80<o:p></o:p></span></p><p class=MsoNormal style='mso-element:frame;mso-element-frame-hspace:2.25pt;mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:column;mso-height-rule:exactly'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:#333333;mso-fareast-language:NL-BE'><a href="mailto:Dieter.fleurbaey@khbo.be">Dieter.fleurbaey@khbo.be</a><o:p></o:p></span></p></td><td valign=bottom style='padding:.75pt .75pt .75pt 0cm'><p class=MsoNormal align=right style='text-align:right;mso-element:frame;mso-element-frame-hspace:2.25pt;mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:column;mso-height-rule:exactly'><span style='font-size:16.0pt;font-family:"Verdana","sans-serif";color:#AEA800;mso-fareast-language:NL-BE'>talent@work</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D;mso-fareast-language:NL-BE'><o:p></o:p></span></p></td></tr><tr><td colspan=2 style='padding:.75pt .75pt .75pt 0cm'><div class=MsoNormal align=center style='text-align:center;mso-element:frame;mso-element-frame-hspace:2.25pt;mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:column;mso-height-rule:exactly'><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D;mso-fareast-language:NL-BE'><hr size=1 width="100%" noshade style='color:#AEA800' align=center></span></div></td></tr><tr><td colspan=2 valign=bottom style='padding:.75pt .75pt .75pt 0cm'><p class=MsoNormal style='mso-element:frame;mso-element-frame-hspace:2.25pt;mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:column;mso-height-rule:exactly'><b><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:#333333;mso-fareast-language:NL-BE'>Katholieke Hogeschool Brugge - Oostende </span></b><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D;mso-fareast-language:NL-BE'><br></span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:#333333;mso-fareast-language:NL-BE'><a href="http://www.khbo.be/">http://www.khbo.be/</a> </span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D;mso-fareast-language:NL-BE'><o:p></o:p></span></p></td></tr></table><p class=MsoNormal><span lang=NL-BE style='mso-fareast-language:NL-BE'><o:p> </o:p></span></p><p class=MsoNormal><span lang=NL-BE><o:p> </o:p></span></p></div></div></body></html>