|
Post by maddoc on Mar 6, 2019 14:54:04 GMT
Maybe a stupid question, but how can I configure a condition "Not equal" in preflight? Following example does not work:
<Action Type="Preflight" Title="Hardware" ShowBack="True" ShowOnFailureOnly="true" Condition='left("%OSD_OSVersion%",8) = "Client10" and "%OSD_ClientType%" != "CAD"'>
but this (equal instead of not equal) works fine:
<Action Type="Preflight" Title="Hardware" ShowBack="True" ShowOnFailureOnly="true" Condition='left("%OSD_OSVersion%",8) = "Client10" and "%OSD_ClientType%" = "CAD"'>
|
|
|
Post by Jason on Mar 9, 2019 22:10:45 GMT
<> is the not equals operator in VBScript. An XML editor may force you to use the XML entities though since both < and > are special characters in XML: <>
|
|