How to make Inno Setup ignore the hidden attribute while searching for files?
Posted
by andi
on Stack Overflow
See other posts from Stack Overflow
or by andi
Published on 2010-05-14T09:28:53Z
Indexed on
2010/05/14
9:34 UTC
Read the original article
Hit count: 295
inno-setup
|hidden
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?
© Stack Overflow or respective owner