There is no ad-hoc regex pattern matching like that in install4j.
Use a “Set a variable” action where you list files yourself and write the matching file to an installer variable. In the action that reads the file you can then use the expression
myVariable is the variable name configured in the “Set a variable” action.
CLICK HERE to find out more related problems solutions.