For some reason RepVal line doesn't execute. When I echo OLDCompName I get value.
OLDCompName I get from Custom Screen in Deployment Wizard where technician enters.
Here's CS.ini:
[Settings]
Priority=Validate_Replace, Pass_val, Default
[Validate_Replace]
RepVal=#(New ZTIGather).ConvertBooleanToString(%OLDCompName% <> "")#
[Pass_val]
SubSection=RepValue-%RepVal%
[RepValue-True]
UserDataLocation=NETWORK
UDShare=\\MDTSVR\DeploymenShare$\Share
UDDIR=%OLDCompName%
[RepValue-False]
[Default]
OSInstall=Y
SkipAppsOnUpgrade=YES
SkipCapture=YES
SkipAdminPassword=YES
SkipFinalSummary=YES
SkipUserData=YES
Please help.
Thanks