-
Notifications
You must be signed in to change notification settings - Fork 14
/
InstallAgent status - Tim Wiser.amp
109 lines (109 loc) · 12.1 KB
/
InstallAgent status - Tim Wiser.amp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Policy ID="{b01545bc-887e-4cae-a0e7-52944d0fbb1a}" Name="InstallAgent status" Description="UmVhZHMgdGhlIHN0YXR1cyBvZiB0aGUgSW5zdGFsbEFnZW50IHNjcmlwdC4=" Version="1.7.1.18" RemoteCategory="0" ExecutionType="Local" PS3ObjectCount="0" VariableSuffix="17">
<Object ID="{bedbf042-3a88-4ee3-a64f-9d2ba2935211}" Type="{B6FA6D8B-EEAA-47A6-8463-7F9A4F5BBB6E}" Data="<xml><OutputParameters><Parameter ParameterName="LastRun" Label="Date/time of last execution" ParameterType="string" Value="GetLastRun.Value" /><Parameter ParameterName="Path" Label="Path to installer files" ParameterType="string" Value="GetPath.Value" /><Parameter ParameterName="Version" Label="Script version" ParameterType="string" Value="GetVersion.Value" /><Parameter ParameterName="LastSuccessfulRun" Label="Last successful completion" ParameterType="string" Value="GetLastSuccessfulRun.Value" /><Parameter ParameterName="LastOperation" Label="Last result code" ParameterType="number" Value="ConvertLastOperationtoNumber.Output" /><Parameter ParameterName="LastMode" Label="Last execution mode" ParameterType="string" Value="GetMode.Value" /></OutputParameters></xml>" />
<LinkManager xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PolicyExecutor">
<hashset xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:TupleOfstringstringstringstring>
<d2p1:m_Item1>fe75fc1d-9a0d-4e78-9668-8f83ff3039f0.Output</d2p1:m_Item1>
<d2p1:m_Item2>OutputObject</d2p1:m_Item2>
<d2p1:m_Item3></d2p1:m_Item3>
<d2p1:m_Item4>LastOperation</d2p1:m_Item4>
</d2p1:TupleOfstringstringstringstring>
<d2p1:TupleOfstringstringstringstring>
<d2p1:m_Item1>5d4bba88-64fd-4917-9539-a3fd78caa20f.Value</d2p1:m_Item1>
<d2p1:m_Item2>OutputObject</d2p1:m_Item2>
<d2p1:m_Item3></d2p1:m_Item3>
<d2p1:m_Item4>Version</d2p1:m_Item4>
</d2p1:TupleOfstringstringstringstring>
<d2p1:TupleOfstringstringstringstring>
<d2p1:m_Item1>7b9aa2e0-d5c6-479d-b4a3-40e2ef715bc6.Value</d2p1:m_Item1>
<d2p1:m_Item2>OutputObject</d2p1:m_Item2>
<d2p1:m_Item3></d2p1:m_Item3>
<d2p1:m_Item4>Path</d2p1:m_Item4>
</d2p1:TupleOfstringstringstringstring>
<d2p1:TupleOfstringstringstringstring>
<d2p1:m_Item1>d3bce119-1c17-4445-90b6-e8c0af1744df.Value</d2p1:m_Item1>
<d2p1:m_Item2>OutputObject</d2p1:m_Item2>
<d2p1:m_Item3></d2p1:m_Item3>
<d2p1:m_Item4>LastSuccessfulRun</d2p1:m_Item4>
</d2p1:TupleOfstringstringstringstring>
<d2p1:TupleOfstringstringstringstring>
<d2p1:m_Item1>b9a46bab-4371-404b-94f9-289f3a5ed55f.Value</d2p1:m_Item1>
<d2p1:m_Item2>OutputObject</d2p1:m_Item2>
<d2p1:m_Item3></d2p1:m_Item3>
<d2p1:m_Item4>LastMode</d2p1:m_Item4>
</d2p1:TupleOfstringstringstringstring>
<d2p1:TupleOfstringstringstringstring>
<d2p1:m_Item1>26568983-1fbe-42e5-b179-d11f3ce65ad8.Value</d2p1:m_Item1>
<d2p1:m_Item2>OutputObject</d2p1:m_Item2>
<d2p1:m_Item3></d2p1:m_Item3>
<d2p1:m_Item4>LastRun</d2p1:m_Item4>
</d2p1:TupleOfstringstringstringstring>
<d2p1:TupleOfstringstringstringstring>
<d2p1:m_Item1>6b8bf3db-1faa-4cb6-b628-e1441f3a61b1</d2p1:m_Item1>
<d2p1:m_Item2>fe75fc1d-9a0d-4e78-9668-8f83ff3039f0</d2p1:m_Item2>
<d2p1:m_Item3>PolicyExecutor.RunScript, PolicyExecutionEngine, Version=1.7.1.18, Culture=neutral, PublicKeyToken=null</d2p1:m_Item3>
<d2p1:m_Item4>Input</d2p1:m_Item4>
</d2p1:TupleOfstringstringstringstring>
</hashset>
</LinkManager>
<Activity mc:Ignorable="sads sap" x:Class="Policy Builder" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mva="clr-namespace:Microsoft.VisualBasic.Activities;assembly=System.Activities" xmlns:p="clr-namespace:PolicyExecutor;assembly=PolicyExecutionEngine" xmlns:sads="http://schemas.microsoft.com/netfx/2010/xaml/activities/debugger" xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation" xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<x:Members>
<x:Property Name="PolicyGUID" Type="InArgument(x:String)" />
</x:Members>
<sap:VirtualizedContainerService.HintSize>494,1431</sap:VirtualizedContainerService.HintSize>
<mva:VisualBasic.Settings>Assembly references and imported namespaces serialized as XML namespaces</mva:VisualBasic.Settings>
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="ShouldExpandAll">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<p:PolicySequence DisplayName="Policy" sap:VirtualizedContainerService.HintSize="454,1391" mva:VisualBasic.Settings="Assembly references and imported namespaces serialized as XML namespaces">
<p:PolicySequence.Activities>
<p:GetRegistryValue Key_Item="{x:Null}" Key_ItemProp="{x:Null}" Property_Item="{x:Null}" Property_ItemProp="{x:Null}" AssemblyName="PolicyExecutionEngine, Version=1.7.1.18, Culture=neutral, PublicKeyToken=null" BaseKey="HKLM" DisplayName="Get LastRun" sap:VirtualizedContainerService.HintSize="434,115" Key="software\tim wiser\installagent" Key_DisplayArg="software\tim wiser\installagent" Moniker="26568983-1fbe-42e5-b179-d11f3ce65ad8" Property="LastRun" Property_DisplayArg="LastRun" Result="[GetRegistryValue_Result_1]" ScriptDirectory="Unused" TypeName="GetRegistryValue" Value="[GetRegistryValue_Value_0]" m_bTextLinkChange="False" />
<p:GetRegistryValue Key_Item="{x:Null}" Key_ItemProp="{x:Null}" Property_Item="{x:Null}" Property_ItemProp="{x:Null}" AssemblyName="PolicyExecutionEngine, Version=1.7.1.18, Culture=neutral, PublicKeyToken=null" BaseKey="HKLM" DisplayName="Get LastSuccessfulRun" sap:VirtualizedContainerService.HintSize="434,115" Key="software\tim wiser\installagent" Key_DisplayArg="software\tim wiser\installagent" Moniker="d3bce119-1c17-4445-90b6-e8c0af1744df" Property="LastSuccessfulRun" Property_DisplayArg="LastSuccessfulRun" Result="[GetRegistryValue_Result_3]" ScriptDirectory="Unused" TypeName="GetRegistryValue" Value="[GetRegistryValue_Value_2]" m_bTextLinkChange="False" />
<p:GetRegistryValue Key_Item="{x:Null}" Key_ItemProp="{x:Null}" Property_Item="{x:Null}" Property_ItemProp="{x:Null}" AssemblyName="PolicyExecutionEngine, Version=1.7.1.18, Culture=neutral, PublicKeyToken=null" BaseKey="HKLM" DisplayName="Get LastOperation" sap:VirtualizedContainerService.HintSize="434,115" Key="software\tim wiser\installagent" Key_DisplayArg="software\tim wiser\installagent" Moniker="6b8bf3db-1faa-4cb6-b628-e1441f3a61b1" Property="LastOperation" Property_DisplayArg="LastOperation" Result="[GetRegistryValue_Result_9]" ScriptDirectory="Unused" TypeName="GetRegistryValue" Value="[GetRegistryValue_Value_8]" m_bTextLinkChange="False" />
<p:GetRegistryValue Key_Item="{x:Null}" Key_ItemProp="{x:Null}" Property_Item="{x:Null}" Property_ItemProp="{x:Null}" AssemblyName="PolicyExecutionEngine, Version=1.7.1.18, Culture=neutral, PublicKeyToken=null" BaseKey="HKLM" DisplayName="Get Path" sap:VirtualizedContainerService.HintSize="434,115" Key="software\tim wiser\installagent" Key_DisplayArg="software\tim wiser\installagent" Moniker="7b9aa2e0-d5c6-479d-b4a3-40e2ef715bc6" Property="Path" Property_DisplayArg="Path" Result="[GetRegistryValue_Result_7]" ScriptDirectory="Unused" TypeName="GetRegistryValue" Value="[GetRegistryValue_Value_6]" m_bTextLinkChange="False" />
<p:GetRegistryValue Key_Item="{x:Null}" Key_ItemProp="{x:Null}" Property_Item="{x:Null}" Property_ItemProp="{x:Null}" AssemblyName="PolicyExecutionEngine, Version=1.7.1.18, Culture=neutral, PublicKeyToken=null" BaseKey="HKLM" DisplayName="Get Version" sap:VirtualizedContainerService.HintSize="434,115" Key="software\tim wiser\installagent" Key_DisplayArg="software\tim wiser\installagent" Moniker="5d4bba88-64fd-4917-9539-a3fd78caa20f" Property="Version" Property_DisplayArg="Version" Result="[GetRegistryValue_Result_5]" ScriptDirectory="Unused" TypeName="GetRegistryValue" Value="[GetRegistryValue_Value_4]" m_bTextLinkChange="False" />
<p:GetRegistryValue Key_Item="{x:Null}" Key_ItemProp="{x:Null}" Property_Item="{x:Null}" Property_ItemProp="{x:Null}" AssemblyName="PolicyExecutionEngine, Version=1.7.1.18, Culture=neutral, PublicKeyToken=null" BaseKey="HKLM" DisplayName="Get Mode" sap:VirtualizedContainerService.HintSize="434,115" Key="software\tim wiser\installagent" Key_DisplayArg="software\tim wiser\installagent" Moniker="b9a46bab-4371-404b-94f9-289f3a5ed55f" Property="LastMode" Property_DisplayArg="LastMode" Result="[GetRegistryValue_Result_11]" ScriptDirectory="Unused" TypeName="GetRegistryValue" Value="[GetRegistryValue_Value_10]" m_bTextLinkChange="False" />
<p:RunScript AssemblyName="PolicyExecutionEngine, Version=1.7.1.18, Culture=neutral, PublicKeyToken=null" DisplayName="Convert LastOperation to Number" sap:VirtualizedContainerService.HintSize="434,269" Moniker="fe75fc1d-9a0d-4e78-9668-8f83ff3039f0" OutPut_64="[RunScript_OutPut_64_12]" Result="[RunScript_Result_15]" ResultString="[RunScript_ResultString_13]" Results_x64="[RunScript_Results_x64_14]" RunAsCLU="False" ScriptDirectory="Unused" TypeName="RunScript" genArgEvent="0d425d6d-e334-444c-ba93-4f85e0232a25" m_bTextLinkChange="False" script="JCVpZCVPdXRwdXQlaWQlID0gJCVpZCVJbnB1dCVpZCUNCg==">
<p:RunScript.InArgs>
<p:InArg ItemProp="{x:Null}" x:Key="Input" ArgType="string" DisplayArg="GetLastOperation.Value" DisplayName="Input" Name="Input" isRequired="True" isRequiredDisplay="Yes">
<p:InArg.Arg>
<InArgument x:TypeArguments="x:String">[GetRegistryValue_Value_8]</InArgument>
</p:InArg.Arg>
<p:InArg.Item>
<InArgument x:TypeArguments="x:Object" />
</p:InArg.Item>
</p:InArg>
</p:RunScript.InArgs>
<p:RunScript.OutArgs>
<p:OutArg x:Key="Output" ArgType="number" DisplayName="Output" Name="Output">
<p:OutArg.Arg>
<OutArgument x:TypeArguments="x:Double">[RunScript_Output_16]</OutArgument>
</p:OutArg.Arg>
</p:OutArg>
</p:RunScript.OutArgs>
</p:RunScript>
</p:PolicySequence.Activities>
<p:PolicySequence.Variables>
<Variable x:TypeArguments="x:String" Name="GetRegistryValue_Value_0" />
<Variable x:TypeArguments="x:Double" Name="GetRegistryValue_Result_1" />
<Variable x:TypeArguments="x:String" Name="GetRegistryValue_Value_2" />
<Variable x:TypeArguments="x:Double" Name="GetRegistryValue_Result_3" />
<Variable x:TypeArguments="x:String" Name="GetRegistryValue_Value_4" />
<Variable x:TypeArguments="x:Double" Name="GetRegistryValue_Result_5" />
<Variable x:TypeArguments="x:String" Name="GetRegistryValue_Value_6" />
<Variable x:TypeArguments="x:Double" Name="GetRegistryValue_Result_7" />
<Variable x:TypeArguments="x:String" Name="GetRegistryValue_Value_8" />
<Variable x:TypeArguments="x:Double" Name="GetRegistryValue_Result_9" />
<Variable x:TypeArguments="x:String" Name="GetRegistryValue_Value_10" />
<Variable x:TypeArguments="x:Double" Name="GetRegistryValue_Result_11" />
<Variable x:TypeArguments="x:String" Name="RunScript_OutPut_64_12" />
<Variable x:TypeArguments="x:String" Name="RunScript_ResultString_13" />
<Variable x:TypeArguments="scg:IEnumerable(x:Object)" Name="RunScript_Results_x64_14" />
<Variable x:TypeArguments="x:Double" Name="RunScript_Result_15" />
<Variable x:TypeArguments="x:Double" Name="RunScript_Output_16" />
</p:PolicySequence.Variables>
</p:PolicySequence>
</Activity>
</Policy>