Skip to content
⌘ NSIS Forum Archive

Set Folder and Files in folder to compress attrib

3 posts

Biarchiv#

Set Folder and Files in folder to compress attrib

Hello,

is there a way to set a folder (and all files with folders)
to compress attrib? I find in the help only other attribs.

What is when the installer set compress in Win9X?
{_trueparuex^}#
FILE_ATTRIBUTE_COMPRESSED attribute cannot be set with SetFileAttributes() instead msnd suggest using DeviceIoControl() api with FSCTL_SET_COMPRESSION operation.

Sets the compression state of a file or directory on a volume whose file system supports per-file and per-directory compression.


PaR