1
Vote

Bug in FindFile Utility Method

description

When the Variables form attempts to find ZTIGater.wsf, it first tries to find it in the Scripts folder below the DeploymentRoot folder. This fails because mdtDistributionDir does not include a trailing backslash. Hence ZTIGather is used from the install directory templates folder.
 
// First look in the deployment share directory, if one exists
if (mdtDistributionDir.Length != 0 && File.Exists(mdtDistributionDir + @"Scripts\" + fileName))
return mdtDistributionDir + @"Scripts\" + fileName;
 
Great tool though. It's been really helpful

comments