How to make Inno Setup ignore the hidden attribute while searching for files?
- by andi
I have to copy into the installer folders containing hidden files (in my case Desktop.ini).
I use a line similar to this one in the [Files] section:
Source: "folder\*desktop.ini"; DestDir: "{app}\folder"; Flags: recursesubdirs uninsneveruninstall; Attribs: hidden
This line only works if I remove the hidden attributes. If all are hidden, it complains that it could not find any files.
How can I configure Inno to search for hidden files using patterns?