Locate Problem
I use this
Page
>${While} $x < 5
IntOp $x $x+ 1
${ConfigRead} "filelist.ini" "ProgramFiles $x = " $FILENAME
${Locate} "$DIR" "/L=F /M=$FILENAME" "Location"
call Location
CopyFiles "$FILENAME" "$FILEDIR"
${Endwhile}
>Functionend
>Function Location
StrCpy $FILEDIR $R9
Functionend
>
I have a problem with the locate-macro. When I search for the path of a file, the locatemacro sends the variable $R9 to an other Function. I try the get it back with "call Location"; but then I am out of my while function.
When I start the Installer it crashes.
Help please