Skip to content

Commit

Permalink
added config12.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
MikePohatu committed Nov 23, 2016
1 parent 12091b0 commit b75f509
Show file tree
Hide file tree
Showing 3 changed files with 472 additions and 46 deletions.
240 changes: 240 additions & 0 deletions TestConfigs/Config.12.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,240 @@
<TsGui>
<!-- The showgridlines option is used for assisting with layout design
<ShowGridLines />
-->
<Height>300</Height>
<Width>600</Width>

<HardwareEval />

<Heading>
<Title>Title Text</Title>
<Text>Text</Text>
<Bg-Color>#FF006AD4</Bg-Color>
<Font-Color>#FFFFFF</Font-Color>
</Heading>

<Buttons>
<Next>-Next-</Next>
<Back>-Back-</Back>
<Cancel>-Cancel-</Cancel>
<Finish>-Finish-</Finish>
</Buttons>

<Footer>
<Text>Powered by TsGui - www.20road.com</Text>
<Height>17</Height>
<HAlign>right</HAlign>
</Footer>

<!-- ***** Simple config example **** -->
<Page>
<Column>
<LabelWidth>110</LabelWidth>
<ControlWidth>160</ControlWidth>

<!-- GuiOptions -->
<GuiOption Type="ComputerName" />

<GuiOption Type="FreeText">
<Variable>Engineer</Variable>
<Label>Engineer name:</Label>
<DefaultValue>
<Value>Jane Doe</Value>
</DefaultValue>
<HelpText>Enter the user to be using this device</HelpText>
</GuiOption>

<GuiOption Type="DropDownList">
<Variable>IT_Team</Variable>
<Label>Team:</Label>
<DefaultValue>Desktop</DefaultValue>
<Option>
<Text>Desktop</Text>
<Value>Desktop</Value>
</Option>
<Option>
<Text>Infrastructure</Text>
<Value>Inf</Value>
</Option>
<Option>
<Text>Service Desk</Text>
<Value>SD</Value>
</Option>
</GuiOption>

</Column>
</Page>



<!-- **** Advanced config options **** -->
<Page PurgeInactive="TRUE">
<Heading>
<Title>Title text override</Title>
<Text>Text override</Text>
</Heading>

<Column>
<Width>360</Width>
<LabelWidth>180</LabelWidth>
<ControlWidth>170</ControlWidth>

<!-- GuiOptions -->

<!-- Advanced freetext with queries. This one is the equivalent of the ComputerName GuiOption type-->
<GuiOption Type="FreeText" MaxLength="15" MinLength="1">
<Disallowed>
<Characters>`~!@#$%^*()+={}[]\\/|,.? :;\"'>&amp;&lt;</Characters>
</Disallowed>
<Variable>OSDComputerName_FullQuery</Variable>
<Label>Computer Name:</Label>
<HelpText>Enter a computer name for the device</HelpText>

<!-- Query for the default value. Return the first valid value. Note
the Ignore values for evaluating the value returned by the query -->
<DefaultValue>
<Query Type="EnvironmentVariable">
<Variable>OSDComputerName</Variable>
<Ignore>MINNT</Ignore>
<Ignore>MINWIN</Ignore>
</Query>
<Query Type="EnvironmentVariable">
<Variable>_SMSTSMachineName</Variable>
<Ignore>MINNT</Ignore>
<Ignore>MINWIN</Ignore>
</Query>
<Query Type="EnvironmentVariable">
<Variable>ComputerName</Variable>
<Ignore>MINNT</Ignore>
<Ignore>MINWIN</Ignore>
</Query>
<Query Type="Wmi">
<Wql>SELECT SMBIOSAssetTag FROM Win32_SystemEnclosure</Wql>
<Ignore>No Asset Tag</Ignore>
</Query>
<Query Type="Wmi">
<Wql>SELECT SerialNumber FROM Win32_BIOS</Wql>
</Query>
</DefaultValue>
</GuiOption>

<GuiOption Type="FreeText">
<Group>Group_Fin</Group>
<Group>Group_IT</Group>
<Variable>User</Variable>
<Label>User name:</Label>
<DefaultValue>
<Value>John Doe User</Value>
</DefaultValue>
<HelpText>Enter the user to be using this device</HelpText>
</GuiOption>

<GuiOption Type="FreeText">
<Group>Group_PMO</Group>
<Variable>User</Variable>
<Label>Project manager name:</Label>
<DefaultValue>
<Value>John Doe PM</Value>
</DefaultValue>
<HelpText>Enter the user to be using this device</HelpText>
</GuiOption>

<GuiOption Type="FreeText">
<Group>Group_HR</Group>
<Variable>User</Variable>
<Label>HR consultant name:</Label>
<DefaultValue>
<Value>John Doe HR</Value>
</DefaultValue>
<HelpText>Enter the user to be using this device</HelpText>
</GuiOption>

<GuiOption Type="DropDownList">
<Variable>Department</Variable>
<Label>Department:</Label>
<DefaultValue>Finance</DefaultValue>
<Option>
<Toggle Group="Group_Fin">
<Hide/>
</Toggle>
<Text>Finance</Text>
<Value>Finance</Value>
</Option>
<Option>
<Toggle Group="Group_IT">
<Hide/>
</Toggle>
<Text>Information Technology</Text>
<Value>IT</Value>
</Option>
<Option>
<Toggle Group="Group_HR">
<Hide/>
</Toggle>
<Text>Human Resources</Text>
<Value>HR</Value>
</Option>
<Option>
<Toggle Group="Group_PMO">
<Hide/>
</Toggle>
<Text>Project Office</Text>
<Value>PMO</Value>
</Option>
</GuiOption>

<GuiOption Type="CheckBox">
<Variable>TOGGLE_Apps</Variable>
<Label>Additional apps</Label>
<HAlign>left</HAlign>

<Toggle Group="Group_Apps">
<Enabled>TRUE</Enabled>
<Disabled>FALSE</Disabled>
</Toggle>
</GuiOption>
</Column>

<Column>
<Group>Group_Apps</Group>
<Width>200</Width>
<LabelWidth>120</LabelWidth>
<ControlWidth>80</ControlWidth>

<!-- GuiOptions -->
<GuiOption Type="Heading">
<Label>Applications</Label>
<Bold />
</GuiOption>

<GuiOption Type="CheckBox">
<Variable>App_MsOffice</Variable>
<Label>Microsoft Office</Label>
<HAlign>right</HAlign>
<Checked />
</GuiOption>

<GuiOption Type="CheckBox">
<Variable>App_MsAccess</Variable>
<Label>Microsoft Access</Label>
<HAlign>right</HAlign>
</GuiOption>

<GuiOption Type="CheckBox">
<Variable>App_MsVisio</Variable>
<Label>Microsoft Visio</Label>
<HAlign>right</HAlign>
</GuiOption>

<GuiOption Type="CheckBox">
<Group>Group_PMO</Group>
<Group>Group_IT</Group>
<InactiveValue>No_Project</InactiveValue>
<Variable>App_MsProject</Variable>
<Label>Microsoft Project</Label>
<HAlign>right</HAlign>
</GuiOption>
</Column>
</Page>
</TsGui>
Loading

0 comments on commit b75f509

Please sign in to comment.