Make folder hidden after installing Inno Setup

My application has a folder with files, all of them are marked as "hidden" (including the folder itself). However, Inno Setup will not copy them for installation unless I first remove the hidden attribute.

Fairly honest, but is there any way to make Inno Setup the marked installed folder β€œhidden” after the installation is completed on my destination machine?

Thanks.

+4
source share
1 answer

See the Attribs parameter for entries in the [Dirs] section.

 [Dirs] Name: "{app}\blah"; Attribs: hidden; 

Please note that this will not stop people from seeing this, just make sure you have something to hide.

+10
source

Source: https://habr.com/ru/post/1380184/


All Articles