<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Rainer, <div><br></div><div>Thanks for the response. </div><div><br></div><div>I was hoping there was a switch or mode to bypass this behaviour, but it seems that it's designed that way. As you suggested, I'll expand my script to auto-generate any missing profiles. It adds a level of complexity I would have liked to avoid, but it's no big deal.</div>
<div><br></div><div>I'll put up my scripts once I'm done as I'm sure others could make use of them.</div><div><br></div><div>Thanks again, </div><div><br></div><div>Carl.</div><div><div><div><div class="h5"><br>
<div class="gmail_quote">
On 25 May 2012 18:37, Rainer Meier <span dir="ltr"><<a href="mailto:r.meier@wpkg.org" target="_blank">r.meier@wpkg.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Carl,<div><br>
<br>
On <a href="tel:25.05.2012%2016" value="+12505201216" target="_blank">25.05.2012 16</a>:16, Carl van Eijk wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I've noticed that application of all profiles fail if there is a reference to<br>
just one non existent profile.<br>
</blockquote></div>
...<div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Even though neither "wbl_uk_computers" nor "wbl00379" exist, I still want "test"<br>
to apply.<br>
<br>
How do I go about this?<br>
</blockquote>
<br></div>
In fact a host definition which refers to profiles which cannot be found is invalid and there are very good reasons for it.<br>
If WPKG cannot find a profile, then this might be due to errors in profile definition, missing profile files, failed to mount/access share or other reason. WPKG cannot know whether the profile referenced is just missing by accident or not. If WPKG would allow missing profiles and continues anyway this would lead to extremely dangerous situation that if a profile is temporary unavailable WPKG will just uninstall any package which was assigned through this profile earlier. So it might cause serious unwanted injury to your existing systems. Therefore WPKG aborts if profiles which are not found are referenced. There is no way to override it.<br>
<br>
I think the best and very cleanway would be to extend your VB script to assure that there is a profile for any of your groups. Even if the profile is empty. This way all the references would be valid and if (forany reason) profiles.xml cannot be loaded WPKG would not simply uninstall all the software from your clients.<br>
<br>
br,<br>
Rainer<br>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br>Carl van Eijk<br><br>
</font></span></div></div>
</blockquote></div><br><br>