<?xml version="1.0"?>
<!-- RES WISDOM Building Blocks -->
<!-- Created by demo\administrator on 10-03-2009 22:24:47 -->
<!-- Copyright © 1998-2008 RES Software, All rights reserved, patents pending. -->
<reswisdom>
	<buildingblock>
		<projects/>
		<modules>
			<module>
				<properties>
					<guid>{B0C2440A-AC51-4537-BD40-4E715468818D}</guid>
					<name>PowerFuse Tracing</name>
					<enabled>yes</enabled>
					<description/>
					<folderpath>
						<folder>
							<name>Resguru.com</name>
						</folder>
					</folderpath>
					<deleteusedresources>yes</deleteusedresources>
				</properties>
				<tasks>
					<task hidden="yes">
						<parameters>
							<param>
								<name>TraceEnable</name>
								<value1>Yes</value1>
								<value2>No;Yes</value2>
								<value3>PowerFuse Tracing is disabled;PowerFuse Tracing is enabled</value3>
								<type>1</type>
								<description>This is the on-off switch for PowerFuse Tracing, not to be mistaken for PowerTrace inside PowerFuse.</description>
								<hint>Do you want to enable PowerFuse tracing?</hint>
								<selection/>
								<inputtiming>
									<importbb showprev="no">no</importbb>
									<schedulejob showprev="yes">yes</schedulejob>
								</inputtiming>
								<inputoptions>
									<confirm>no</confirm>
									<force>no</force>
									<required>yes</required>
								</inputoptions>
							</param>
							<param>
								<name>TraceDetailed</name>
								<value1>Yes</value1>
								<value2>No;Yes</value2>
								<value3>Only log basic stuff;Enable detailed loggging</value3>
								<type>1</type>
								<description>This parameter specifies if you want to enable detailed/verbose logging. This is ok to do in most cases as the logfile size is capped at 2 MB.</description>
								<hint>Do you want to enable detailed/verbose logging?</hint>
								<selection/>
								<inputtiming>
									<importbb showprev="no">no</importbb>
									<schedulejob showprev="yes">yes</schedulejob>
								</inputtiming>
								<inputoptions>
									<confirm>no</confirm>
									<force>no</force>
									<required>yes</required>
								</inputoptions>
							</param>
							<param>
								<name>TraceFile</name>
								<value1>C:\PFTrace.log</value1>
								<value2/>
								<value3/>
								<type>0</type>
								<description>This logfile will be placed on the filesystem of the computer where the RES PowerFuse agent is running</description>
								<hint>Please provide a path and filename for the tracelog</hint>
								<selection/>
								<inputtiming>
									<importbb showprev="no">yes</importbb>
									<schedulejob showprev="yes">yes</schedulejob>
								</inputtiming>
								<inputoptions>
									<confirm>no</confirm>
									<force>no</force>
									<required>no</required>
									<validation>no</validation>
								</inputoptions>
							</param>
						</parameters>
						<conditions>
							<condition guid="{62720F8F-2268-4EBE-AB4F-C0DFD601BFEF}">
								<expressions/>
								<operator>AND</operator>
								<actiontrue>3</actiontrue>
								<parametervaluetrue></parametervaluetrue>
								<when>0</when>
								<action>3</action>
								<parametervalue></parametervalue>
								<enabled>yes</enabled>
							</condition>
							<condition guid="{877FB28B-CAE7-48BE-8A38-3A8DDD353809}">
								<expressions/>
								<operator>AND</operator>
								<actiontrue>3</actiontrue>
								<parametervaluetrue></parametervaluetrue>
								<when>0</when>
								<action>3</action>
								<parametervalue></parametervalue>
								<enabled>yes</enabled>
							</condition>
							<condition guid="{9B987486-E1BF-47EA-85AD-89E900F4048D}">
								<expressions/>
								<operator>AND</operator>
								<actiontrue>3</actiontrue>
								<parametervaluetrue></parametervaluetrue>
								<when>0</when>
								<action>3</action>
								<parametervalue></parametervalue>
								<enabled>yes</enabled>
							</condition>
						</conditions>
					</task>
					<task>
						<properties>
							<type>REGISTRY</type>
							<guid>{62720F8F-2268-4EBE-AB4F-C0DFD601BFEF}</guid>
							<description>Apply Registry Settings</description>
							<enabled>yes</enabled>
							<comments>Configure registry settings for PowerFuse Tracing</comments>
							<onerror>fail</onerror>
						</properties>
						<settings>
							<regfile>5245535A4C494238020000789C9551D16AC230147D17FC874BD9A3AB32D8CB66C76A4D714C6D69BA895829B18D35509391D4897FBFDBB2EA7CDA461E72EF39E79E136E1642E6EA6820E28530953E01C945A534BC736D8492706F0F06DD4E7D569357B24CBDA94B29A169140471B2EE769E1DCBBAB0D3C073A7E9CCF5262F73F21B4D033F5EB811F9A32C8908FD873409D5916BFF60F879C88A35CBB8E55837ABA622926D4ABE46E67118FA4F4B6E9CF31054A810B200DE88721BE6CA190BD334C33ECA5BBF31AF9840F0E2DB2257CE2DD8C7CD6E140694AA2830A0571BCF95DEB3B23F6246640D513357293ECE5E12EAEEEC1EB26A074CE6B04554B23DEF8139640819C81E928FED2D1AD6948DB70DF14E98460947519620F927D7B0C1E7305D6055ED9884BBD9E83BBCDDF31B2511FDF9A15FF079A9F7</regfile>
						</settings>
					</task>
					<task>
						<properties>
							<type>SERVICE</type>
							<guid>{877FB28B-CAE7-48BE-8A38-3A8DDD353809}</guid>
							<description>Restart service "RES"</description>
							<enabled>yes</enabled>
							<comments>Restart the RES PowerFuse service to apply changes</comments>
							<onerror>fail</onerror>
						</properties>
						<settings>
							<action>STATE</action>
							<servicename>RES</servicename>
							<state>RESTART</state>
						</settings>
					</task>
					<task>
						<properties>
							<type>QFILEVERSION</type>
							<guid>{9B987486-E1BF-47EA-85AD-89E900F4048D}</guid>
							<description>Query file contents for "$[TraceFile]"</description>
							<enabled>yes</enabled>
							<comments>Grab a copy of the logfile as it is now.</comments>
							<onerror>resume</onerror>
						</properties>
						<settings>
							<mode>contents</mode>
							<file>$[TraceFile]</file>
							<username/>
							<password encrypted="yes"/>
						</settings>
					</task>
				</tasks>
			</module>
		</modules>
		<resources/>
		<runbooks/>
	</buildingblock>
</reswisdom>
