﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>New Boundary Support Forum / Prism Deploy &amp; Prism Pack / Tips and Tricks  / Console Error Messages / Latest Posts</title><generator>InstantForum.NET v4.1.3</generator><description>New Boundary Support Forum</description><link>http://www.nbtnet.newboundary.com/forum/</link><webMaster>support@newboundary.com</webMaster><lastBuildDate>Thu, 17 May 2012 07:31:06 GMT</lastBuildDate><ttl>20</ttl><item><title>RE:Console Error Messages</title><link>http://www.nbtnet.newboundary.com/forum/Topic248-8-1.aspx</link><description>Using scripts, you cannot manually manipulate what is displayed in the Deployment Logs. You can use secondary Packages to write error messages from inside of a script using methods similar to those discussed in the following Tech Note: &lt;P&gt;&lt;A href="http://www.newboundary.com/support/docs/Tips_and_Tricks/centralerrorlog.htm" target=_blank&gt;http://www.newboundary.com/support/docs/Tips_and_Tricks/centralerrorlog.htm&lt;/A&gt; &lt;P&gt;An example script could be: &lt;P&gt;if exists c:\test.txt&lt;BR&gt;/InstallPackage \\server\share\package.pwc&lt;BR&gt;else&lt;BR&gt;/set error "test.txt does not exist"&lt;BR&gt;/IP \\server\share\error.pwc&lt;BR&gt;endif &lt;P&gt;error.pwc would then add an entry to a central INI file that resolves both a %computername% and the %error% variables. Then you could check the INI file and it will tell you which computers didn't have the test.txt file.&lt;/P&gt;</description><pubDate>Mon, 12 Jan 2004 16:06:00 GMT</pubDate><dc:creator>New Boundary Support</dc:creator></item><item><title>Console Error Messages</title><link>http://www.nbtnet.newboundary.com/forum/Topic248-8-1.aspx</link><description>Is that possible in a script (prism script) to force an error number in prism deploy console (for exemple 1600 if a file is missing). &lt;P&gt;Exemple : &lt;P&gt;if not exists c:\test.txt&lt;BR&gt;=&amp;gt; ?? to have an alert in the console&lt;BR&gt;else&lt;BR&gt;=&amp;gt; apply a package&lt;BR&gt;endif &lt;P&gt;if I do nothing, the console message is "installed", even if the file is missing. I would like to know, in the console, the result of my test in the script.&lt;/P&gt;</description><pubDate>Mon, 12 Jan 2004 16:06:00 GMT</pubDate><dc:creator>Guest</dc:creator></item></channel></rss>
