Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Folder attribute


4 replies to this topic

Rainer_PT

Rainer_PT
  • Members
  • 4 posts

Posted 15 November 2002 - 12:58

Hello,

What is the way to change a folders attribute to "system" within the installation.
I create this folder during the installation.

Thanxx in advance,

Rainer

Philip

Philip
  • Members
  • 23 posts

Posted 15 November 2002 - 19:01

IS KB Q105891

Rainer_PT

Rainer_PT
  • Members
  • 4 posts

Posted 18 November 2002 - 07:43

Thanks for the hint, but as far as
i understand, this article desribes how to set the
permissions of a folder ( read/write), not the attributes
( system, hidden etc.)

Philip

Philip
  • Members
  • 23 posts

Posted 18 November 2002 - 21:59

windows help attrib command
attrib +s [[drive:][path] filename] /d

Rainer_PT

Rainer_PT
  • Members
  • 4 posts

Posted 19 November 2002 - 11:35

Did it finally with a custom action call to the Windows API function SetFileAttributes ( Kernel32.dll).
This worked fine ...