Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 22nd August 2001, 17:55   #1
sixty4bit
Junior Member
 
Join Date: May 2001
Posts: 16
Send a message via AIM to sixty4bit
Wildcards not working with SetFileAttributes

I am doing SetFileAttributes $INSTDIR\*.dll HIDDEN and nothing is happening. The next line is $INSTDIR\dirName HIDDEN and it works on the dir. Do I HAVE to name each dll for this to work?
sixty4bit is offline   Reply With Quote
Old 22nd August 2001, 19:51   #2
Pomflain
Member
 
Pomflain's Avatar
 
Join Date: Aug 2001
Posts: 83
Yeah, I noticed that too. The only way I was able to get it working was using each individual filename. In the end, though, I just ended up setting the directory hidden instead of all the files since that works.
Pomflain is offline   Reply With Quote
Old 22nd August 2001, 20:56   #3
sixty4bit
Junior Member
 
Join Date: May 2001
Posts: 16
Send a message via AIM to sixty4bit
In the open source fashion, I busted open the code and took a look inside. I don't know C or C++ but I know enough to be able to read it. I also know that the FILE function's wildcards do work. So, open the code, find the FILE implementation and then the SetFileAttributes implementation and compare. I see where FILE has the check for wildcards... SetFileAttributes doesn't have anything in the way of wildcard checks.

Would someone please update either the code or the docs so that they agree with?
sixty4bit is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump