Post by shackattack on Dec 11, 2018 13:38:56 GMT
I setup UI++ in the boot image itself. I have it set OSDComputerName and and SMSTSPreferredAdvertID. I see that it sets them as TSVar's via Ctrl+F2 and the applications I select... However when I select next and go past the pre-flight check It opens up Task Sequence Wizard. Asks me which Task Sequence I'd like to run and for an OSDComputerName. Am I missing something? Here is an example of my XML.
<UIpp Title="COMPANY" Icon="LOGO.ico">
<Software>
<Application Id="9a5082b7-1735-4cbc-947c-d8139f7323d3" Label="Office365CurrentBranch" Name="Office365CurrentBranch"/>
<Application Id="93a2e764-20b6-4453-9150-a8f608ea1818" Label="faar" Name="faar" />
<Application Id="f7fb1cba-4c89-4588-9b91-627f1302d3fb" Label="COMPANY VPN" Name="Company VPN" />
<Application Id="e1faba2f-6ae1-493c-98dd-3987f5d9a529" Label="Adobe Acrobat Reader 2015 DC" Name="Adobe Acrobat Reader 2015 DC" />
</Software>
<Actions>
<Action Type="DefaultValues" ValueTypes="All" ShowProgress="True">
<Text Type="OS" Value="Retrieving Operating System information" />
<Text Type="TPM" Value="Retrieving TPM information" />
<Text Type="Net" Value="Retrieving Networking information" />
<Text Type="VM" Value="Retrieving Virtualization information" />
<Text Type="Asset" Value="Retrieving Asset information" />
<Text Type="Domain" Value="Retrieving Domain information" />
</Action>
<Action Type="DefaultValues" />
<Action Type="WMIRead" Variable="ComputerName" Namespace="root\cimv2" Class="Win32_ComputerSystem" Property="Name"/>
<Action Type="Input" Name="SystemNameInput" Title="Information" ShowBack="True">
<TextInput Prompt="System Name" Hint="Please enter the desired name for this system." RegEx=".{3,15}" Variable="SystemName" Question="Name of this system" />
</Action>
<Action Type="TSVar" Name="OSDComputerName">%SystemName%</Action>
<Action Type="TSVar" Name="SMSTSPreferredAdvertID">COMPANY0013A</Action>
<Action Type="Info" Name="WelcomeInfo" Title=" Welcome" ShowBack="True" Timeout="60" TimeoutAction="Continue" >
<![CDATA[The Computer name will be %OSDComputerName%, if this is wrong please select the back button in teh next 60 seconds]]>
</Action>
<Action Type="AppTree" Title="Please choose your software">
<SoftwareSets>
<Set Name="Default">
<SoftwareGroup Id="Default Applicaitons" Label="Default Applications" Required="True">
<SoftwareRef Id="9a5082b7-1735-4cbc-947c-d8139f7323d3" />
<SoftwareRef Id="f7fb1cba-4c89-4588-9b91-627f1302d3fb" />
<SoftwareRef Id="e1faba2f-6ae1-493c-98dd-3987f5d9a529" />
</SoftwareGroup>
<SoftwareGroup Id="Extra Applications" Label="Extra Applicaitons">
<SoftwareRef Id="93a2e764-20b6-4453-9150-a8f608ea1818" />
</SoftwareGroup>
</Set>
</SoftwareSets>
</Action>
<Action Type="Preflight" Title="Preflight checks">
<Check Text="WLAN Disconnected" CheckCondition='"%XWLANDisconnected%" = "True"' />
<Check Text="Not on battery" CheckCondition='"%XOnBattery%" = "False"' />
<Check Text="Minimum memory > 1GB" CheckCondition='%XHWMemory% >= 1024' />
<Check Text="CPU Supports Windows 10" CheckCondition='%XCPUPAE% AND %XCPUNX% AND %XCPUSSE2% = True' />
</Action>
</Actions>
</UIpp>
insert code here
<?xml version="1.0" encoding="utf-8"?><UIpp Title="COMPANY" Icon="LOGO.ico">
<Software>
<Application Id="9a5082b7-1735-4cbc-947c-d8139f7323d3" Label="Office365CurrentBranch" Name="Office365CurrentBranch"/>
<Application Id="93a2e764-20b6-4453-9150-a8f608ea1818" Label="faar" Name="faar" />
<Application Id="f7fb1cba-4c89-4588-9b91-627f1302d3fb" Label="COMPANY VPN" Name="Company VPN" />
<Application Id="e1faba2f-6ae1-493c-98dd-3987f5d9a529" Label="Adobe Acrobat Reader 2015 DC" Name="Adobe Acrobat Reader 2015 DC" />
</Software>
<Actions>
<Action Type="DefaultValues" ValueTypes="All" ShowProgress="True">
<Text Type="OS" Value="Retrieving Operating System information" />
<Text Type="TPM" Value="Retrieving TPM information" />
<Text Type="Net" Value="Retrieving Networking information" />
<Text Type="VM" Value="Retrieving Virtualization information" />
<Text Type="Asset" Value="Retrieving Asset information" />
<Text Type="Domain" Value="Retrieving Domain information" />
</Action>
<Action Type="DefaultValues" />
<Action Type="WMIRead" Variable="ComputerName" Namespace="root\cimv2" Class="Win32_ComputerSystem" Property="Name"/>
<Action Type="Input" Name="SystemNameInput" Title="Information" ShowBack="True">
<TextInput Prompt="System Name" Hint="Please enter the desired name for this system." RegEx=".{3,15}" Variable="SystemName" Question="Name of this system" />
</Action>
<Action Type="TSVar" Name="OSDComputerName">%SystemName%</Action>
<Action Type="TSVar" Name="SMSTSPreferredAdvertID">COMPANY0013A</Action>
<Action Type="Info" Name="WelcomeInfo" Title=" Welcome" ShowBack="True" Timeout="60" TimeoutAction="Continue" >
<![CDATA[The Computer name will be %OSDComputerName%, if this is wrong please select the back button in teh next 60 seconds]]>
</Action>
<Action Type="AppTree" Title="Please choose your software">
<SoftwareSets>
<Set Name="Default">
<SoftwareGroup Id="Default Applicaitons" Label="Default Applications" Required="True">
<SoftwareRef Id="9a5082b7-1735-4cbc-947c-d8139f7323d3" />
<SoftwareRef Id="f7fb1cba-4c89-4588-9b91-627f1302d3fb" />
<SoftwareRef Id="e1faba2f-6ae1-493c-98dd-3987f5d9a529" />
</SoftwareGroup>
<SoftwareGroup Id="Extra Applications" Label="Extra Applicaitons">
<SoftwareRef Id="93a2e764-20b6-4453-9150-a8f608ea1818" />
</SoftwareGroup>
</Set>
</SoftwareSets>
</Action>
<Action Type="Preflight" Title="Preflight checks">
<Check Text="WLAN Disconnected" CheckCondition='"%XWLANDisconnected%" = "True"' />
<Check Text="Not on battery" CheckCondition='"%XOnBattery%" = "False"' />
<Check Text="Minimum memory > 1GB" CheckCondition='%XHWMemory% >= 1024' />
<Check Text="CPU Supports Windows 10" CheckCondition='%XCPUPAE% AND %XCPUNX% AND %XCPUSSE2% = True' />
</Action>
</Actions>
</UIpp>