I'm trying to get all the files in a directory recursively while using wildcard within the name of the directory in Inno Setup script.
I have came across examples for filename but none for a directory search.
Use Case: Basically, we have moved to using NuGet packages for our internal development projects. So each project makes a NuGet package which can be consumed by other project and/or developer.
Part of this we wish to use the Inno Setup to use the dlls and/or files from a NuGet package.
For example, we need to find the package folder matching "../packages/PackagesA.../"
, e.g. "PackageA v1.2.0"
.
Came across this How to bundle run-time-only dependencies from NuGet packages in Inno Setup installer?, which is almost exactly I want but it seems the code doesn't work in my Inno Script.
Any help or suggestion as how to approach this?