file /a does not preserve folder attributes
example:
file /a /r /x .svn ..\test_portable_core\*.*
there are two subfolders inside the "test_portable_core" folder.
both folders are set to +r and each contains a "desktop.ini" file describing the icon to use for the folder.
because of this, i see a custom icon for these two folders.
when my nsis built exe extracts all of the files and folders (to a new location), the extracted folders are not set to +r. the end result is that the extracted folders do not display the custom icon.
i will try setfileattributes as a workaround for now.
-sgt
Logged In: YES
user_id=584402
Originator: NO
Thanks, fixed. When GetFileAttributes was called on the compiler side, the wrong directory name was passed. Only the directory name was passed and not the entire path leading to it. This caused GetFileAttributes to fail.