At the end of the postInstallActionList I'm executing somefile.cmd . This script generates a text file which contains a list of files which copied to rollback directory. Then I read this file using readFile and put the output in some variable (list variable). When I using showInfo to check the list variable everything looks fine. Then , I'm trying to go over list variable by using the foreach tag in order to extract the real location of these files and to check each one of them if fileIsLocked. Unfortunately the results form foreach are weird. It seems that foreach omitting the and some more characters.
As much as I know fileIsLocked can deal with one file at time and my purpose is to go over all files which copied to the rollback directory.
Is there any option that foreach will not omit these characters ? Is there any method/technique to list all files under rollback directory in order to go over them for specific operarion ?
Please sign in to leave a comment.