I use it Inno Setup Compiler.Attribs
Specifies additional attributes for the file. This can include one or more of the following: readonly, hidden, system, notcontentindexed.
If this parameter is not specified, Setup does not assign any special attributes to the file.
Example:
Attribs: hidden system
In the [Files] section, using the example above, I would like to set the "hidden" attribute for the "bin" folder located inside the "resources" directory.
and the files in it:
structure::
• resources
• bin ----> set attribute hide
° doc.txt ----> set attribute hide
For now, with the example below I managed to hide only the files located in the "bin" directory,
however, I want the "bin" directory to also be hidden by giving it the hedden attribute. Can you tell me a way?
[Files]
Source: "D:\B4J\desktopApp-2\resources\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs; Attribs: readonly hidden