|
Post by rhiadm1982 on Nov 23, 2021 15:09:22 GMT
Okay, So I've read, and re-read through the docs provided, and I cannot see what I am doing wrong. I am just doing some testing, and trying various things, but I CANNOT for the life of me get UI++ to load. The log file does not give any indication of anything being wrong, but I still can't figure it out. I want to say there is something wrong with my XML file, but I can't see what it might be. Any advise would be greatly appreciated! Thanks Here is my xml <?xml version="1.0" encoding="utf-8"?> <UIpp Title="UI++" Icon="UI++2.ico"> <Action Type="Input" Name="ClientSetupInput" Title="Client Setup" ShowBack="True"> <InputText Prompt="Computer Name" Hint="Enter the name for this system" RegEx="[^\"/\\\[\]:;\|=,\+\*\?><]{3,15}" Variable="ZZComputerName" Question="Name for this system" Default="%_SMSTSMachineName%"/> <InputChoice Variable="ZZNetworkStatus" Question="What is the Availability of the Domain Network" Required="True" Default="Offline"> <Choice Option="Offline" Value="Offline" /> <Choice Option="Online" Value="Online" /> </InputChoice> </Action> <Action Type="TSVar" Name="OSDComputerName" >"%ZZComputerName%"</Action> <Action Type="TSVar" Name="OSDNetworkStatus">"%ZZNetworkStatus%"</Action> </UIpp> Here's a screenshot of my log
|
|
|
Post by grayson on Nov 23, 2021 22:24:16 GMT
Okay, So I've read, and re-read through the docs provided, and I cannot see what I am doing wrong. I am just doing some testing, and trying various things, but I CANNOT for the life of me get UI++ to load. The log file does not give any indication of anything being wrong, but I still can't figure it out. I want to say there is something wrong with my XML file, but I can't see what it might be. Any advise would be greatly appreciated! Thanks Here is my xml <?xml version="1.0" encoding="utf-8"?> <UIpp Title="UI++" Icon="UI++2.ico"> <Action Type="Input" Name="ClientSetupInput" Title="Client Setup" ShowBack="True"> <InputText Prompt="Computer Name" Hint="Enter the name for this system" RegEx="[^\"/\\\[\]:;\|=,\+\*\?><]{3,15}" Variable="ZZComputerName" Question="Name for this system" Default="%_SMSTSMachineName%"/> <InputChoice Variable="ZZNetworkStatus" Question="What is the Availability of the Domain Network" Required="True" Default="Offline"> <Choice Option="Offline" Value="Offline" /> <Choice Option="Online" Value="Online" /> </InputChoice> </Action> <Action Type="TSVar" Name="OSDComputerName" >"%ZZComputerName%"</Action> <Action Type="TSVar" Name="OSDNetworkStatus">"%ZZNetworkStatus%"</Action> </UIpp> Here's a screenshot of my log
Yeah, I agree that it's probably your XML. I copied it into notepad++ and noticed that you have 57 double quotes in there which is... odd. I'm no expert so I'll ask, what is the extra quote in the RegEx for? I'm thinking that it sees your RegEx="[^\"/\\\[\]:;\|=,\+\*\?><]{3,15}" as RegEx="[^\" Also might want to try adding <Actions></Actions> tags to it. Something like this. <?xml version="1.0" encoding="utf-8"?> <UIpp Title="UI++" Icon="UI++2.ico"> <Actions> <Action Type="Input" Name="ClientSetupInput" Title="Client Setup" ShowBack="True"> <InputText Prompt="Computer Name" Hint="Enter the name for this system" RegEx="[^\/\\\[\]:;\|=,\+\*\?><]{3,15}" Variable="ZZComputerName" Question="Name for this system" Default="%_SMSTSMachineName%"/> <InputChoice Variable="ZZNetworkStatus" Question="What is the Availability of the Domain Network" Required="True" Default="Offline"> <Choice Option="Offline" Value="Offline" /> <Choice Option="Online" Value="Online" /> </InputChoice> </Action> <Action Type="TSVar" Name="OSDComputerName" >"%ZZComputerName%"</Action> <Action Type="TSVar" Name="OSDNetworkStatus">"%ZZNetworkStatus%"</Action> </Actions> </UIpp>
|
|
|
Post by rhiadm1982 on Nov 24, 2021 12:21:21 GMT
SO it appears it was the missing <Actions></Actions> tags. Thanks so much. I'm not sure why the coding format showed it it as a double quote, but it's supposed to be the """ marker.
|
|