Archive: Invisible folders


Invisible folders
I have no experience in programming NSIS but inherited an old NSIS installer that works perfectly well -- except that I now need some folder to be invisible after installation. I can easily hide the folders before installation (either by setting the folder property to "hidden" or by using the application "Hide Folders" to hide them) but no matter what I do, the folders reappear after installation.

Is there any scripting in NSIS that allow me to hide the folders during the installation process?


You can set the Hidden attribute by using SetFileAttributes (NSIS manual chapter 4.9.3.12)


Thank for the advise. Now things look brighter :-)

As I have no experience in programming NSIS, could you outline the syntax assuming that I have to hide the folder xxx lying at the root of the project?


Sure, but since this is basic stuff, you will learn NSIS quicker if you find it out yourself.
It's all in the manual.

Anyway, try

SetFileAttributes "$INSTDIR\xxx" HIDDEN

Thanks. Got it working!