As far as I know, the Archive bit is typically only used by backup
applications to determine if a file has changed since the last time it was
backed up. The OS automatically sets the archive bit when files are
modified. Backup tools clear it when the file has been backed up.

If you're trying to give any other semantics to the Archive bit, the OS will
break them.

I believe, but haven't checked, that the Archive bit will therefore be set
for any files created or modified by Windows Installer during an
installation.

-- 
Mike Dimmick

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lorne
Laliberte
Sent: 28 November 2006 22:11
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] File attributes - how to set "Archive" bit?

Hello list!

How do you set the "Arhive" attribute for a file?

<File> has ReadOnly, Hidden, and System XML attributes...but Archive is
rejected by candle.exe.

The MSI file table doesn't offer any suggestions either.

Do we need to use a custom action to do this?



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to